[ooyala] fix duration scale

pull/8/head
remitamine 9 years ago
parent b80d4bebf3
commit 53e06b2507

@ -17,7 +17,7 @@ class BYUtvIE(InfoExtractor):
'description': 'md5:e07269172baff037f8e8bf9956bc9747',
'title': 'Season 5 Episode 5',
'thumbnail': 're:^https?://.*\.jpg$',
'duration': 1486486,
'duration': 1486.486,
},
'params': {
'skip_download': True,

@ -339,7 +339,7 @@ class GenericIE(InfoExtractor):
'id': 'BwY2RxaTrTkslxOfcan0UCf0YqyvWysJ',
'ext': 'mp4',
'title': '2cc213299525360.mov', # that's what we get
'duration': 238231,
'duration': 238.231,
},
'add_ie': ['Ooyala'],
},
@ -351,7 +351,7 @@ class GenericIE(InfoExtractor):
'ext': 'mp4',
'title': '"Steve Jobs: Man in the Machine" trailer',
'description': 'The first trailer for the Alex Gibney documentary "Steve Jobs: Man in the Machine."',
'duration': 135427,
'duration': 135.427,
},
'params': {
'skip_download': True,
@ -964,7 +964,7 @@ class GenericIE(InfoExtractor):
'ext': 'mp4',
'description': 'VIDEO: INDEX/MATCH versus VLOOKUP.',
'title': 'This is what separates the Excel masters from the wannabes',
'duration': 191933,
'duration': 191.933,
},
'params': {
# m3u8 downloads

@ -19,7 +19,7 @@ class GrouponIE(InfoExtractor):
'ext': 'mp4',
'title': 'Bikram Yoga Huntington Beach | Orange County',
'description': 'md5:d41d8cd98f00b204e9800998ecf8427e',
'duration': 44961,
'duration': 44.961,
},
}],
'params': {

@ -16,7 +16,7 @@ class HowcastIE(InfoExtractor):
'description': 'md5:dbe792e5f6f1489027027bf2eba188a3',
'timestamp': 1276081287,
'upload_date': '20100609',
'duration': 56823,
'duration': 56.823,
},
'params': {
# m3u8 download

@ -24,7 +24,7 @@ class OoyalaBaseIE(InfoExtractor):
'title': metadata['title'],
'description': metadata.get('description'),
'thumbnail': metadata.get('thumbnail_image') or metadata.get('promo_image'),
'duration': int_or_none(metadata.get('duration')),
'duration': float_or_none(metadata.get('duration'), 1000),
}
formats = []
@ -78,7 +78,7 @@ class OoyalaIE(OoyalaBaseIE):
'ext': 'mp4',
'title': 'Explaining Data Recovery from Hard Drives and SSDs',
'description': 'How badly damaged does a drive have to be to defeat Russell and his crew? Apparently, smashed to bits.',
'duration': 853386,
'duration': 853.386,
},
}, {
# Only available for ipad
@ -87,7 +87,7 @@ class OoyalaIE(OoyalaBaseIE):
'id': 'x1b3lqZDq9y_7kMyC2Op5qo-p077tXD0',
'ext': 'mp4',
'title': 'Simulation Overview - Levels of Simulation',
'duration': 194948,
'duration': 194.948,
},
},
{
@ -99,7 +99,7 @@ class OoyalaIE(OoyalaBaseIE):
'id': 'FiOG81ZTrvckcchQxmalf4aQj590qTEx',
'ext': 'mp4',
'title': 'Divide Tool Path.mp4',
'duration': 204405,
'duration': 204.405,
}
}
]

@ -16,7 +16,7 @@ class TeachingChannelIE(InfoExtractor):
'ext': 'mp4',
'title': 'A History of Teaming',
'description': 'md5:2a9033db8da81f2edffa4c99888140b3',
'duration': 422255,
'duration': 422.255,
},
'params': {
# m3u8 download

@ -15,7 +15,7 @@ class ViceIE(InfoExtractor):
'id': '43cW1mYzpia9IlestBjVpd23Yu3afAfp',
'ext': 'mp4',
'title': 'VICE_COWBOYCAPITALISTS_PART01_v1_VICE_WM_1080p.mov',
'duration': 725983,
'duration': 725.983,
},
'params': {
# Requires ffmpeg (m3u8 manifest)

Loading…
Cancel
Save