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

    Music app does not start; log tells lookup () called on invalid MediaSTore

    Scheduled Pinned Locked Moved Solved Support
    6 Posts 2 Posters 585 Views 2 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.
    • hankschwieH Offline
      hankschwie
      last edited by hankschwie

      Hi!

      I have yet another problem with the Music App: It does not start anymore, it just tells me that there is no music to be found; the log is flooded with literally hundreds of messages

      lookup () called on invalid MediaStore
      

      When trying to play a file from the filemanager choosing the Music-app a message appears telling me that the app is waiting for data, after a few seconds I am asked to wait longer or to quit - waiting leads to a seemingly endless display of the message, but nothing is played.

      Is there a way to force the app to reread the data, as it does at first start? Is there some kind of db-file that could be renewed?

      Device is a fairphone 3, dev channel 20.04

      1 Reply Last reply Reply Quote 0
      • hankschwieH Offline
        hankschwie
        last edited by hankschwie

        Found at least something: The mediastore.db in ~/.cache/mediascanner-2.0 had the wrong rights, I changed the ownership from root:root to phablet:phablet, so the app starts again.
        But I still have not found a way to refresh the database for the Music app to show the new files I have added to ~/Music. I recall that this happened automatically, but it does not - or perhaps not any more?

        arubislanderA 1 Reply Last reply Reply Quote 0
        • arubislanderA Offline
          arubislander @hankschwie
          last edited by arubislander

          @hankschwie there are probably other files in your home folder with the wrong permission. You might want to try recursively setting all files and folders in your home directory to ownership phablet:phablet.

          Did you by any chance try to share (parts of) your home folder with the waydroid container?

          πŸ‡¦πŸ‡Ό πŸ‡³πŸ‡± πŸ‡ΊπŸ‡Έ πŸ‡ͺπŸ‡Έ
          Happily running Ubuntu Touch
          JingPad (24.04-1.x daily)
          OnePlus Nord N10 5G (24.04-2.x daily)
          PinePhone OG (20.04)
          Meizu Pro 5 (16.04 DEV)

          hankschwieH 2 Replies Last reply Reply Quote 0
          • hankschwieH Offline
            hankschwie @arubislander
            last edited by

            @arubislander Any idea how to find those?

            1 Reply Last reply Reply Quote 0
            • hankschwieH Offline
              hankschwie @arubislander
              last edited by hankschwie

              @arubislander Yes, I did, and I had to change the rights of the files in /music, too. I opened an Issue (nr 104) on the gitlab page, see
              https://gitlab.com/ubports/development/apps/lomiri-music-app/-/issues/104

              hankschwieH 1 Reply Last reply Reply Quote 0
              • hankschwieH Offline
                hankschwie @hankschwie
                last edited by hankschwie

                So I gave it a try and set all the ownership in /home/phablet to phablet:phablet, and after a reboot the app actually found some of the new files. πŸ‘

                Looks like the app can't handle mpc files properly; or at least can't read the tags - they all end up in one "Unknown album" - but that's a different problem. 😬

                1 Reply Last reply Reply Quote 0
                • hankschwieH hankschwie has marked this topic as solved on

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better πŸ’—

                Register Login
                • First post
                  Last post