Quote:
Originally Posted by middlemo88
What's easiest way to add album art to music on phone? Is there a software that will scan through the songs and download album art for it specifically?? Thanks
|
well if you have
Mortscript 4.1 installed...it's easy:
Code:
Root = "\Storage Card\Music\"
Foreach ArtistDir in Directories (Root \ "*")
Artist = replace(ArtistDir,Root ,"")
Foreach AlbumDir in directories (ArtistDir \ "*")
Album = replace(AlbumDir,ArtistDir & "\","")
If (FileExists(AlbumDir \ "folder.jpg"))
#message ("yes")
Else
Sleepmessage (1,Artist & " " & Album,"Download Album Art")
thepath = "\Program Files\MortScript\"
thefile = "dl1.html"
connect("The Internet")
Download("http://albumart.org/index.php?srchkey=" & Artist & "+" & Album & "&itempage=1&newsearch=1&searchindex=Music",thepath \ thefile)
mainleft = find(strParse,"main_left")
arttitle = find(strParse, "title=", mainleft)
if (arttitle>0)
srcstart=find(strParse, "src=", arttitle)
imagestart = srcstart + 5
imageend = find(strParse, ".jpg", imagestart) + 4
imagepath=substr(strParse,imagestart,imageend-imagestart)
Download (imagepath,Root & Artist & "\" & Album & "\folder.jpg")
endif
Endif
Endforeach
Endforeach
Exit
copy and paste into notepad then rename with extension .mscr and change "Root" to where your music files are located and wallaa it will scan your music directory and insert album art....
if having issues connecting then perhaps changing line 12 connect("The Internet") ------> connect("Internet")
hope this helps
or did you want to insert the album art into the id3 tag?