Archive for the ‘iTunes’ Category

Restore old itunes library ratings

July 22, 2009

So I finally got around to try and recover all my hard work on my smart lists that was done on my Scaleo machine that died.  I recovered the itunes library (the .itl, .xml and .itdb files).  One small problem though, in the mean time I have started a new library for itunes which I sync with an iphone and also with new ipods.  All good and well as I have my songs and I can sync – but I want my old smart playlists and my ratings.

I thought about trying a couple of things like copying the playlists from the old xml file into the new one and see if iTunes can recover it.

The one thing that did work to recover my old smartlists was to use the functionality of iTunes!  Just go to File->Library->Import Playlist then browse to the xml file of your old library and pretty soon you will see your old playlists again.

I then had to find a way to save the ratings from the old library to a file or something and restore it to the new library.  Wel it turns out I found something even better.

iTSfv – iTunes Store file validator

This little program just restored all my ratings (and it looks like even playcount) from my old iTunes library!

It has other functionality as well:

  • save the ratings and other tags in the library and you can restore it later (like if you start a new library or computer)
  • import music based on a schedule
  • check for files with missing lyrics, album art, etc
  • adjust the ratings of files automatically based on play count (very cool!)
  • some other functions which I haven’t look at yet

So if you are looking for a way to backup your hard work to rate all your music in iTunes or restore it from an old computer onto a new computer – then this software seems like it will do the trick!


My Movies and Music

January 15, 2007

On Day 6 I decided to give the Music interface a rest.  I did email MCETunes about the play count and last played information sync  between iTunes and MCE and they replied they will look into it.  The only other change I made was to move songs from a “favourites” playlist in iTunes to a “Favourites” playlist in WMP so it is available in MCE.  This is just a normal playlist with the songs that my wife and I currently enjoy to listen to.

So I decided that the next step must be to install “My Movies” and download covers and information on my video files that are in mp4 format so I can sync them to my ipod.  Basically I’ve got all my DVDs in mp4 format and never actually insert the DVD again unless I want to watch a movie in full surround sound.

I installed the plugin, but to be honest I just couldn’t figure out how to get it to download covers for movies on my hard drive.  It works perfectly for DVDs that you insert.  It puts the DVD’s information in a database so you can select the DVD again at a later stage and then MCE prompts you to insert the DVD.  I also got a strage dialog everytime I went into the “Manage collection” program.  The dialog box said something about new data provider  and that the application will restart.  I pressed OK and nothing happened again.  I tried this several times over the weekend, but couldn’t get into that application and couldn’t find anyway of importing the movies in the MCE interface.

So I decided to get the EPG working next.

iPod to iTunes to WMP

January 12, 2007

I still sit with the dilemma that I have 2 video ipods and 2 music ipods that I have to sync with iTunes. Why you might ask? There are other utilities for windows – there is even a plugin for WMP. Well, the problem is that none of the other software can create smart playlists on the ipod. The can auto update on the ipod anyway. All of them can copy these smart playlists only as normal playlists.

I spent a lot of times to create on master smart playlist which is based on a couple of sub smart and normal playlists to create myself a “mix” playlist. This is done based on the number of times I or my wife have played a song on the ipod or in iTunes, the ratings, the date it was last played, whether it is in a specific playlists with my current favourites, etc. I finally then end up with a smart playlist with a combinantion of my favourite music, the songs I have rated highly, songs I haven’t heard in a while, excluding songs I’ve listened to in the past week, excluding songs I normally skip, etc etc.

I cannot imagine using my iPod anymore without this one smart playlist (based on the other playlists) because this is the only playlist I basically use on the iPod.

If I stop using iTunes I will lose all of this functionality on the iPod and I still listen more to music on the iPod than on the Media PC / HTPC.

Last night I decided to give MCETunes a go.

I installed the trial which is limited with some functions and only work on 20 songs from your iTunes library. The 20 songs were immediately available in WMP with their ratins and the correct artist and titles. From what I could see it looks like MCETunes imports the iTunes library into WMP in some manner. The one thing that I noticed was that playing a song back does not update the iTunes library. Not too a big of a problem so I went ahead and bought the Pro version (the website is a bit shocking and doesn’t really explain the program very well – I was hoping that the Pro version might update the play count and date last played in iTunes because I understood from the website that MCETunes uses iTunes to play the music – if this is the case then the playcount should be updated in the library)

I installed the Pro version, but unfortunately it still did not write back the play count or the last played information. And this was when I realise that the plugin does not import the play count and the last played information from the iTunes library at all!

So actually all the plugin achieved for me was to have the iTunes music library with its ratings for the songs available, but no playlists, no play counts, no last played date! This is so disappointing.

I gues I’ll have to try MusicBridge next.

Moving iTunes library and music to the new computer

