janbar / noson-app

The essential to control music from your SONOS devices on Linux platforms
GNU General Public License v3.0
334 stars 28 forks source link

Request storage permissions on Android #218

Open AntiGuide opened 1 month ago

AntiGuide commented 1 month ago

The app does not actively ask for permissions to access the device storage. This results in music only being recognized in /storage/emulated/0/Android/data/io.github.janbar.noson/flies/Music but not in /storage/emulated/0/Music.

janbar commented 3 weeks ago

Root cause is Android >= 11. From Android 11 the external storage (removable card) is no longer accessible by the app. Google has changed the behavior, because the external storage can be removed online, and so it crash the apps accessing the external storage.

Solution: You have to put your music files in the internal storage of the device (internal disk) and not in the external flash card.