diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..52c650a --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +*.flac +*.wav +*.mp3 +*.ogg +*.gif +*.png +*.jpg +*.jpeg + +*~ +*#* \ No newline at end of file diff --git a/database/show.db b/database/show.db index da5ce83..7fbfc66 100644 Binary files a/database/show.db and b/database/show.db differ diff --git a/list_all_sundays.py b/list_all_sundays.py new file mode 100755 index 0000000..9f519f4 --- /dev/null +++ b/list_all_sundays.py @@ -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 diff --git a/mk_show.py b/mk_show.py index c23b007..44b6047 100755 --- a/mk_show.py +++ b/mk_show.py @@ -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 diff --git a/playlists/track_playout_history.txt b/playlists/track_playout_history.txt index 61b5af6..b712f71 100644 --- a/playlists/track_playout_history.txt +++ b/playlists/track_playout_history.txt @@ -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 diff --git a/runme.sh b/runme.sh new file mode 100755 index 0000000..7383d84 --- /dev/null +++ b/runme.sh @@ -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