Active Topics

 


Reply
Thread Tools
Posts: 89 | Thanked: 26 times | Joined on Mar 2011 @ Chennai
#21
jokes apart and even i had album arts for my songs and it did showed up in the photos but i deleted those album arts via 'photos' and those were gone in the photos but still existed in the media player :P this happened for me dude :P
 

The Following User Says Thank You to redscorpionkiller For This Useful Post:
corduroysack's Avatar
Posts: 939 | Thanked: 366 times | Joined on Dec 2010 @ U.K.
#22
Originally Posted by richwhite View Post
So you don't have album art in the media player now, or you do?
Yes i deleted the album art in audio files, and used mussorgsky to re-get the album art. only problem being if you have 2 albums with the same title e.g. The Best Of or Joy Division Substance and New Order substance it sees them as the same and you can't pick the correct album cover.

just tried media player and someplayer and the album art is showing in both of these but not in images

Last edited by corduroysack; 2011-03-18 at 19:32.
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#23
Originally Posted by redscorpionkiller View Post
jokes apart and even i had album arts for my songs and it did showed up in the photos but i deleted those album arts via 'photos' and those were gone in the photos but still existed in the media player :P this happened for me dude :P
What, deleting them from the gallery doesn't remove them from the source folder?
 
Posts: 89 | Thanked: 26 times | Joined on Mar 2011 @ Chennai
#24
Originally Posted by richwhite View Post
What, deleting them from the gallery doesn't remove them from the source folder?
after deleting it i didnt check its source folder dude but the album arts still existed in the media player (even after multiple n900 restarts) ,,, this is for my n900 & am not sure of the others bro :P
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#25
Doh! - it was all so obvious now I've been reading these posts:

Do what mussogsky does - save your album art into a subfolder starting with a "." - eg ".mediaartlocal", and remove it from the audio directory.

Then they don't show up in the image viewer but the do in the media player when you play the album
__________________
May the source be with you.
 

The Following User Says Thank You to jedi For This Useful Post:
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#26
Originally Posted by jedi View Post
Doh! - it was all so obvious now I've been reading these posts:

Do what mussogsky does - save your album art into a subfolder starting with a "." - eg ".mediaartlocal", and remove it from the audio directory.

Then they don't show up in the image viewer but the do in the media player when you play the album
So where does the media player source the files from then? If we delete the art from the MP3 folders and put them in their own place, how does the MP know where to get them?
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#27
Originally Posted by richwhite View Post
So where does the media player source the files from then? If we delete the art from the MP3 folders and put them in their own place, how does the MP know where to get them?
For example:

Code:
/home/user/MyDocs/Music/Artist - Album/.mediaartlocal
/home/user/MyDocs/Music/Artist - Album 2/.mediaartlocal
/home/user/MyDocs/Music/Artist X- Album/.mediaartlocal
- for each folder of music, create a sub-folder named ".mediaartlocal".
- move all the *.jpg's into .mediaartlocal

At least, that works for me...
__________________
May the source be with you.
 

The Following User Says Thank You to jedi For This Useful Post:
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#28
Originally Posted by jedi View Post
For example:

Code:
/home/user/MyDocs/Music/Artist - Album/.mediaartlocal
/home/user/MyDocs/Music/Artist - Album 2/.mediaartlocal
/home/user/MyDocs/Music/Artist X- Album/.mediaartlocal
- for each folder of music, create a sub-folder named ".mediaartlocal".
- move all the *.jpg's into .mediaartlocal

At least, that works for me...
I just looked in filebox and there already is a .mediaartlocal folder. But not only is there that, the image is also placed 'loose' in with the tracks, so the gallery is reading it twice. This must be why redscorpionkiller managed to delete from gallery and still have the media player pick them up.

My next step is to check what albums do/don't have the .mediaartlocal folder and just create one for the missing ones. If they already do it'll be 'safe' to delete from the gallery.

Looks like redscorpionkiller was right - they can be deleted from the gallery without being lost from the device.
 
corduroysack's Avatar
Posts: 939 | Thanked: 366 times | Joined on Dec 2010 @ U.K.
#29
mine are all sorted now, i copied an empty mediaart file into each music file and moved the album art into it
 
jedi's Avatar
Posts: 1,411 | Thanked: 1,330 times | Joined on Jan 2010 @ Tatooine
#30
Here's a little script I've knocked up to search through your music directory and move any jpeg's it finds to a sub-directory called ".mediaartlocal/"

Code:
#!/bin/sh
MUSICDIR="/home/user/MyDocs/Music"
find "${MUSICDIR}" -iname *.jpg -o -iname *.jpeg | while IFS="" read FILE; do 
   DIRNAME=`dirname "${FILE}"`
   LASTPART=`echo "${DIRNAME}" | awk -F '/' '{print $NF}'`
   if [ "${LASTPART}" != ".mediaartlocal" ]; then
      if [ "$1" = "-d" ]; then  
         echo "${FILE} will be moved to ./mediaartlocal/"
      else
         echo "Moving ${FILE} -> ./mediaartlocal/"
         if [ ! -d "${DIRNAME}/.mediaartlocal/" ]; then
            mkdir "${DIRNAME}/.mediaartlocal/" 
         fi 
         mv "${FILE}" "${DIRNAME}/.mediaartlocal/"
      fi
   fi
done
  • Copy/paste it to a new file (eg /home/user/bin/hidemediaart.sh)
  • set MUSICDIR (on the line 2) to whereever your music is stored
  • make it executable:
    Code:
    $ chmod +x /home/user/bin/hidemediaart.sh
  • You can simulate a 'dry run' (ie no files will be moved) using the "-d" parameter:
    Code:
    $ /home/user/bin/hidemediaart.sh -d
  • Run it 'for real' - it will move and jpegs to a sub-directory called ".mediaartlocal/":
    Code:
    $ /home/user/bin/hidemediaart.sh
    And it will show you which files are being moved.

Usual warnings apply regarding damaging your phone, I'm not responsible etc

Edit:
I've also attached the file to download from this post - make sure you save it without the ".txt" extension.
Edit 2:
I've fixed a bug in the script (even in dry-run, it would create the .mediaartlocal dir)
Attached Files
File Type: txt hidealbumart.sh.txt (605 Bytes, 104 views)
__________________
May the source be with you.

Last edited by jedi; 2011-03-18 at 23:58.
 

The Following User Says Thank You to jedi For This Useful Post:
Reply

Tags
bada rox


 
Forum Jump


All times are GMT. The time now is 15:41.