expisode image
This commit is contained in:
parent
4621f36545
commit
24c219f556
BIN
Pathfinders/Pathfinders_wide.png
Normal file
BIN
Pathfinders/Pathfinders_wide.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.5 MiB |
Binary file not shown.
Before Width: | Height: | Size: 514 KiB |
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user