|
Post by lakristrolle on Nov 25, 2013 5:13:48 GMT -5
Hi,
I just gave GMMP a try and it's a really nice music player.
I did however encounter a bug. No album art is displayed in the home screen widget. The art shows up all right everywhere else.
The following error message is logged in logcat:
E/BitmapFactory( 984): Unable to decode stream: java.io.FileNotFoundException: /storage/emulated/0/gmmp/albumart/temp_widget_album_art0.jpg: open failed: EACCES (Permission denied) I/System.out( 984): resolveUri failed on bad bitmap uri: /storage/emulated/0/gmmp/albumart/temp_widget_album_art0.jpg
The directory /storage/emulated/0 is incorrect, on my phone (Nexus 4 with KitKat) it's /storage/emulated/legacy.
However creating a symlink 0 -> legacy doesn't help, no album art is displayed and the exact same error message still appears, so it might not be related to the real problem.
/lakristrolle
|
|
|
Post by GoneMAD on Nov 25, 2013 10:11:34 GMT -5
yeah i discovered that this weekend. It should only be an issue with 4.4.. google did change around the permissions for reading from the storage.. however GMMP does request that permission. Widgets work sort of independently of the main app so i believe its a bug google introduced where widgets dont have read access from the storage (GMMP just gives a location to the image view to open)
I have a solution that i planned on doing tonight/tomorrow, but it definitely is annoying that google let a bug like this get by
edit: oh and /storage/emulated/0 is correct... /storage/emulated/legacy points to /storage/emulated/0 (this started around 4.1 or 4.2). These paths are not hardcoded.. its the location returned from the android apis for getting the storage directory
|
|
|
Post by GoneMAD on Nov 25, 2013 22:20:05 GMT -5
i just pushed a fix.. should be live in a few hours
|
|
|
Post by lakristrolle on Nov 27, 2013 8:06:17 GMT -5
Now it works great!
|
|