January 12, 2007
  • First step was to connect my external hard drive (Lacíe 500gb) with all my music and videos to the new HTPC
  • Next I copied my itunes library to the new PC (anywhere for now). Look in iTunes under Edit -> Preferences and then Music location where the library is. It should be two files called iTunes Library.itl and iTunes Music Library.xml
  • Before the next steps I made sure iTunes is closed. It will make a mess if iTunes is open while I did the following steps.
  • The drive letter of my music and videos are not the same as on my old PC, so I needed to change this location. You cannot do this from within iTunes without re-importing all the music and losing all my ratings etc in the process. So to keep my ratings, play counts etc the was done
  • The .itl file is the actual iTunes library
  • The .xml file is a backup of the iTunes library and can be edited using a text editor (I use Notepad++)
  • Luckily some very clever people on the forums posted that if the .itl file gets corrupted then iTunes will rebuild its library from the .xml file
  • So all I needed to do next was to open the .itl file in a text editor and select all the funny looking characters inside and delete it all and save.
  • As explained my drive letter changed for my music from the old machine to the new one. So I opened the .xml file and search and replaced G:/ with I:/ and then saved the file (notice the forward slash)
  • Ofcourse in this case my backup of the library is on the old computer. If you want to change drive letters on the same PC you have to make a backup of the .itl and .xml (just in case).
  • The next step was to copy the empty .itl file and the modified .xml file to the iTunes library location on the new machine. I kept iTunes closed at this point! It is normally located under my documents\my music\iTunes.
  • Once I copied it to this location I also copied any files on the old computer under the \iTunes Music and the \Album Artwork directory to the same directory on the new computers (My documents\My Music\iTunes\iTunes Music and ..\Album Artwork). You’re podcasts and any files you’ve ripped using iTunes will normally be in this directory. I assume the Album Artwork is a directory with artwork downloaded by iTunes.
  • OK, finally everything was copied or modified. All that remained was to open iTunes.
  • After opening iTunes it started with a progress dialog box saying “Importing “iTunes Music Library.xml””
  • This took a while (…. forever)
  • Finally it gave a message saying that the itunes library was corrupted and that it was rebuilt.
  • I check the library and it had all the playlists, ratings, playcounts etc.
  • I sucessfully moved all my songs as well as the play count, ratings and date last played information from my old computer and itunes to the new PC.

Next?  How do I get this to play in MCE and update the playcounts etc?

How to play MP4 in WMP

January 11, 2007

So after installing iTunes and consequently Quicktime I couldn’t play mp4s anymore with WMP.

Here is how you fix it.

  • Firstly, if you haven’t installed 3ivx or the Quicktime alternative referred to in a previous post, then install this first.
  • Secondly, copy and the text below and paste in a new text document. Save it as something like mp4files.reg (make sure you’ve changed the extension). Double click it and select yes. You’re mp4 files should play again with WMP.

Windows Registry Editor Version 5.00

“Content Type”=”video/mpeg”







“MediaType.Description”=”Movie Clip”
“Shell.Open”=”/prefetch:9 /Open \”%L\””
“Shell.AltVerb.Cmd”=”/prefetch:9 /Play \”%L\””

“MediaType.Description”=”Movie Clip”
“Shell.Open”=”/prefetch:9 /Open \”%L\””
“Shell.AltVerb.Cmd”=”/prefetch:9 /Play \”%L\””

You can download the file here – MP4 Files Registry Settings

Rename the file to mp4files.reg and double click to merge into the registry to play mp4 files in WMP.

Day 4

January 11, 2007

OK, so on Day 3 I didn’t manage to do much on the Scaleo.

Today I’m going to install iTunes and try to get all the ratings etc into MCE. There are a few reasons why I want to use iTunes:

  • I have no DRM songs bought through the iTunes stores, all my music is ripped from CDs, but….
  • I do use an ipod and as explained in the previous post it is important for me to keep all my fancy smart playlists that I’ve created in iTunes. Yes, yes, I know WMP can create the playlists, but then I lose all the the playcount etc information from my ipod. You see I’ve actually got 4 ipods between myself, my wife and the kids and I want all of the play counts, dates played, songs skipped etc to be available in one place. The only way I can do that is to sync my ipod with iTunes.
  • The other reasons is that I’ve been waiting for the iTV (now Apple TV) to be launched since it was first introduced in September 2006. I can then use this as my media player in all the other rooms of the house. Why? Based on my experience with the ipod the AppleTV will be a great interface and easy to use for the rest of the people in the house.

After a bit of research I found there are two solutions:

Here are the steps I followed:

  • First step is easy – install iTunes. Actually this was a harder decision than it sounds like. I wanted to keep the HTPC as clean as possible. I don’t want to install to many applications onto the Media PC.
  • Made the error to think I can uninstall Quicktime – iTunes does not work without Quicktime. Reinstall iTunes again.
  • After installing iTunes, I can’t play mp4s in MCE anymore! Aaauugh!
  • Reinstalled the 3ivx decoder – still doesn’t play.
  • Restart……
  • OK, so even after the reboot and a couple of re-installs of 3ivx I still can’t play mp4 videos in WMP.
  • So still at step 1!

Day 2

January 11, 2007

Decided to get MCE set up to play back music and videos.

Most of my videos are converted to MP4 to work with my ipod. Luckily I’ve encountered the problem before that WMP doesn’t play MP4 without the necessary codes.

I installed the 3ivx decoder and voila I could play the MP4s in WMP. I fired up MCE and browsed to “My Videos”. None of the videos showed up. A lengthy search on the Internet and I figure out that I need to make a change to the registry. This is the registry change to get MCE to show and play MP4 files (provided you’ve installed an appropriate decoder ofcourse)

Here is a quote from the AVS Forusm FAQ

[b]Q. How to play .mov files in MCE2005?
If you have QuickTime installed, you will need to unistall it.
Download and install Quicktime Alternative v1.42 /
– Untick install media player classic (you are already using WMP10)
– Associate .mov with windows media player
Edit the registry by adding in KEY_CLASSES_ROOT\.mov\
the a new string value “PerceivedType”, type REG_SZ; remember to set its value to video.

I obviously just replaced .mov with .mp4 and it worked. Ofcourse you can also try the Quicktime alternative referred to above.

Next I imported all my music files, just to realise that I’ve got some work to do on the music. All my music is tagged in iTunes with ratings and I use smartlists extensively to generate a “mix” playlist based on play counts, date played, songs skipped, year of the songs, etc.

Unfortunately I can’t replace iTunes with WMP because I have to sync my iPod with iTunes due to these smart playlists that I use.

I’ll post about how I solved this problem….. once I’ve solved it!