iTunes Library Manager



Show first post
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

112 replies

Userlevel 3
Badge +7
ucdscott,

Regarding the command line feature that you have requested, I am curious about how you would use this. Are you aware that the iTunes Library.xml file is only updated when iTunes is closed and that there is a feature within my app to auto detect the closure of iTunes. If configured to do so, when iTunes is closed the application auto pops up from the system tray if any of the configured library files have been modified. The app then gives you the option to process the library XML file. I don't see any point in scheduling a daily auto-process via the command line as there will be no change in the source iTunes Library.xml file if iTunes has not been opened between two consecutive scheduled runs. I just feel the most appropriate time to process the XML file is upon closure of iTunes and my app already provides a feature to kick in at this time. If you can convince me of the benefits of a command line feature I will consider implementing it over Christmas.

Out of interest would you expect to see the GUI when running the app from the command line? The GUI would be needed if the user chooses to 'select playlists' upon processing.

Out of interest are you using my app to simply choose which playlists are transferred to Sonos or are you also using it to map lossey files to their lossless equivalents? Since upgrading to iTunes Match I have personally stopped using this feature. This is because Matched AAC files have the same extension (m4a) as Apple Lossless files. I now have an iCloud share (I:\ drive) that stores all my iTunes Match AAC files and a Sonos share (S:\) that stores my Apple Lossless files + copies of the iCloud tracks that I do not have Apple Lossless equivalents of. I am now letting iTunes organise my files on my I:\ drive and my S:\ drive has the identical structure, with iCloud tracks essentially replaced with Apple Lossless equivalents. All of the file names on my I:\ and S:\ drives are now identical so path transformations are no longer necessary. Remember AAC files and Apple Lossless files have the same extension (.m4a).

As the Sonos indexer assumes all of the files referenced within the XML are located on the same share as the XML file itself, no path transformations are required. With my old setup I had to ensure paths ending with .mp3 were transformed to paths ending in .m4a whenever a lossless equivalent was found. This is no longer necessary.

Even if I wasn't using iTunes Match I would have a lossey share contains AAC 256kbps tracks and my Sonos share containing the same tracks with Lossless equivalents wherever possible.

Apologies for rambling on....

Darren
Badge
Hi Darren,

Answers in-line below. Thanks, S

ucdscott,

Regarding the command line feature that you have requested, I am curious about how you would use this. Are you aware that the iTunes Library.xml file is only updated when iTunes is closed and that there is a feature within my app to auto detect the closure of iTunes. If configured to do so, when iTunes is closed the application auto pops up from the system tray if any of the configured library files have been modified. The app then gives you the option to process the library XML file.


I am aware of this capability.



I don't see any point in scheduling a daily auto-process via the command line as there will be no change in the source iTunes Library.xml file if iTunes has not been opened between two consecutive scheduled runs. I just feel the most appropriate time to process the XML file is upon closure of iTunes and my app already provides a feature to kick in at this time. If you can convince me of the benefits of a command line feature I will consider implementing it over Christmas.


The benefits of being able to silently execute ITLM's process function at a specified time each day (e.g. five minutes before my scheduled Sonos library update) are twofold:

1. No need to have ITLM running constantly in the systray taking up space and using resources

2. No need to interact with the ITLM GUI (unless new playlists need to be selected or existing one removed)



Out of interest would you expect to see the GUI when running the app from the command line? The GUI would be needed if the user chooses to 'select playlists' upon processing.


No, as stated above in #2, I have no interest in seeing the GUI, nor should anyone else, if all I need to do is "Process."


Out of interest are you using my app to simply choose which playlists are transferred to Sonos or are you also using it to map lossey files to their lossless equivalents?


Only to choose playlists.

snip... Are you aware that the iTunes Library.xml file is only updated when iTunes is closed...


Darren,

As of a test I ran in May/June of 2012, I was able to re-index my Sonos Share from a iTunes-based NAS while leaving Laptop-based iTunes open and running.

I initially discussed this issue here (see Posts #s 8 & 9) : http://forums.sonos.com/showthread.php?t=28170

Also see Post #9 here: http://forums.sonos.com/showthread.php?t=30005

I saw the NAS-located .XML file updating and closing. After an iTunes music file change, I re-indexed Sonos and the new information was available without closing iTunes on the Win7 64bit Laptop PC I use.

This was using iTunes 10.6x at the time. All things can and do change with newer iTunes versions. PC vs. Mac and NAS vs. local drive could change the outcome as well.

It certainly appears that iTunes will update the .XML file on the fly, and release it for 'other' programs' use. At least it worked for my setup...

I have not tested this function since. My main PC remains on v10.6 and may move to 10.7 soon. I'm still evaluating 11.x...

Best of Luck
Badge
Thanks for the update. I will test it and post any issues I discover.

Also, if I encounter the "missing playlists" issues again, I will post any file you require to my web server.

Would be great if you can find time over your break to implement command line execution of the process feature that I requested in my previous post. Please let me know if you have any questions.

S


Missing playlists issue is back again. Please see screenshots here:

http://2101sander.dyndns.org/

Note that iTLM does not display the "Podcasts" playlist folder.

S
Userlevel 3
Badge +1
Darren, I still have an interest in your iTunes Library Manager app, and I have tried to contact you by PM on this forum, email, and even Facebook... To no avail! Would welcome a PM from you if you are still an active Sonos proponent?
Userlevel 2
Badge +2
Hi Darren
Where do I get the latest version from please. The last version available on the download page is from 2010

Thanks
Userlevel 3
Badge +7
I have changed webspace and the application is now available at:
http://www.darrenlink81.webspace.virginmedia.com/ituneslibrarymanager

I've personally stopped using the MP3 to Lossless mapping feature as I upgraded my iTunes library to AAC files (.m4a extension files) via iTunes match.

I now have an I:\ drive mapped to my NAS for the iTunes match files and an S:\ drive for Sonos use containing the same structure/files with Apple Lossless files where available.

I:\iTunes\Music
and
S:\iTunes\Music
are identical when comparing the filenames as AppleLossless and standard AAC files have the same extension (.m4a). (No need to map .mp3 files to Lossless .m4a files anymore)

Although iTunes (on my laptop) points to the I:\ drive the XML file can be saved to my S:\ drive (and works with Sonos) because the folder structures are identical. I have actually written another application (not posted online) to find any differences between my I:\ drive and my S:\ drive.

Darren
Badge
Darren,

Welcome back. I for one am glad to see you return. I still use iTLM to import my iTunes playlists into Sonos and anticipate that I will continue to use it until Sonos is able to import playlists natively.

Have you given any thought to implementing the GUI-less command line capability described in post #105 above?

Thx
Badge
HELP

None of the links to iTunes Library Manager seem to be working! Following a complete PC reinstall, I desperately need to download the software ASAP. Any help will be greatly appreciated.

TIA,


I am in the same boat! I find this app indispensable. I have a new PC and no copy of the executable file. I have copied the app, but it isn't working correctly (assume the .dll's all incorrect?)

Does anybody have a copy of the executable file please?

:?
Badge
Bump!
Badge
Thanks Darren

When I copied the application it didn't work and I don't have the executable file (I'm kicking myself). I'm not that techy with file transfers but have used WeTransfer and Dropbox to send larger files.

James