Skip to content

Commit

Permalink
Fix hiding directory items as short videos
Browse files Browse the repository at this point in the history
  • Loading branch information
MoojMidge committed Jan 18, 2024
1 parent 1b19eb5 commit fa323fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/lib/youtube_plugin/youtube/helper/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -834,5 +834,5 @@ def filter_short_videos(items):
return [
item
for item in items
if item.playable and not 0 <= item.get_duration() <= 60
if not item.playable or not 0 <= item.get_duration() <= 60
]

0 comments on commit fa323fb

Please sign in to comment.