diff --git a/src/renderer/helpers/playlists.js b/src/renderer/helpers/playlists.js index 93a844c1b017e..0a458c1b7fe53 100644 --- a/src/renderer/helpers/playlists.js +++ b/src/renderer/helpers/playlists.js @@ -37,7 +37,7 @@ export function getSortedPlaylistItems(playlistItems, sortOrder, locale, reverse export function videoDurationPresent(v) { if (typeof v.lengthSeconds !== 'number') { return false } - + return !(isNaN(v.lengthSeconds) || v.lengthSeconds === 0) }