run.sh and .gitignore added

main
Rob Canning 2024-01-16 11:29:30 +01:00
parent 4017a3e483
commit 3853e1544b
6 changed files with 50 additions and 11 deletions

11
.gitignore vendored 100644
View File

@ -0,0 +1,11 @@
*.flac
*.wav
*.mp3
*.ogg
*.gif
*.png
*.jpg
*.jpeg
*~
*#*

Binary file not shown.

View File

@ -0,0 +1,20 @@
#!/usr/bin/python3
import datetime
from datetime import date, timedelta
month = 3; #start in march
def allsundays(year):
d = date(year, month, 1)
d += timedelta(days = 6 - d.weekday()) # First Sunday
while d.year == year:
yield d
d += timedelta(days = 7)
sundays = []
for d in allsundays(2024):
sundays.append(d)
print(d)
print(sundays[4:7]) # output only a slice of the year

View File

@ -532,7 +532,7 @@ create_html_episode_from_template()
create_html_homepage_from_template()
create_RSS_XML_from_template()
create_podcast(show_array)
#create_podcast(show_array)
#convert -delay 100 -loop 0 html/episode/2/img/show_cover_2024-01-12* animatedGIF.gif

View File

@ -1,12 +1,11 @@
perspektiva
Sub Persona I
Domen Gnezda - Misnomer II - 04 Misnomer 26
Oholo! - Mnogobolje - 01 Blind man's buff
My Sweet.Com
Vid Drašler - Kramljanja - 03 3.
Kolonija
The Oppressed 2 (SC)
Blue Waters Turn Black (P.C.M. remix)
make this title easy to remember
Tomaž Grom - Sam, za... - 05 G.V.
Magie de la Pleine Lune
Untold Truths
Kampak
Ultrascan
1disrupt3violence1monopoly2
ejk
Zlatko Kaučič, Tomaž Grom - Torn Memories Of Folklore - Raztrgana folklora spomina - 05 With A Hole In The Sock
Action VI
Action XII

9
runme.sh 100755
View File

@ -0,0 +1,9 @@
# flush everything
#echo "" > playlists/track_playout_history.txt; rm database/show.db ; mk_master_playlist.sh; ./mk_show.py 4 2024-04-17;
for i in [2024-03-03 2024-03-10 2024-03-17 2024-03-24 2024-03-31]
do echo mk_master_playlist.sh; ./mk_show.py $i
done