Tune Library
NOTICE:I am currently working on a book on plugin development, to be published in August 2012.Therefore, I will not have as much time available to support questions/feature requests on my plugins as I would normally have. I recommend that you read through all comments here, through the forum on the wordpress.org and through the FAQ before asking questions. I will try to answer a few questions on occasions but I cannot guarantee at what frequency this will be. Thank you for your understanding.
This plugin allows users to import the music information from their iTunes Library Library file into their WordPress database. Once imported, they can print the contents of their library to a WordPress page.
My Music section of this site uses Tune Library to generate its contents.
Donations
If you feel generous and really like this plugin, here is a donation link on Paypal:





I'm a tech enthusiast working in the modeling and simulation software industry. I'm also married and the father of two very energetic little girls.






sorry, for some reason the first line of code never printed above, this is at the beginning:
<!– Tune Library 1.4 Output –>
Hi Stuart, Can you check in your WordPress database if you have a table with the name wp_tracks (or potentially prefix_tracks) and if there are any records in that table?
Hi Yannick,
I just checked the database and the wp_tracks table is present with 2,406 records
Hello – it's been a while since I've installed and used tune library, but I seem to recall a version that did a good job caching the library list and rendering the page very quickly. Seems that with this installation, the plug-in needs to parse the entire xml file each time the page loads. My xml file is 20 gb btw. Any ideas? Thanks. – Larry
Hi Larry. No, there was no caching functionality in Link Library. The only thing that can help render pages faster is to check the options "Filter artists by letter and show alphabetical navigation" and "Use AJAX Queries (Useful for larger music collections)".
Hi again Yannick,
just wondering if you have had any more thoughts as to why tune library isn't displaying for me?
Many thanks
Stuart, Sorry for the lack of reply. I am jumping between a bunch of projects and trying to keep up with all user requests at the same time. I am kind of stumped on this one. Could you potentially send me a copy of your iTunes XML file so that I could try to upload it to my test server and see if I get the same problem? Use the Contact Form on the site to tell me where I can get the file. It would also be helpful to get a screenshot of your configuration to see if anything is out of place.
Hey Yannick, just wanted to let you know that I figured out what my problem was. I needed to go through and edit the properties of all the mp3's for those time life entries. I spent the last 4 days fixing my entire collection and now tune library is working like it is supposed to. thanks for lookin at the files I sent.
I love your plugin. I was wondering if there was a way to exclude the albums. I am building a site for a Karaoke company and they want a list of artists and songs. There are no album names. Just expand the artists and you would see the song list.
Let me know if this can be done, thanks!
No, this is not possible at this time. I might add this capability down the road but that definitely won't happen until the new year.
Did you ever figure out a way to do this? I’m doing a similar task for a music booking company and would like to be able to post an actionable online song list. Song, original artist, genre and this company’s band/artist name that would cover the song. Thanks!
Hello, having trouble importing a large itunes library (13,000 + tracks). It works ok when using a smaller library from my laptop. Are their any limits, or have you any suggestions
Thanks Paul
Hi Paul,
Well, PHP has a configuration setting that indicates the maximum memory size that it will be able to allocate to process data. If you have access to that setting, then try to increase it.
Yannick
Love the look of the plugin but am having difficulty getting it to work properly.
I had no luck importing my 20MB itunes library containing 15,000+ songs. I was getting an error saying “Filename cannot be empty” after it fried to upload the file for a few minutes. So I figured the library was too large for it to handle it all, so I edited it down to a much smaller size and tried again. This time is said that the import was successful, yet no items are returned on the page I’m using.
So next I converted the information I wanted out of iTunes into the CSV format as described in the plugin. The filesize was a much more manageable 1.5MB and seemed to import fine, the problem is that it only displays one entry from the CSV file, seemed to always return the song on the second line of the file.
Any ideas? Thanks.
Hi David. Sorry for the late reply. Have been very busy between work and home life. Can you send me the CSV file that you were trying to import so that I could run some tests in my development environment?
Hi there.
I have a question, WinAmp has an export for iTunes XML format. Do you know if this works with your iTunes plugin? Also if that should work, when I upload the file from the settings area nothing happens after it completes the upload. I would try importing the file from a directory on the host but there is no way to do that in there. Any suggestions?
Just wanted to add, wp_tracks is empty and it does not appear to be saving settings, example if I set it to show Expand/Collapse Icon Color black it won’t keep it. I also disabled, deleted, re-uploaded the plugin and activated it to try again. Same results.
Hi Shawn, can you send me a sample XML file produced by WinAmp so that I could run some tests with it here on my end?
No prob, sent you a full XML drop out of winamp using the itunes option. =)
Shawn, I just issued version 1.5.1 to fix the problem. The iTunes import was actually broke since I had released 1.5. I am surprised that no one else mentioned this to me.
OK I am stumped. I’ve tried using iTunes to import the XML and I’ve used a program called Mp3Tag to make a CVS and i always end up with this error
with the XML it’s on line 202, and CVS line 242
Warning: fopen() [function.fopen]: Filename cannot be empty in /home/killian/public_html/wp-content/plugins/tune-library/tune-library.php on line 242
and hints you can give me?
Hi Shane, well, first of all, Tune Library cannot import any CSV file from third-party applications. it can only accept CSV data that follows the template file that is provided in the plugin directory. Secondly, the error that you are getting seems to indicate that you did not browse to the CSV file location using the Browse… button before pressing “Import CSV Tune List”.