浏览代码

expisode image

Karl Hudgell 9 月之前
父节点
当前提交
24c219f556
共有 3 个文件被更改,包括 2 次插入1 次删除
  1. 二进制
      Pathfinders/Pathfinders_wide.png
  2. 二进制
      Pathfinders/cover_wide.webp
  3. 2 1
      generator.py

二进制
Pathfinders/Pathfinders_wide.png


二进制
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