Page MenuHomeSolus

D12202.id29623.diff
No OneTemporary

D12202.id29623.diff

diff --git a/files/0001-Patch-youtube-dl-references-for-yt-dlp.patch b/files/0001-Patch-youtube-dl-references-for-yt-dlp.patch
new file mode 100644
--- /dev/null
+++ b/files/0001-Patch-youtube-dl-references-for-yt-dlp.patch
@@ -0,0 +1,53 @@
+From e15469c8b20f6dd7bdb5877c86b0a1ad7712737c Mon Sep 17 00:00:00 2001
+From: Joshua Strobl <joshua@streambits.io> Modified by Thomas Staudinger <Staudi.Kaos@gmail.com>
+Date: Tue, 27 Oct 2020 22:31:26 +0200
+Subject: [PATCH 1/1] Patch youtube-dl references for yt-dlp
+
+---
+ mkchromecast/__init__.py | 2 +-
+ mkchromecast/audio.py | 2 +-
+ mkchromecast/video.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/mkchromecast/__init__.py b/mkchromecast/__init__.py
+index e6e2f86c..d2ba9a6b 100644
+--- a/mkchromecast/__init__.py
++++ b/mkchromecast/__init__.py
+@@ -532,7 +532,7 @@ parser.add_argument(
+ default=None,
+ help='''
+ Stream from sources supported by youtube-dl. This option needs
+- the youtube-dl package, and it also gives you access to all its
++ the yt-dlp package, and it also gives you access to all its
+ supported websites such as Dailymotion, LiveLeak, and Vimeo.
+
+ For a comprehensive list, check:
+diff --git a/mkchromecast/audio.py b/mkchromecast/audio.py
+index c571e0c8..bcc2ef53 100644
+--- a/mkchromecast/audio.py
++++ b/mkchromecast/audio.py
+@@ -78,7 +78,7 @@ if youtubeurl is not None:
+ video = query['v'][0]
+ print(colors.options('Playing video:') + ' ' + video)
+ command = [
+- 'youtube-dl',
++ 'yt-dlp',
+ '-o',
+ '-',
+ youtubeurl
+diff --git a/mkchromecast/video.py b/mkchromecast/video.py
+index f71bd93e..ae106c51 100644
+--- a/mkchromecast/video.py
++++ b/mkchromecast/video.py
+@@ -58,7 +58,7 @@ browser closes the connection.
+ """
+ if youtubeurl is not None:
+ command = [
+- 'youtube-dl',
++ 'yt-dlp',
+ '-o',
+ '-',
+ youtubeurl
+--
+2.29.1
+
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,6 +1,6 @@
name : mkchromecast
version : 0.3.8.1
-release : 8
+release : 9
source :
- https://github.com/muammar/mkchromecast/archive/0.3.8.1.tar.gz : c680a398385d95d51c47eb522b95cf98f932b55caf065ab8b5725e78bf0099b2
license : MIT
@@ -20,8 +20,9 @@
- python-itsdangerous
- python-psutil
- python3-qt5
- - youtube-dl
+ - yt-dlp
setup : |
+ %patch -p1 < $pkgfiles/0001-Patch-youtube-dl-references-for-yt-dlp.patch
# python3 shebang
find . -type f -name "*.py" -exec sed -i 's|#!/usr/bin/env python|#!/usr/bin/python3|' {} +
install : |
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -2,8 +2,8 @@
<Source>
<Name>mkchromecast</Name>
<Packager>
- <Name>Joey Riches</Name>
- <Email>josephriches@gmail.com</Email>
+ <Name>Thomas Staudinger</Name>
+ <Email>Staudi.Kaos@gmail.com</Email>
</Packager>
<License>MIT</License>
<PartOf>multimedia.audio</PartOf>
@@ -80,12 +80,12 @@
</Files>
</Package>
<History>
- <Update release="8">
- <Date>2021-07-29</Date>
+ <Update release="9">
+ <Date>2021-11-05</Date>
<Version>0.3.8.1</Version>
<Comment>Packaging update</Comment>
- <Name>Joey Riches</Name>
- <Email>josephriches@gmail.com</Email>
+ <Name>Thomas Staudinger</Name>
+ <Email>Staudi.Kaos@gmail.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file

File Metadata

Mime Type
text/plain
Expires
Tue, Jul 18, 6:51 PM (3 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5790427
Default Alt Text
D12202.id29623.diff (3 KB)

Event Timeline