This appears to be a file permissions issue on the Android app side of Subsonic. The behavior seems somewhat random, but I believe this is the problem. The Subsonic is writing a file to the sdcard and the permissions are being set to "-rw-------" for files and "drw-------" for directories. On my phone the owner:group is "app_16 app16". After reboot, the permissions seem to change back to "-rw-rw-rw-" for files and "drw-rw-rw-" for directories. I believe this happens when Android OS mounts the SD card at bootup. I'm not sure who the user/group "app_16" is.
I wrote a small script which changes the permissions to global read and the files become playable again. Unfortunately this seems to require root privileges.
- Code: Select all
su
chown -R 666 /sdcard/subsonic/music/*
exit
The problem with this is that every time a new file is downloaded with bad permissions, you have to run this, which gets old quick.
I've seen some other threads where this might be an issue with permissions in the OS, but something has changed on ICS as gingerbread and prior worked great for me.
I've been looking through the Android Subsonic App source code, but haven't seen anything yet, though I know very little about java really. This issue may be on the Android side.
Galaxy Nexus 4.0.4 (leaked ROM)