Ah yes I forgot there are betas on SF. Anyway, in the past I had bad experiences with f-droid by uninstalling packages and reinstalling them from third parties, and since I've tested that 1.57 fixes the bug on android 8, I'm quite confident that it will do it on android 9 too. So I'll wait for 1.57 to hit f-droid. Thanks!
I can't test 1.57 on android 9 (unless you can point me to an apk outside of google play), but I tested the following: - 1.56.4 on android 5: works ok - 1.56.4 on android 8 (and 9): buggy - 1.57 on android 8: works ok
I can't test 1.57 on android 9 (unless you can point me to an apk outside of google play), but I tested the following: - 1.56.4 on android 5: works ok - 1.56.4 on android 8 (and 9): buggy - 1.57 on android 9: works ok
Still problematic with GC 1.56.4 (from F-droid) on android 9: shortcut to folders are created in the home screen, but when clicking on the icon nothing happens. Shortcuts to favourites work ok.
I tried to pass different mime type string to the scanFile() method, no avail. Did you try "audio/x-mpegurl" and "application/x-mpegurl" ? It seems these are expected by android. See: https://github.com/android/platform_frameworks_base/blob/82834baa358f55acb542e17da828b2d497cf8332/media/java/android/media/MediaFile.java Other types are listed here: https://en.wikipedia.org/wiki/M3U#Internet_media_types
Anyway, does GC really have to actually deal with the .m3u file directly? Can't you just tell android "hey rescan this directory" and let the android media scanner deal automatically with all kinds of files it finds in there, as it does at boot (or when the SD card is remounted)?
Uhm, I checked the music players available in the f-droid repository but none seems to handle .m3u files the way we need. BUT, maybe you can have a look at Slight backup https://f-droid.org/packages/de.shandschuh.slightbackup/ it can dump/restore playlists to/from an XML format (I use it often and never had a problem), so I guess it can somehow update the playlist data in the mediastore. Ah, another link I found, maybe useful, maybe not... https://stackoverflow.com/questions/3300137/how-can-i-re...
Maybe this can help? https://stackoverflow.com/questions/19929827/android-doesnt-see-playlist-m3u-file?rq=1