diff --git a/.gitmodules b/.gitmodules index 2afc71e..4b55efd 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,6 +1,6 @@ [submodule "qt-json"] path = qt-json url = https://github.com/da4c30ff/qt-json.git -[submodule "youtube-dl"] - path = youtube-dl - url = https://github.com/rg3/youtube-dl.git +[submodule "yt-dlp"] + path = yt-dlp + url = https://github.com/yt-dlp/yt-dlp.git diff --git a/sailfish/harbour-quickddit.pro b/sailfish/harbour-quickddit.pro index 495c3e8..910ce67 100644 --- a/sailfish/harbour-quickddit.pro +++ b/sailfish/harbour-quickddit.pro @@ -136,9 +136,9 @@ harbour { } # kludge needed as qmake cannot control INSTALL permissions -system(chmod 0644 ../youtube-dl/youtube_dl/__main__.py ../youtube-dl/youtube_dl/YoutubeDL.py) +system(chmod 0644 ../yt-dlp/yt_dlp/__main__.py ../yt-dlp/yt_dlp/YoutubeDL.py) -youtube-dl.files = ../youtube-dl/youtube_dl +youtube-dl.files = ../yt-dlp/yt_dlp youtube-dl.path = /usr/share/$${TARGET} INSTALLS += youtube-dl diff --git a/sailfish/qml/ytdl_wrapper.py b/sailfish/qml/ytdl_wrapper.py index 6798452..0dcbb01 100644 --- a/sailfish/qml/ytdl_wrapper.py +++ b/sailfish/qml/ytdl_wrapper.py @@ -3,7 +3,7 @@ from __future__ import unicode_literals import pyotherside -import youtube_dl +import yt_dlp as youtube_dl downloaddir = '/tmp' diff --git a/youtube-dl b/youtube-dl deleted file mode 160000 index b224cf3..0000000 --- a/youtube-dl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b224cf39d53bd16bcfda2ac493712c3ff449ecb8 diff --git a/yt-dlp b/yt-dlp new file mode 160000 index 0000000..b85faf6 --- /dev/null +++ b/yt-dlp @@ -0,0 +1 @@ +Subproject commit b85faf6ffb700058e774e99c04304a7a9257cdd0