[SOLVED]Android App and Album Art.

Need help? Post your questions here.

Moderator: moderators

[SOLVED]Android App and Album Art.

Postby lazarost » Wed Jun 01, 2011 11:49 am

Hi to everyone,

I just recently started using Subsonic and loving it so far. Already donated as well, because the potentials for this program are limitless.

Now to my problem.

Although Album Art is displaying fine on both the server and the android app, it seems that the android app insists on downloading that .jpg and renaming it to folder.jpeg although the album art on all my albums, which resides in the directory of each album, is named AlbumArt.jpg .

That creates a few issues with the new Google Music App, where it's a gamble if ιt will pickup the album art or not (probably has something to do with spaces on directory names) and also I'd like to have the albums appear on the native app but not the album art on the gallery app.

I understand that most people do have the need for folder.jpeg for their Windows machines, but the default for Android is indeed AlbumArt.jpg .

Although I could embed all the jpgs into APIC tags and delete the .jpgs from each directory after that, which would ensure that the native app picks up the correct album art, but all of that seems counter intuitive and time consuming.

So is there an option somewhere that I can force the android client into saving the album art into AlbumArt.jpg ?
Last edited by lazarost on Thu Jun 02, 2011 11:24 am, edited 1 time in total.
lazarost
 
Posts: 14
Joined: Wed Jun 01, 2011 9:49 am

Postby lazarost » Thu Jun 02, 2011 11:23 am

Although clearly there has to be a better way for what I wanted to do, I came up with a solution that works for me.

First I had to put all the album covers into every single mp3 of my collection.
Mind that I use linux, so I really don't know how this is supposed to go for windows.
Code: Select all
find . -name *.mp3 -execdir eyeD3 --no-tagging-time-frame --add-image=AlbumArt.jpg:FRONT_COVER '{}' \;

Basically this command finds every single mp3 from the various subdirectories, and then executes eyeD3 (a command line mp3 editor) for each one, looking for AlbumArt.jpg from the current subdirectory to embed as front cover into every mp3 file.

After that was finished (it took some time), then I had to make a script for my android phone and tablet.
Code: Select all
#!/bin/sh
find /sdcard/subsonic/music -iname "folder.jpeg*" | while read f; do mv  "$f" "`dirname "$f"`"/AlbumArt.jpg; done


I saved it to the sdcard as covers.sh and chmod 700 . Then you can execute it as:
Code: Select all
sh covers.sh


All that it does is to look for folder.jpeg files into the /sdcard/subsonic/music subdirectories and renaming each one to AlbumArt.jpg

That way, all my albums now display correct covers when viewed through the native music app (cause of the APIC tag) and also the Gallery app no longer displays a myriad of album covers.

Hope this helps somebody else as well.
lazarost
 
Posts: 14
Joined: Wed Jun 01, 2011 9:49 am


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests