--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: bookworm-pu: package mkchromecast/0.3.9~git20200902+db2964a-2.1~deb12u1
- From: Adrian Bunk <bunk@debian.org>
- Date: Fri, 29 Aug 2025 20:53:16 +0300
- Message-id: <175648999662.747207.5083161575104854608.reportbug@localhost>
Package: release.debian.org
Severity: normal
Tags: bookworm
X-Debbugs-Cc: mkchromecast@packages.debian.org
Control: affects -1 + src:mkchromecast
User: release.debian.org@packages.debian.org
Usertags: pu
* Replace youtube-dl with yt-dlp (Closes: #1024216).
This updates mkchromecast in bookworm to the version in trixie.
The only difference is using yt-dlp instead of youtube-dl.
In bookworm youtube-dl is an empty transitional package depending
on yt-dlp, it does not provide the youtube-dl command.
diffstat for mkchromecast-0.3.9~git20200902+db2964a mkchromecast-0.3.9~git20200902+db2964a
changelog | 14 ++++++++++++++
control | 2 +-
patches/series | 1 +
patches/yt-dlp.patch | 36 ++++++++++++++++++++++++++++++++++++
4 files changed, 52 insertions(+), 1 deletion(-)
diff -Nru mkchromecast-0.3.9~git20200902+db2964a/debian/changelog mkchromecast-0.3.9~git20200902+db2964a/debian/changelog
--- mkchromecast-0.3.9~git20200902+db2964a/debian/changelog 2020-10-16 09:47:59.000000000 +0300
+++ mkchromecast-0.3.9~git20200902+db2964a/debian/changelog 2025-08-29 20:42:26.000000000 +0300
@@ -1,3 +1,17 @@
+mkchromecast (0.3.9~git20200902+db2964a-2.1~deb12u1) bookworm; urgency=medium
+
+ * Non-maintainer upload.
+ * Rebuild for bookworm.
+
+ -- Adrian Bunk <bunk@debian.org> Fri, 29 Aug 2025 20:42:26 +0300
+
+mkchromecast (0.3.9~git20200902+db2964a-2.1) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Replace youtube-dl with yt-dlp (Closes: #1024216).
+
+ -- Bastian Germann <bage@debian.org> Mon, 18 Sep 2023 10:18:36 +0000
+
mkchromecast (0.3.9~git20200902+db2964a-2) unstable; urgency=medium
* Also drop .gitignore files not present in the tarball.
diff -Nru mkchromecast-0.3.9~git20200902+db2964a/debian/control mkchromecast-0.3.9~git20200902+db2964a/debian/control
--- mkchromecast-0.3.9~git20200902+db2964a/debian/control 2020-10-16 09:47:59.000000000 +0300
+++ mkchromecast-0.3.9~git20200902+db2964a/debian/control 2023-09-18 13:05:32.000000000 +0300
@@ -37,7 +37,7 @@
python3-requests,
sox (>=14.4.1),
vorbis-tools (>=1.4.0),
- youtube-dl,
+ yt-dlp,
${misc:Depends},
${python3:Depends}
Suggests: ffmpeg
diff -Nru mkchromecast-0.3.9~git20200902+db2964a/debian/patches/series mkchromecast-0.3.9~git20200902+db2964a/debian/patches/series
--- mkchromecast-0.3.9~git20200902+db2964a/debian/patches/series 1970-01-01 02:00:00.000000000 +0200
+++ mkchromecast-0.3.9~git20200902+db2964a/debian/patches/series 2023-09-18 13:15:48.000000000 +0300
@@ -0,0 +1 @@
+yt-dlp.patch
diff -Nru mkchromecast-0.3.9~git20200902+db2964a/debian/patches/yt-dlp.patch mkchromecast-0.3.9~git20200902+db2964a/debian/patches/yt-dlp.patch
--- mkchromecast-0.3.9~git20200902+db2964a/debian/patches/yt-dlp.patch 1970-01-01 02:00:00.000000000 +0200
+++ mkchromecast-0.3.9~git20200902+db2964a/debian/patches/yt-dlp.patch 2023-09-18 13:16:41.000000000 +0300
@@ -0,0 +1,36 @@
+Description: Replace youtube-dl with yt-dlp
+Author: Bastian Germann <bage@debian.org>
+---
+--- mkchromecast-0.3.9~git20200902+db2964a.orig/mkchromecast/__init__.py
++++ mkchromecast-0.3.9~git20200902+db2964a/mkchromecast/__init__.py
+@@ -786,7 +786,7 @@ if args.loop is True and args.video is T
+ Command
+ """
+ if args.command is not None and args.video is True:
+- safe_commands = ["ffmpeg", "avconv", "youtube-dl"]
++ safe_commands = ["ffmpeg", "avconv", "yt-dlp"]
+ command = shlex.split(args.command)
+ if command[0] not in safe_commands:
+ print(colors.error("Refusing to execute this."))
+--- mkchromecast-0.3.9~git20200902+db2964a.orig/mkchromecast/audio.py
++++ mkchromecast-0.3.9~git20200902+db2964a/mkchromecast/audio.py
+@@ -84,7 +84,7 @@ if youtube_url is not None:
+ query = urllib.parse.parse_qs(url_data.query)
+ video = query["v"][0]
+ print(colors.options("Playing video:") + " " + video)
+- command = ["youtube-dl", "-o", "-", youtube_url]
++ command = ["yt-dlp", "-o", "-", youtube_url]
+ mtype = "audio/mp4"
+ else:
+ if os.path.exists(configf) and tray is True:
+--- mkchromecast-0.3.9~git20200902+db2964a.orig/mkchromecast/video.py
++++ mkchromecast-0.3.9~git20200902+db2964a/mkchromecast/video.py
+@@ -73,7 +73,7 @@ I think that the command below is sendin
+ browser closes the connection.
+ """
+ if youtube_url is not None:
+- command = ["youtube-dl", "-o", "-", youtube_url]
++ command = ["yt-dlp", "-o", "-", youtube_url]
+
+ elif screencast is True:
+ if res is None:
--- End Message ---