podcast release date as input argument

main
Rob Canning 2024-01-15 12:28:05 +01:00
parent 214fca4c46
commit 0398c4c208
3 changed files with 56 additions and 7 deletions

Binary file not shown.

View File

@ -9,8 +9,9 @@ import sqlite3, json
from mk_web import *
show_short_description = "An eclectic selection of independent and experimental music from Slovenia. Published weekly by The Rizoma Institute. Hosted and compiled by Rob Canning. Broadcast in Slovenia on FM by Mariborski radio student - MARŠ"
show_short_description = "An eclectic selection of independent and experimental music from Slovenia. \
Published weekly by The Rizoma Institute. Hosted and compiled by Rob Canning. \
Broadcast in Slovenia on FM by Mariborski radio student - MARŠ"
episode_number = sys.argv[1]
input_date = sys.argv[2]
@ -33,11 +34,11 @@ else: os.makedirs(web_path)
# /////////////////////////////////////////////////
def set_episode_date(input_date):
date_str = '2023-02-28 '
date_format = '%Y-%m-%d %H:%M:%S'
episode_date = datetime.strptime(date_str, date_format)
return episode_date
global episode_date
date_str = input_date
date_format = '%Y-%m-%d'
episode_date = str(datetime.datetime.strptime(date_str, date_format))
#return episode_date
print(episode_date)
@ -510,8 +511,11 @@ def create_RSS_XML_from_template():
rss_page.write(output_from_parsed_template)
database_create()
set_episode_date(input_date)
create_show_playlist(show_array, complete_playlist)
create_show_coverart(show_array, 1) #episode_duration = 100
#create_animated_gif()

View File

@ -55,3 +55,48 @@ stepbystep
Oscillopsia
Soft Orange
Offset V2
coupdotexe (mapalma remix)
Samo Kutin - Plovilo - 06 A
Nebulae Tree
Vid Drašler - Kramljanja - 07 7.
1 9 5 Ints (Edit)
Trojnik (Cene Resnik, Tomaž Grom, Vid Drašler) - Moje uho ima ostre robove - 11 11
Zlatko Kaučič, Tomaž Grom - Torn Memories Of Folklore - Raztrgana folklora spomina - 09 Sheep On The Right Bank
Explored
Spiritual Of Anger (Outtake)
Crushing Trauma
Vision Rising (Eraldo Bernocchi remix)
Sand Mantis
Apropos
things i decided against
Action XVI
Jošt Drašler - The Balloon Catcher - 06 Green Balloon
Crossing The Rubicon
Oholo! - Mnogobolje - 01 Blind man's buff
Samo Kutin - Plovilo - 04 Kdove
Typhaceae
Quiet Certainty
Immediate
Passing
Vision Rising (Eraldo Bernocchi remix)
Trojnik (Cene Resnik, Tomaž Grom, Vid Drašler) - Moje uho ima ostre robove - 08 08
Irena Z. Tomažin - Cmok v grlu - Lump In The Throat - 14 Klic meduze
Strand Looper
Domen Gnezda - Misnomer II - 17 Misnomer 39
Antichrist
a3
Tone Pavček & Tomaž Grom - Sonce in sončice po vsem svetu - 10 Ninulla Çapkanёve (Čenčačeva uspavanka)
Strenuous Effort
blckend leftover_var.3a
The Oppressed 2 (SC)
Ukwakha (Chris Wood remix)
Ambinet
Samo Kutin and Martin Küchen - Stutter And Strike - 04 Orans
Krdelo
Tomaž Grom - Sam, za... - 08 P.Č.
5000000000 YRS
Vinko Globokar - Splitting - 07 Vinko Globokar- Dialogue about water, for acoustic and electric guitar (1994)
Lussid
Wicked Child
Harlequin
Action VIII