No MP3 into Music
-
Hello,
I use my pixel3a with focal devel.
I would use Music but it never find any music :
phablet@ubuntu-phablet:~$ ls ~/Music/ hendrix.mp3 thunderstruck.mp3
Music log
[05/10/2023 22:46] Creating a QMirClientScreen now [05/10/2023 22:46] virtual QMediaService* AalServicePlugin::create(const QString&) "org.qt-project.qt.mediaplayer" [05/10/2023 22:46] Using Hybris video sink [05/10/2023 22:46] virtual QMediaPlayer::State AalMediaPlayerControl::state() const [05/10/2023 22:46] virtual QMediaPlayer::MediaStatus AalMediaPlayerControl::mediaStatus() const [05/10/2023 22:46] propsReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.112\" (uid=32011 pid=3859 comm=\"/usr/lib/qt5/bin/qmlscene app/music-app.qml --url=\" label=\"music.ubports_music_3.0.2 (enforce)\") interface=\"org.freedesktop.DBus.Properties\" member=\"GetAll\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1310 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")" [05/10/2023 22:46] nmReply "An AppArmor policy prevents this sender from sending this message to this recipient; type=\"method_call\", sender=\":1.112\" (uid=32011 pid=3859 comm=\"/usr/lib/qt5/bin/qmlscene app/music-app.qml --url=\" label=\"music.ubports_music_3.0.2 (enforce)\") interface=\"org.freedesktop.NetworkManager\" member=\"GetDevices\" error name=\"(unset)\" requested_reply=\"0\" destination=\"org.freedesktop.NetworkManager\" (uid=0 pid=1310 comm=\"/usr/sbin/NetworkManager --no-daemon \" label=\"unconfined\")" [05/10/2023 22:46] "Object path cannot be empty" [05/10/2023 22:46] qml: RECENT does not exist [05/10/2023 22:46] virtual void AalMediaPlayerControl::stop() [05/10/2023 22:46] void AalMediaPlaylistProvider::disconnect_signals() [05/10/2023 22:46] void AalMediaPlaylistProvider::connect_signals() [05/10/2023 22:46] Track list doesn't exist so can't clear it! [05/10/2023 22:46] virtual void AalMediaPlaylistControl::setPlaybackMode(QMediaPlaylist::PlaybackMode) [05/10/2023 22:46] PlaybackMode: Sequential [05/10/2023 22:46] virtual void AalMediaPlaylistControl::setCurrentIndex(int) [05/10/2023 22:46] position: -1 , mediaCount: 0 [05/10/2023 22:46] virtual void AalMediaPlayerControl::setMedia(const QMediaContent&, QIODevice*) [05/10/2023 22:46] setMedia() media: QUrl("") [05/10/2023 22:46] setMedia() headers empty: true [05/10/2023 22:46] Same media as current [05/10/2023 22:46] qml: Tabs component is deprecated. See http://design.lomiri.com/apps/patterns/navigation [05/10/2023 22:46] qml: Playlist DB is version [05/10/2023 22:46] qml: Error reading old playlists, probably doesn't exist. [05/10/2023 22:46] qml: Error reading old playlists tracks, probably doesn't exist. [05/10/2023 22:46] qml: DB: Changing version of playlist db to 1.3, migrating 0 tracks [05/10/2023 22:46] qml: Old playlists [] [05/10/2023 22:46] qml: DB: Restore {} [05/10/2023 22:46] qml: Queue is empty, not loading any recent tracks [05/10/2023 22:46] qml: RECENT does not exist [05/10/2023 22:46] ** Application is now active [05/10/2023 22:46] PlaybackStatus changed to: "stopped" [05/10/2023 22:47] qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. [05/10/2023 22:47] qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring. [05/10/2023 22:47] void AalMediaPlaylistProvider::disconnect_signals()
If someone have an idea ?
-
@Bouleetbil
Why are you using Devel (!!!) channel ?
You intend to alpha test things ?
Do mp3 work on stable ? -
@Keneda said in No MP3 into Music:
Why are you using Devel (!!!) channel ?
You intend to alpha test things ?I know "the risk" to use devel version. It's not a problem if I "break" my phone and I will not complain about devel version breaking change. So I don't think it's a problem of devel version.
@Keneda said in No MP3 into Music:
Do mp3 work on stable ?
I've switched to RC same problem.
I will search.
-
I've find the problem into mediascanner-2.0.service
[06/10/2023 10:58] terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error' [06/10/2023 10:58] what(): filesystem error: status: Permission denied [/home/phablet/Music/android] [06/10/2023 10:58] Extracting metadata from /home/phablet/Music/hendrix.mp3. [06/10/2023 10:58] Extracting metadata from /home/phablet/Music/thunderstruck.mp3.
/home/phablet/Music/android is just a link for access quickly to waydroid. I've deleted this file and now I've my music.
So if mediascanner crash with an exception, it don't send files -
-
@Bouleetbil said in No MP3 into Music:
I've find the problem into mediascanner-2.0.service
[06/10/2023 10:58] terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error' [06/10/2023 10:58] what(): filesystem error: status: Permission denied [/home/phablet/Music/android] [06/10/2023 10:58] Extracting metadata from /home/phablet/Music/hendrix.mp3. [06/10/2023 10:58] Extracting metadata from /home/phablet/Music/thunderstruck.mp3.
/home/phablet/Music/android is just a link for access quickly to waydroid. I've deleted this file and now I've my music.
So if mediascanner crash with an exception, it don't send filesNice spoted, could you file a bug then ? MediaScanner should be more tolerant
https://gitlab.com/ubports/development/core/mediascanner2 -
@lduboeuf
Hello, seems the ticket already exist https://gitlab.com/ubports/development/core/mediascanner2/-/issues/9