View Single Post
  #11 (permalink)  
Old 10-01-2008, 07:28 PM
!Kernel Panic!'s Avatar
!Kernel Panic!
Lurker
Offline
Location: PA
 
Join Date: Aug 2008
Posts: 19
Reputation: 20
!Kernel Panic! is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: What's easiest way to add album art to music on phone?

Quote:
Originally Posted by middlemo88 View Post
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?
__________________


Last edited by !Kernel Panic!; 10-01-2008 at 07:40 PM.
This post has been thanked 1 times.