| Summary: | Music can't play. Can't init QMediaPlayer | ||
|---|---|---|---|
| Product: | [Applications] audiotube | Reporter: | A M <1248alex> |
| Component: | general | Assignee: | Jonah Brüchert <jbb> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | arojas, kde.vacant701 |
| Priority: | NOR | ||
| Version First Reported In: | 24.02.2 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
A M
2024-05-16 21:48:42 UTC
Were was this build installed from? The package is missing basic dependencies. Apparently audiotube only works with the gstreamer qtmultimedia backend, which is not documented anywhere. (In reply to Jonah Brüchert from comment #1) > Were was this build installed from? > The package is missing basic dependencies. Through `pacman`, sorry if that's too vague, i am still a bit new to linux I've tried running `pacman -Syu audiotube`(full sys update) to no avail (In reply to Antonio Rojas from comment #2) > Apparently audiotube only works with the gstreamer qtmultimedia backend, > which is not documented anywhere. Is that something i can fix on my end? (In reply to A M from comment #4) > (In reply to Antonio Rojas from comment #2) > > Apparently audiotube only works with the gstreamer qtmultimedia backend, > > which is not documented anywhere. > > Is that something i can fix on my end? pacman -S qt6-multimedia-gstreamer (In reply to Antonio Rojas from comment #5) > (In reply to A M from comment #4) > > (In reply to Antonio Rojas from comment #2) > > > Apparently audiotube only works with the gstreamer qtmultimedia backend, > > > which is not documented anywhere. > > > > Is that something i can fix on my end? > > pacman -S qt6-multimedia-gstreamer That's fixed it, Thank you plenty. > Apparently audiotube only works with the gstreamer qtmultimedia backend, which is not documented anywhere.
Where would be a place to document this where you would find it during packaging?
Checking for the backend with cmake is probably non-trivial unfortunately.
I can put it into the README, however that's probably also rarely read.
(In reply to Jonah Brüchert from comment #7) > > Apparently audiotube only works with the gstreamer qtmultimedia backend, which is not documented anywhere. > > Where would be a place to document this where you would find it during > packaging? > Checking for the backend with cmake is probably non-trivial unfortunately. > > I can put it into the README, however that's probably also rarely read. qtmultimedia backends provide cmake targets, so something like if (NOT TARGET Qt6::QGstreamerMediaPlugin) message (FATAL_ERROR "QtMultimedia gstreamer backend not found") endif () Not sure if it is related to the same bug, as the package “qt6-multimedia-gstreamer” is installed on my machine, but the playback does not always work. In most cases, the player sits idle at “0:00” and does not progress. Clearing the cache and reinstalling the audiotube package did not solve the issue. Logs: Detected locale "C" with character encoding "ANSI_X3.4-1968", which is not UTF-8. Qt depends on a UTF-8 locale, and has switched to "C.UTF-8" instead. If this causes problems, reconfigure your locale. See the locale(1) manual for more information. futuresql: Migrations finished futuresql: Running "select distinct (search_query) from searches order by search_id desc limit 20" futuresql: Running "select * from favourites natural join songs order by favourites.rowid desc" futuresql: Running "select * from played_songs natural join songs" futuresql: Running "select * from played_songs natural join songs order by plays desc limit 10" futuresql: Running "select * from playlists" qrc:/AlbumCoverItem.qml:19:12: Duplicate signal name: invalid override of property change signal or superclass signal futuresql: Running "select * from playlists" futuresql: Running "select * from playlists" Running with untested version of ytmusicapi 1.8.1. The currently tested and supported version is 1.8.0 qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitWidth" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:344:18: QML ScrollView: Binding loop detected for property "calculatedImplicitHeight" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value" qrc:/qt/qml/org/kde/kirigami/dialogs/Dialog.qml:401:33: QML Binding: Binding loop detected for property "value" Running with untested version of ytmusicapi 1.8.1. If you experience errors, please report them to your distribution. futuresql: Running "select count(*) > 0 from favourites where video_id = ?" [youtube] Extracting URL: C7KvlHNwIX0 [youtube] C7KvlHNwIX0: Downloading webpage Naive thumbnail resolution failed, falling back to yt-dlp (slower) [youtube] C7KvlHNwIX0: Downloading ios player API JSON [youtube] C7KvlHNwIX0: Downloading web creator player API JSON [youtube] C7KvlHNwIX0: Downloading m3u8 information futuresql: Running "insert or replace into songs (video_id, title, artist, album) values (?, ?, ?, ?)" Could not change state of "playerPipeline" to PAUSED ASYNC qt.multimedia.player: Unable to set the pipeline to the paused state. futuresql: Running "insert or ignore into played_songs (video_id, plays) values (?, ?)" futuresql: Running "update played_songs set plays = plays + 1 where video_id = ? " futuresql: Running "select * from played_songs natural join songs" futuresql: Running "select * from played_songs natural join songs order by plays desc limit 10" [youtube] Extracting URL: xti_6Bzpa8A [youtube] xti_6Bzpa8A: Downloading webpage [youtube] xti_6Bzpa8A: Downloading ios player API JSON [youtube] xti_6Bzpa8A: Downloading web creator player API JSON [youtube] xti_6Bzpa8A: Downloading m3u8 information SOFTWARE/OS VERSIONS OS: Arch x86_64 Kernel: 6.10.10-zen1-1-zen KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Graphics Platform: Wayland Audiotube version : 24.08.1 |