Add partial support for video duration in thumbnails

This commit is contained in:
Omar Roth
2018-10-20 20:37:55 -05:00
parent 3ee7201f5d
commit 4875aa1d7e
6 changed files with 88 additions and 11 deletions

View File

@@ -15,6 +15,11 @@ class ChannelVideo
ucid: String,
author: String,
})
# TODO: Add length_seconds to channel_video
def length_seconds
return 0
end
end
def get_channel(id, client, db, refresh = true, pull_all_videos = true)