about summary refs log tree commit diff
path: root/overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch
diff options
context:
space:
mode:
Diffstat (limited to 'overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch')
-rw-r--r--overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch b/overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch
new file mode 100644
index 000000000000..fd391f119dd2
--- /dev/null
+++ b/overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch
@@ -0,0 +1,31 @@
+From 3dd523b0cadf149b3a21b36f6ffbe770e302921a Mon Sep 17 00:00:00 2001
+From: Gilles Pietri <gilles@wolface.fr>
+Date: Sun, 27 Sep 2020 15:52:55 +0200
+Subject: [PATCH 5/8] [bandcamp] update youtuble dl test song information to
+ match title as artist - track, and add missing keys from info_dict
+
+From https://github.com/ytdl-org/youtube-dl/pull/26684.
+---
+ youtube_dl/extractor/bandcamp.py | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py
+index eccb867a0..3d32b1e0f 100644
+--- a/youtube_dl/extractor/bandcamp.py
++++ b/youtube_dl/extractor/bandcamp.py
+@@ -33,8 +33,11 @@ class BandcampIE(InfoExtractor):
+         'info_dict': {
+             'id': '1812978515',
+             'ext': 'mp3',
+-            'title': "youtube-dl  \"'/\\\u00e4\u21ad - youtube-dl test song \"'/\\\u00e4\u21ad",
++            'title': "youtube-dl  \\ - youtube-dl  \"'/\\\u00e4\u21ad - youtube-dl test song \"'/\\\u00e4\u21ad",
+             'duration': 9.8485,
++            'uploader': 'youtube-dl  \\',
++            'timestamp': 1354224127,
++            'upload_date': '20121129',
+         },
+         '_skip': 'There is a limit of 200 free downloads / month for the test song'
+     }, {
+-- 
+2.27.0
+