expisode image

This commit is contained in:
Karl Hudgell 2024-06-21 12:50:41 +01:00
parent 4621f36545
commit 24c219f556
3 changed files with 2 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 514 KiB

View File

@ -85,6 +85,7 @@ def add_episodes_from_folder(folder_path: str, season:int) -> None:
summary=description, summary=description,
season=season, season=season,
episode_number=int(ep_details[1][-0]), episode_number=int(ep_details[1][-0]),
image=f'https://kithub.k-world.me.uk/Karl/GTPStories/raw/master/{folder_path}/{folder_path}_wide.png'
publication_date=dt.fromtimestamp( publication_date=dt.fromtimestamp(
os.stat(f"./{folder_path}/{file}").st_ctime, tz=UTC os.stat(f"./{folder_path}/{file}").st_ctime, tz=UTC
), ),
@ -100,7 +101,7 @@ p = Podcast(
website="http://kithub.k-world.me.uk/Karl/GTPStories", website="http://kithub.k-world.me.uk/Karl/GTPStories",
explicit=True, explicit=True,
) )
p.image = "https://kithub.k-world.me.uk/Karl/KFMPod/raw/master/Season%201/Ep.%201%ea%9e%89%20Music%20[B08DFKGFP8].jpg" p.image = "https://kithub.k-world.me.uk/Karl/GTPStories/raw/master/logo.png"
p.owner = owner p.owner = owner
p.locked = True p.locked = True
p.withhold_from_itunes = True p.withhold_from_itunes = True