Hello, i'm desparately looking for some help with one of Erland's promising plugin : Custom Scan ;) I have read the documentation, looked through the forums but i did not find someone reporting the same problem as me. So i decided to post this message and ask the community.
Here is my setup first : - LMS : 7.9 compiled from February the 27th 2017 sources. - Erland's Custom Scan plugin v2.9.3901 (last stable) - LMS runs from a little ARM Cubox-i computer (a kind of Raspberry Pi) Here is the goal i'm trying to achieve : - i used to manage two music libraries : mine and another one for my girlfriend. Those were 2 itunes libraries. - i recently switched to LMS and put some speaker in every room. We did not use iTunes that much anyway. - i have created one large library in LMS (i set 2 Media Folders in LMS Settings / Basic settings tab) out of the two itunes libraries and installed Erland's "Multi library" plugin to simulate my library and my girldfriend's one. Eevrything is working fine up to this point :) - then i wanted to create the same kind of itunes dynamic playlist (based on ratings or listening staistics). So i installed even more of Erland's plugin : Dynamic playlists, SQL playlists, Track stats and Custome scan. - And this is the part i'm struggling with : i can not import my ratings and listening stats from itunes with Custom Scan :( - i would like to precise that my only goal is to get statistcs from both libraries imported once from itunes to LMS. I don't have any plan to keep itunes synchronised with LMS listening stats. I have an uptodate version of itunes : 12.5. It is set to generate the library.xml file necessary for the Custome Scan plugin. Here is an extract from one of the library.xml file : Code: -------------------- <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Major Version</key><integer>1</integer> <key>Minor Version</key><integer>1</integer> <key>Application Version</key><string>12.5.5.5</string> <key>Date</key><date>2017-03-07T14:29:28Z</date> <key>Features</key><integer>5</integer> <key>Show Content Ratings</key><true/> <key>Library Persistent ID</key><string>3B6AE1879F65C71F</string> <key>Tracks</key> <dict> <key>2131</key> <dict> <key>Track ID</key><integer>2131</integer> <key>Size</key><integer>6027552</integer> <key>Total Time</key><integer>250409</integer> <key>Track Number</key><integer>3</integer> <key>Track Count</key><integer>10</integer> <key>Year</key><integer>2003</integer> <key>Date Modified</key><date>2014-01-20T21:23:46Z</date> <key>Date Added</key><date>2009-09-27T16:04:49Z</date> <key>Bit Rate</key><integer>192</integer> <key>Sample Rate</key><integer>44100</integer> <key>Play Count</key><integer>3</integer> <key>Play Date</key><integer>3382721990</integer> <key>Play Date UTC</key><date>2011-03-11T19:59:50Z</date> <key>Skip Count</key><integer>1</integer> <key>Skip Date</key><date>2014-07-30T18:11:15Z</date> <key>Artwork Count</key><integer>1</integer> <key>Persistent ID</key><string>865F5586AA4B55C7</string> <key>Track Type</key><string>File</string> <key>File Folder Count</key><integer>5</integer> <key>Library Folder Count</key><integer>1</integer> <key>Name</key><string>Glue your eyelids together</string> <key>Artist</key><string>Adult.</string> <key>Album Artist</key><string>Adult.</string> <key>Album</key><string>Anxiety Always</string> <key>Genre</key><string>Electronic Synth. </string> <key>Kind</key><string>Fichier audio MPEG</string> <key>Location</key><string>C:\Document and Settings\Tib\My Documents\My Music\Tib\iTunesMedia\Music\Adult_\Anxiety Always\03 Glue your eyelids together.mp3</string> </dict> </array> <key>Music Folder</key><string>C:\Document and Settings\Tib\My Documents\My Music\Tib\iTunesMedia\Music</string> </dict> </plist> -------------------- I have mounted My "iTunesMedia" folder under : "/mnt/ds_411/Tib/iTunesMedia" As an example the path to the song above is : "/mnt/ds_411/Tib/iTunesMedia/Music/Adult_/Anxiety\ Always/03\ Glue\ your\ eyelids\ together.mp3" And here are the settings i have used with the Custome Scan plugin, in the "Module Settings iTunes Statistics Import" : iTunes Library XML file : /mnt/ds_411/Tib/newlibraryTib.xml Music path in iTunes : C:\Document and Settings\Tib\My Documents\My Music\Tib\iTunesMedia\Music Music path in Squeezebox Server : /mnt/ds_411/Tib/iTunesMedia/Music Ignore disabled songs : ticked Libraries to limit the import to : "Music Tib" When i go back to the "Manage scanning" screen and i launch a manual "iTunes Statistics Import" scan i get the following weird error message in the logs : Code: -------------------- [17-03-10 21:52:55.6476] Plugins::CustomScan::Scanner::moduleRescan (732) Performing module rescan [17-03-10 21:52:55.6487] Plugins::CustomScan::Scanner::moduleRescan (739) Starting scanning with iTunes Statistics Import [17-03-10 21:52:56.4117] Plugins::CustomScan::Scanner::initTrackScan (1318) Clearing track data for itunesimport [17-03-10 21:52:56.4163] Plugins::CustomScan::Scanner::initTrackScan (1336) Start clearing track data with delete [17-03-10 21:52:56.4207] Plugins::CustomScan::Scanner::initTrackScan (1396) Deleted track data after 0.009065 seconds [17-03-10 21:52:59.0962] Plugins::TrackStat::iTunes::Import::handleTrack (437) file not found: /mnt/ds_411/Tib/iTunesMedia/MusicCfile:///mnt/ds_411/Tib/iTunesMedia/Music:file:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicDfile:///mnt/ds_411/Tib/iTunesMedia/Musicofile:///mnt/ds_411/Tib/iTunesMedia/Musiccfile:///mnt/ds_411/Tib/iTunesMedia/Musicufile:///mnt/ds_411/Tib/iTunesMedia/Musicmfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musicnfile:///mnt/ds_411/Tib/iTunesMedia/Musictfile:///mnt/ds_411/Tib/iTunesMedia/Music file:///mnt/ds_411/Tib/iTunesMedia/Musicafile:///mnt/ds_411/Tib/iTunesMedia/Musicnfile:///mnt/ds_411/Tib/iTunesMedia/Musicdfile:///mnt/ds_411/Tib/iTunesMedia/Music file:///mnt/ds_411/Tib/iTunesMedia/MusicSfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musictfile:///mnt/ds_411/Tib/iTunesMedia/Musictfile:///mnt/ds_411/Tib/iTunesMedia/Musicifile:///mnt/ds_411/Tib/iTunesMedia/Musi cnfile:///mnt/ds_411/Tib/iTunesMedia/Musicgfile:///mnt/ds_411/Tib/iTunesMedia/Musicsfile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicSfile:///mnt/ds_411/Tib/iTunesMedia/Musictfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musicvfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Music file:///mnt/ds_411/Tib/iTunesMedia/MusicJfile:///mnt/ds_411/Tib/iTunesMedia/Musicofile:///mnt/ds_411/Tib/iTunesMedia/Musicbfile:///mnt/ds_411/Tib/iTunesMedia/Musicsfile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicMfile:///mnt/ds_411/Tib/iTunesMedia/Musicyfile:///mnt/ds_411/Tib/iTunesMedia/Music file:///mnt/ds_411/Tib/iTunesMedia/MusicDfile:///mnt/ds_411/Tib/iTunesMedia/Musicofile:///mnt/ds_411/Tib/iTunesMedia/Musiccfile:///mnt/ds_411/Tib/iTunesMedia/Musicufile:///mnt/ds_411/Tib/iTunesMedia/Musicmfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musicnfil e:///mnt/ds_411/Tib/iTunesMedia/Musictfile:///mnt/ds_411/Tib! /iTunesMedia/Musicsfile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicMfile:///mnt/ds_411/Tib/iTunesMedia/Musicyfile:///mnt/ds_411/Tib/iTunesMedia/Music file:///mnt/ds_411/Tib/iTunesMedia/MusicMfile:///mnt/ds_411/Tib/iTunesMedia/Musicufile:///mnt/ds_411/Tib/iTunesMedia/Musicsfile:///mnt/ds_411/Tib/iTunesMedia/Musicifile:///mnt/ds_411/Tib/iTunesMedia/Musiccfile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicTfile:///mnt/ds_411/Tib/iTunesMedia/Musicifile:///mnt/ds_411/Tib/iTunesMedia/Musicbfile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/Musicifile:///mnt/ds_411/Tib/iTunesMedia/MusicTfile:///mnt/ds_411/Tib/iTunesMedia/Musicufile:///mnt/ds_411/Tib/iTunesMedia/Musicnfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musicsfile:///mnt/ds_411/Tib/iTunesMedia/MusicMfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musicdfile:///mnt/ds_411/Tib/iTun esMedia/Musicifile:///mnt/ds_411/Tib/iTunesMedia/Musicafile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicMfile:///mnt/ds_411/Tib/iTunesMedia/Musicufile:///mnt/ds_411/Tib/iTunesMedia/Musicsfile:///mnt/ds_411/Tib/iTunesMedia/Musicifile:///mnt/ds_411/Tib/iTunesMedia/Musiccfile:///mnt/ds_411/Tib/iTunesMedia/Music/file:///mnt/ds_411/Tib/iTunesMedia/MusicLfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Music file:///mnt/ds_411/Tib/iTunesMedia/MusicPfile:///mnt/ds_411/Tib/iTunesMedia/Musicefile:///mnt/ds_411/Tib/iTunesMedia/Musicufile:///mnt/ds_411/Tib/iTunesMedia/Musicpfile:///mnt/ds_411/Tib/iTunesMedia -------------------- This is just an extract of the log as the huge error above is repeated maybe hundreds or thousands times in the log file. It is always the same error. Paths mentionned in it are always identical. What is weird is that i'm gettig the same error message whatever value i try for the settings of the plugin : "iTunes Library XML file", "Music path in iTunes", "Music path in Squeezebox Server". I have the impression that i tried everything. Did i miss somehting ? Regards esseki ------------------------------------------------------------------------ esseki's Profile: http://forums.slimdevices.com/member.php?userid=66643 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins