This will scan any music folder grouped as Artist/Album/## Title
It’s intended for anyone who uses iTunes to organise their music.
iTunes Scanner.py.zip (720 Bytes)
Inaugural forum section post btw. Wooh!
Thanks for the post and for the scanner, spaceman!
Awesome, thanks!
Will this also catch “## - Title” named mp3s?
And does this then totally ignore last.fm for matching artists? (I ask this because the default music scanner butchers about half of my music collection that isn’t commercially available or on last.fm)
Yes.
No matching is done by the agent. You can use this in combination with Last.FM
Sorry to ask such a dopey question, but where does this file go? I put it in the scanners directory, but nothing seemed to happen. Thanks!
You did read the [sticky](http://forums.plexapp.com/index.php/topic/19396-how-to-install-a-custom-scanner/) right? You might have to close the Media Manager and re-open it before the new scanner is available in the drop down.
it doesn’t work for me… i put it in the right folder, i can choose it as the Media Scanner in PMS, but after creating a new section, nothing happens (it’s “finished” scanning after a few seconds and there’s nothing at all…)
help?
Hi - bit of a dumb question - and I guess I might have missed the point of this - but if my music is ‘in’ iTunes and I use Plex to play it via the iTunes music plug-in - what benefit does this give me?? Thanks for your patience!
Same issue here.
Did you guys create a music folder in the scanner folder? It should be Scanners -> music -> iTunes Scanner
yes. i can actually find the scanner in the PMS and select it when adding new sections. but it won’t find any music…
If you’re having trouble please post a log file: ~/Library/Logs/PMS Plugin Logs/com.plexapp.agents.localmedia.log
Hard to guess what’s wrong without it,
FWIW, my iTunes collection is stored an a local Drobo (FW800). Thanks.
found the solution:
The folder where the iTunes Library xml file is stored matters, not the actual music itself. just add the folder with the xml file to a new music section, and it will automatically find all your music thats in itunes.
however… your scanner seems to have a problem with sorting Bands/artists with special characters (such as äüöæéèà etc) in their names. they just appear “nameless” as the first artist.
other than that, it looks good!
Tried the above, still a no go for me.
Great scanner, thank you! Now it seams I’m finally having my whole Library in Plex. Awesome
I used to have the same problem, due to a line in the scanner that looks for "iTunes Music Library.xml", a subset of iTunes Library.xml.
My database, I don't know why, does not contain iTunes Music Library.xml (there should be a way to generate it, but I don't know how.
I just changed the line in the scanner,
iTunesXML = 'iTunes Music Library.xml'
replacing with
iTunesXML = 'iTunes Library.xml'
saved it, and it worked. :D :D
I must say that it recognizes just perfect files and folders with artist, album and track tag.
In my case, it lost many files not well tagged, like unknown albums, bad numbered tracks, etc.
And, Last.fm, AFTER the scan, cuts out many files it doesn't find in its archives.
Anyway, thanks a lot Spaceman. :lol: :lol: :lol: I encourage you to improve this IMPORTANT scanner, at least until a future release of Plex, capable of managing the iTunes folders as it does for the "indipendent" ones, I mean, with the same features. First of all, the possibility to search songs, artists, albums, and so on. :o
Thank you Spaceman, this finally worked for me! The regular scanner would just not find a good deal of artists and also only find some albums by artists. I edited the xml as maurigug suggested and this finally worked for me. Additionally, I had to add a new music section and remove it a few times before it would scan all artists. Also as pooploser said I pointed PMS to the folder where iTunes Library.xml was as my media is on a separate partition. So thank you to all!
First off, let me say thank you for writing this awesome scanner. While it does a great job scanning and manages to add all of my music, I have a strange problem when I try and play it back. The scanner seems to add and extra forward slash to the path of all of the music files, which causes playback to fail on every platform, since the server can’t find the music file. I’m using a library from iTunes 10.3, which stores the file paths like this “file://localhost/D:/Media/Music/2%20Bad%20Mice/Hold%20it%20Down/01%20Hold%20It%20Down.mp3”. I’ve also attached a log from a partial scan which shows the problematic paths being added to the Plex library. I’ve tried playing around with the scanner a bit, but I’m not really familiar with Python or how Plex handles file scanning, so it would be great if someone could help me out in finding a fix for this. Thanks!
Also, I’m running this on a computer with Windows Server 2008 R2.