mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2025-12-31 12:01:36 +00:00
Add partial support for video duration in thumbnails
This commit is contained in:
@@ -451,6 +451,10 @@ class Video
|
||||
return description
|
||||
end
|
||||
|
||||
def length_seconds
|
||||
return self.info["length_seconds"].to_i
|
||||
end
|
||||
|
||||
add_mapping({
|
||||
id: String,
|
||||
info: {
|
||||
|
||||
Reference in New Issue
Block a user