UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    No MP3 into Music

    Scheduled Pinned Locked Moved Solved Support
    6 Posts 3 Posters 344 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • B Offline
        Bouleetbil
        last edited by

        Hello,
        I use my pixel3a with focal devel.
        I would use Music but it never find any music :
        screenshot20231005_223450019.png

        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 ?

        Pixel 3a ubports focal RC version daily use with pinetime
        PinePhonePro Mobian / ubports Focal
        Redmi 9S focal devel version

        KenedaK 1 Reply Last reply Reply Quote 0
        • KenedaK Offline
          Keneda @Bouleetbil
          last edited by Keneda

          @Bouleetbil
          Why are you using Devel (!!!) channel ?
          You intend to alpha test things ?
          Do mp3 work on stable ?

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom 😉
          🇲🇫🇬🇧

          B 2 Replies Last reply Reply Quote 0
          • B Offline
            Bouleetbil @Keneda
            last edited by

            @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.

            Pixel 3a ubports focal RC version daily use with pinetime
            PinePhonePro Mobian / ubports Focal
            Redmi 9S focal devel version

            1 Reply Last reply Reply Quote 1
            • B Offline
              Bouleetbil @Keneda
              last edited by

              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

              Pixel 3a ubports focal RC version daily use with pinetime
              PinePhonePro Mobian / ubports Focal
              Redmi 9S focal devel version

              lduboeufL 1 Reply Last reply Reply Quote 1
              • B Bouleetbil has marked this topic as solved on
              • lduboeufL Offline
                lduboeuf @Bouleetbil
                last edited by

                @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 files

                Nice spoted, could you file a bug then ? MediaScanner should be more tolerant
                https://gitlab.com/ubports/development/core/mediascanner2

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Bouleetbil @lduboeuf
                  last edited by

                  @lduboeuf
                  Hello, seems the ticket already exist https://gitlab.com/ubports/development/core/mediascanner2/-/issues/9 🙂

                  Pixel 3a ubports focal RC version daily use with pinetime
                  PinePhonePro Mobian / ubports Focal
                  Redmi 9S focal devel version

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post