mirror of
https://github.com/tubearchivist/jellyfin.git
synced 2024-12-04 17:30:16 +00:00
update requested condition, add jetbrains editors to gitignore
This commit is contained in:
parent
c436b5f549
commit
12d9d394b7
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@ __pycache__
|
||||
|
||||
# editor
|
||||
.vscode
|
||||
.idea
|
||||
|
@ -164,8 +164,8 @@ class Show:
|
||||
def _get_ta_channel(self) -> TAChannel | None:
|
||||
"""get ta channel metadata"""
|
||||
episodes: list[JFEpisode] = self._get_all_episodes(limit=1)
|
||||
if(len(episodes) == 0):
|
||||
return None
|
||||
if not episodes:
|
||||
return
|
||||
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