PDA

View Full Version : Mezzmo Android not seeing all music



wrnoof
05-01-2020, 12:06 AM
Hi Peter/Paul,
When I use my Mezzmo Android app local server, i.e., play music from the phone, and go to Music>Artist and then select a folder/album for an artist, the folder is often empty for some folders or contains music files from an entirely different album and artist. For example, when I select Adele, her 21 and 25 albums show up, but 21 contains songs by Bruce Hornsby and 25 is empty. In addition, when I search for anything in the music library - artist, album name, song, etc., the result is always blank.

If, however, I start with Music>Album, the albums contain all the correct songs. I prefer to select my music by artist since album names are harder to remember.

Also, is it possible to transfer a playlist from Mezzmo PC to Mezzmo Android and vice versa?

The app works flawlessly as a controller for Mezzmo PC in our home entertainment system. Thank you so much for that.
Thanks and stay healthy.
Bob

Peter
05-01-2020, 08:37 AM
Hi Bob,
we are using the Android media database to get the albums and then we request all songs contained in the album by name. Does Bruce Hornsby have an album named 21?

wrnoof
05-02-2020, 02:05 AM
Hi Peter,
I am sure Bruce Hornsby does not have an album named 21. BTW, in an attempt to force a database rebuild, I deleted all music from my SD Card and then copied it again from my PC to a new folder on the SD card . The old folder was named "Music" and the new folder is named "My Music". Not very original, I know. Now I can't find any music in any album folder using the Music>Artist>"Artist Name">"Album Name" route. The music files all seem to still be there using the Music>Album>"Album Name" approach.
Bob

Peter
05-04-2020, 08:59 AM
Hi Bob,
the Mezzmo app gets the Artist names from the Android media store. Possibly after removing all your music and adding it again you may need to restart the Android device to get the system to update the media store database.

wrnoof
05-05-2020, 04:45 AM
Hi Peter,
I have done that, and the result is the same - no files in the folders when going through the Music>Artist>Folder route. I have some other information that might be helpful. I can no longer import m3u or other playlists into the Google Play Music android app. I used to be able to copy the playlist to my SD card and, after a few minutes or a restart, GPM would find the playlist, and it worked. Now, it doesn't matter where I place the playlist, it never shows up in GPM. After some research I found a few references to changes in the database with Android 10, which I have. The discussion is over my head, but here is one reference to a change with Android 10 - https://stackoverflow.com/questions/57799515/android-10-mediastore-api-changes. I wonder if the two problems are related.
Best,
Bob

Peter
05-05-2020, 09:13 AM
Hi Bob,
no we are using MediaStore.Audio.Albums.ALBUM_ID and not BaseColumns._ID. We do a query for all files with an album id value of the id we are looking for. Curiously this returned values prior to clearing out the music on your phone but after adding it again no files are returned for the albums. The code uses the same function to get the music in the album when it is under the albums playlist or the artist albums playlist so both should result in the same files being listed under album. The query used to get the albums is also the same for both the albums playlist and the artist playlist except for the artist playlist we are specifying just to get the albums where the artistId equals the selected artist so browsing the album playlist should yield the same result. I only have access to an Android 9 phone here during lockdown and tried moving files around on the sdcard to try and reproduce it but the files appeared under artist album.

wrnoof
05-07-2020, 10:14 PM
Hi Peter,
Thanks for the quick effort and response. If you can find an Android 10 phone after lockdown, let me know if the results are similar to mine. Also, the recently added, party shuffle, etc.
filters all work. Searching for anything returns a blank screen. Until then, please stay safe and healthy.
Best wishes,
Bob