Ver código fonte

expisode image

Karl Hudgell 9 meses atrás
pai
commit
24c219f556
3 arquivos alterados com 2 adições e 1 exclusões
  1. BIN
      Pathfinders/Pathfinders_wide.png
  2. BIN
      Pathfinders/cover_wide.webp
  3. 2 1
      generator.py

BIN
Pathfinders/Pathfinders_wide.png


BIN
Pathfinders/cover_wide.webp


+ 2 - 1
generator.py

@@ -85,6 +85,7 @@ def add_episodes_from_folder(folder_path: str, season:int) -> None:
                 summary=description,
                 season=season,
                 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(
                     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",
     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.locked = True
 p.withhold_from_itunes = True