View Full Version : AlbumArtSync - Copy ALL album art from PC to Phone
littld
15th September 2009, 01:49 PM
Presenting a simple little vb script (yes, these can be dangerous so tread carefully) which successfully copies over all those little "folder.jpg" files from your computer to your phone.
Works for S2P, Nitrogen, Windows Media Player, HTC Audio Manager and probably all the other more obscure ones as well.
What it does:
It looks though all your music folders in your phone and copies the album art over from your PC
It doesn't copy them if they're already there (clever, huh?) which makes it very quick
What it doesn't do
It doesn't organize playlists, sort things into alphabetical order or play music or anything like that
How to use it:
1. Extract the file "AlbumArtSync" from the zip attached below and then double click it to run it. You can read it line by line first if you like
2. Follow the instructions - specify a source folder (e.g. your music folder) like this:
http://forum.xda-developers.com/picture.php?albumid=610&pictureid=2237
3. Select a destination folder (this might be an F:\Music folder, for example. It doesn't work with activesync but does work with cards and it works if you attach your device as a "Disk Drive" if you get that option.
http://forum.xda-developers.com/picture.php?albumid=610&pictureid=2238
4. Wait for it to complete. If successful, it will tell you how many albums it has updated. Like this:
http://forum.xda-developers.com/picture.php?albumid=610&pictureid=2239
Some more useful notes
1. If you don't organize your music into folders like "artist\album\track" then this isn't for you
2. If you don't understand point 1 (above) then it probably isn't for you
3. If you use embedded album art with media monkeys, this might not be for you either
3. If you don't have album art or don't want it, then you don't need this
4. If your albums have lots of odd characters in the names like "*[{" then it might not work. Hint: rename them.
5. If you sync your music another way like a perl script on a quad-processor Linux wristwatch computer on your home wireless network then that's nice, you're very clever but this isn't really for you either
6. If someone has stopped you from running vbs scripts on your work computer, I can't help you
If you (like me) just use built-in Windows Media Player to sync playlists and tracks but it refuses to ever copy the album art, don't want to waste a lifetime trying workarounds (that don't) and don't want to embed 1200 or so MP3s and WMAs with jpegs which behave perfectly well outside the music file then this MIGHT be for you.
brunoisa10
15th September 2009, 03:37 PM
good idea
does it extract the album art from MP3 ?
Does it make one directory by Artist ? with the Album art in it ?
I'll try it this evening :P
littld
15th September 2009, 05:08 PM
good idea
does it extract the album art from MP3 ?
Does it make one directory by Artist ? with the Album art in it ?
I'll try it this evening :P
No, it will only take album art which you already have on yur PC and copies it to your device if that music is on your device. Windows Media Player usually creates the file on the PC all by itself. One directory per album per artist.
brunoisa10
15th September 2009, 07:49 PM
tested
result : no album art copied :(
hanackin
15th September 2009, 09:37 PM
thanks a lot this can be really useful :cool:
quicksite
16th September 2009, 02:52 AM
This looks fantastic -- and highly-needed! Damn, looks like I have to go use my PC for this... I say this because on my Mac I purchased last year a great album art search and download app for itunes called "TuneUp" -- and that gizmo has practically filled every album art vacancy in my library.
Do you happen to know how I can (a) first get & make all that album art work on my PC's version of itunes?... Is that easy to do? Any hints?
(b) ... then I could use this tool you've created to get them to my WM phone, right?
copies over all those little "folder.jpg" files from your computer to your phone. Works for S2P, Nitrogen, Windows Media Player, HTC Audio Manager and probably all the other more obscure ones as well.
http://forum.xda-developers.com/picture.php?albumid=610&pictureid=2237
littld
16th September 2009, 09:52 AM
This looks fantastic -- and highly-needed! Damn, looks like I have to go use my PC for this... I say this because on my Mac I purchased last year a great album art search and download app for itunes called "TuneUp" -- and that gizmo has practically filled every album art vacancy in my library.
Do you happen to know how I can (a) first get & make all that album art work on my PC's version of itunes?... Is that easy to do? Any hints?
(b) ... then I could use this tool you've created to get them to my WM phone, right?
Okay, TuneUp will have created all those album art pictures embedded in the music files. I think if they are mp3 and you can import them into Windows Media Player then it should create those folder.jpg files for you and then it should hopefully work. Good luck.
quicksite
16th September 2009, 10:28 AM
Okay, TuneUp will have created all those album art pictures embedded in the music files. I think if they are mp3 and you can import them into Windows Media Player then it should create those folder.jpg files for you and then it should hopefully work. Good luck.
Thank you! ... D'OH! I just googled "TuneUp art Mac to PC" and found out TuneUp is for Macs AND PC's ... I forgot about that!
http://the-gadgeteer.com/wp-content/uploads/2009/02/tuneup-fp.jpg
This is from a review at The Gadgeteer from February 2009 (http://the-gadgeteer.com/2009/02/15/tuneup-itunes-library-management-plugin-review/):
TuneUp is compatible with both PC and Machttp://images.intellitxt.com/ast/adTypes/2.gif (http://the-gadgeteer.com/2009/02/15/tuneup-itunes-library-management-plugin-review/#) versions of iTunes
So I am guessing this will be even easier now... As an FYI for all those who've never tried it, I tried so many freeware utilities and scripts that would automatically transfer a song's title into a google image query, or amazon CD query, and the results were never very satisfying. Yes, maybe 10% of the time such freeware would find matching artwork, but it got to the point where I looked at the amount of labor and mental focus it took to find the art, drag it into itunes, etc. ... fwiw, I think TuneUp is one of the best software utilities I've purchased in over 20 years.
Sorry, this wasn't meant to be a commercial... it;s just that finally with your new app, having artwork on players like NITROGEN or the brand new version of S2P would greatly improve the usability of sorting visually by album art.. thus the more artwork available, the merrier. Thanks for your fast reply! Cant wait to try this.
jackleung
23rd October 2009, 01:04 PM
Thanks! This is exactly what I am looking for since I spent days without any solution to get album arts sync.
But my mp3 structure is a bit different as I listen to multiple language and divide them into folders before artist. So I modify the script a bit to fit mine (sorry it's a bit mess as I don't know VB but c/c++). Maybe someone found it helpful and modify to suit his/her need as well.
'AlbumArtSync, littld, Septemer 2009, Verson 1.0
'Provided as-is
'Use this at your own risk
'No warranty, guarantee, not even a "it will work"
'I don't promise it will be useful. It doesn't have to look nice either.
'I am not liable for anything at all
'I have no idea what country you are in and have no idea what crazy laws you may have
'and I have no intention of finding out
'If you are in any doubt, don't use it. Walk away. It's your computer, not mine.
'Provided freely for personal use only, unless you like updating your phone in small groups
Dim MyVar
Dim MyInput
Dim Shell
Dim i
Set Shell = WScript.CreateObject("WScript.Shell")
'1. Obtain the source and destinationflders from user input, checking first for registry entry
On Error Resume Next 'in case no registry entry exists
strRegSourceMusicFolder = "HKCU\Software\AlbumArtSync\SourceMusicFolder"
strSourceMusicFolder = Shell.RegRead (strRegSourceMusicFolder)
strRegDestMusicFolder = "HKCU\Software\AlbumArtSync\DestinationMusicFolder"
strDestMusicFolder = Shell.RegRead (strRegDestMusicFolder)
if strSourceMusicFolder = "" then strSourceMusicFolder = Shell.RegRead ("HKCU\Software\Microsoft\MediaPlayer\Preferences\Se archPath")
On Error GoTo 0
strDestMusicFolder = "j:\Music\"
Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
if Not objFSO.FolderExists(strDestMusicFolder) then
WScript.Echo "Destination Music Folder '" & strDestMusicFolder & "' does not exist, exiting"
WScript.Quit
end if
Set objDestFolder = objFSO.GetFolder(strDestMusicFolder)
'sort out string variables
destLen = Len(objDestFolder.Path)
strSourceMusicFolder = "\\192.168.2.2\Qmultimedia\Music\MP3\English\"
GetSourceFolder
strSourceMusicFolder = "\\192.168.2.2\Qmultimedia\Music\MP3\Chinese\Misc"
GetSourceFolder
strSourceMusicFolder = "\\192.168.2.2\Qmultimedia\Music\MP3\Chinese\Female"
GetSourceFolder
strSourceMusicFolder = "\\192.168.2.2\Qmultimedia\Music\MP3\Chinese\male"
GetSourceFolder
strSourceMusicFolder = "\\192.168.2.2\Qmultimedia\Music\MP3\Japanese"
GetSourceFolder
Sub GetSourceFolder()
'check if the source folder exists
Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
if Not objFSO.FolderExists(strSourceMusicFolder) then
WScript.Echo "Source Music Folder '" & strSourceMusicFolder & "' does not exist, exiting"
WScript.Quit
end if
'2. Enumerate the destination folders and check for album art
Set objSourceFolder = objFSO.GetFolder(strSourceMusicFolder)
ShowSubfolders objDestFolder
End Sub
Sub ShowSubFolders(Folder)
For Each Subfolder in Folder.SubFolders
destPath = Subfolder.Path
partialDestPath = Right(destPath,Len(destPath)-destLen)
'check first for the existence in dest of the folder.jpg file
Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
If Not objFSO.FileExists(destPath & "\folder.jpg") then
'check for existence in source of the folder referred to in dest
sourceFile = strSourceMusicFolder & partialDestPath & "\folder.jpg"
if objFSO.FileExists(sourceFile) then
'copy the file from source to dest
objFSO.CopyFile sourceFile , Subfolder.Path & "\" , True
i = i + 1
end if
end if
ShowSubFolders Subfolder
Next
End Sub
if i = 0 then WScript.Echo "No album art copied" else Wscript.Echo "Finished copying album art for " & i & " albums"
littld
23rd October 2009, 01:11 PM
great stuff, glad you've been able to reuse this.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.