diff --git a/config/scripts/rssVideos b/config/scripts/rssVideos index 2219d55..a817f45 100755 --- a/config/scripts/rssVideos +++ b/config/scripts/rssVideos @@ -209,7 +209,7 @@ class RVElement: def duration(self) -> int: assert self.is_video assert self.ytdl_infos - return self.ytdl_infos["duration"] + return int(self.ytdl_infos["duration"]) @property def is_video(self) -> bool: