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