Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

319.8. audiotube-26.08.2

YouTube Music client — search, stream and keep a library through ytmusicapi and yt-dlp

26.08.2-1 · (GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL) AND GPL-2.0-or-later AND LGPL-2.1-or-later AND BSD-2-Clause AND CC0-1.0 · 11.0 SBU · 6.0 MiB, 11 files · 44_apps, 306 of 422 · ports/core/music-players/audiotube

Homepage: https://apps.kde.org/audiotube/

AudioTube is a Kirigami client for YouTube Music: it searches the catalogue, streams songs, albums and playlists, and keeps a local library of favourites and history. The C++ program embeds Python through python3-pybind11 and calls python3-ytmusicapi for the catalogue and yt-dlp for the stream addresses; playback goes through Qt Multimedia.

Depends on: cmake, ninja, extra-cmake-modules, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, qt6-qtmultimedia, qt6-qt5compat, kirigami, kirigami-addons, ki18n, kcoreaddons, kcrash, kwindowsystem, kiconthemes, kconfig, purpose, qqc2-desktop-style, futuresql, qcoro, python3, python3-pybind11, yt-dlp, python3-ytmusicapi, gstreamer, gst-plugins-base, gst-plugins-good, gst-plugins-bad.

Required by (1): kde-gear-multimedia.

Sources: audiotube-26.08.2.tar.xz (172.0 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install audiotube'

build.sh:

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D BUILD_TESTING=OFF \
	-D KF_SKIP_PO_PROCESSING=ON \
	-D pybind11_DIR="$(python3 -m pybind11 --cmakedir)" \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

Programs: audiotube.

Directories: /usr/share/licenses/audiotube.

AudioTube plays only through Qt Multimedia’s GStreamer backend: the configure stops with QtMultimedia gstreamer backend not found unless the Qt6::QGstreamerMediaPlugin target exists. qt6-qtmultimedia installs it because it builds the GStreamer backend beside the FFmpeg one; a qt6-qtmultimedia built with FFmpeg alone leaves this port unable to configure. gstreamer, gst-plugins-base, gst-plugins-good and gst-plugins-bad are in depends for the decoders and demuxers the streams need at run time.

The configure imports yt_dlp and ytmusicapi with the build’s Python and fails if either import fails, or if ytmusicapi is older than 1.10.2. At run time the program compares ytmusicapi’s version with TESTED_YTMUSICAPI_VERSION in src/ytmusic.h and shows an “untested version” error at every start for any other, so python3-ytmusicapi is held at exactly that version. Both modules talk to an unofficial interface of a commercial service, and a change on YouTube’s side breaks them until they are bumped; the program itself does not change.

purpose provides the share menu and qt6-qt5compat the Qt5Compat.GraphicalEffects QML module. qqc2-desktop-style is in depends because main.cpp selects its org.kde.desktop style when no other is set. KAboutData gives the window the app_id org.kde.audiotube, the name of upstream’s entry.