[comedycentral] Better titles
authorPhilipp Hagemeister <phihag@phihag.de>
Tue, 25 Mar 2014 22:46:51 +0000 (23:46 +0100)
committerPhilipp Hagemeister <phihag@phihag.de>
Tue, 25 Mar 2014 22:46:51 +0000 (23:46 +0100)
youtube_dl/extractor/comedycentral.py

index 346ecded62c9278e37f059afa5ab4f91f27b850d..483ae576149de801edb23a570f6fa48ef1a8a726 100644 (file)
@@ -191,7 +191,7 @@ class ComedyCentralShowsIE(InfoExtractor):
                 })
                 self._sort_formats(formats)
 
-            virtual_id = show_name + '-' + epTitle + ' part ' + compat_str(part_num + 1)
+            virtual_id = show_name + ' ' + epTitle + ' part ' + compat_str(part_num + 1)
             entries.append({
                 'id': guid,
                 'title': virtual_id,
@@ -206,6 +206,6 @@ class ComedyCentralShowsIE(InfoExtractor):
         return {
             '_type': 'playlist',
             'entries': entries,
-            'title': title,
+            'title': show_name + ' ' + title,
             'description': description,
         }