mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2024-11-16 17:00:14 +00:00
fix typing
This commit is contained in:
parent
5777e13e40
commit
88c35e57cf
@ -165,7 +165,7 @@ class Show:
|
||||
"""get ta channel metadata"""
|
||||
episodes: list[JFEpisode] = self._get_all_episodes(limit=1)
|
||||
if not episodes:
|
||||
return
|
||||
return None
|
||||
episode: JFEpisode = episodes[0]
|
||||
youtube_id: str = os.path.split(episode["Path"])[-1][9:20]
|
||||
path = f"/video/{youtube_id}"
|
||||
|
Loading…
Reference in New Issue
Block a user