From 6aadce819b42e2c0daabc7625464994010e40e51 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 9 Oct 2020 14:41:45 +0000 Subject: patches/youtube-dl: fix bandcamp --- ...date-youtuble-dl-test-song-information-to.patch | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch (limited to 'overlays/patches/youtube-dl/0005-bandcamp-update-youtuble-dl-test-song-information-to.patch') 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 +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 + -- cgit 1.4.1