Phil Meyer;223584 Wrote: > Thanks for the summary - that helps a lot. It might be useful to copy > some of that extra information into your TrackStat wiki page for others > that are interested in syncing stats with iTunes. Some of it is explained in the rating configuration tutorial, but not everything: http://wiki.erland.homeip.net/index.php/Setup:_Rating_support_in_SlimServer#Configuring_iTunes_as_the_rating_storage
Phil Meyer;223584 Wrote: > When a path and extension mapping has been set up, does this apply to > all music, or just files/extensions that don't exist in iTunes? > For example, all of my mp3 files will have the same path in both > SlimServer and iTunes, so no remapping of path is required. > > I assume that only one remapping instruction is available, so if I have > ripped extra copies of music sometimes to m4a and other times to mp3, I > would need to be consistent change change to use one music format for > iTunes.I know the integration will work if you have a single extension in iTunes and the corresponding file has the mapped extension in SlimServer or the same extension as in iTunes also in SlimServer. In the export from TrackStat to iTunes the extension conversion will always be performed, it will replace any extension to the one you have specified in the "ITUNES EXPORT EXTENSION" property. In the import from iTunes to TrackStat the extension conversion will only be performed if it doesn't find a file on the disk with the iTunes extension. The extension used in the conversion is the one specified in the "ITUNES IMPORT EXTENSION" property. For the incremental export from TrackStat to iTunes I think you can use the latest perl script delivered with iTunes Update instead of the one delivered with TrackStat. If you do this, the extension will optionally be ignored as James said. This means that you could actually have multiple formats also in iTunes. I don't think I have merged the "ignore extension" change to the perl script delivered with TrackStat. The path mapping will always be performed, see more information regarding this below. Phil Meyer;223584 Wrote: > The base path that is configured - does this replace the SlimServer > music library path? The problem I may have here is that my SlimServer > music library folder only contains shortcuts to the various folders > that I store my music in. > > Eg. SlimServer Music Library="M:\Music\Slimserver\Music\". That folder > contains a shortcut that points to "M:\Music\Phil's Music", containing > mp3 and flac files roughly in "artist\album\track" heirarchy. There > are other shortcuts that point to other source folders (but "Phil's > Music" is the one I am most likely going to want to sync with iTunes). > My iTunes music library is in "M:\Music\iTunes\Phil\". This should hold > the same "artist\album\track" heirarchy for files that I transcode > specifically for iTunes. > > Do I need to rename my iTunes folder to "M:\Music\iTunes\Phil's > Music\", such that "M:\Music\" gets converted to "M:\Music\iTunes\"? > I think it will work correctly if you configure: "MUSIC DIRECTORY (ITUNES EXPORT)" => M:\Music\iTunes\Phil "MUSIC DIRECTORY (ITUNES IMPORT)" => M:\Music\Phil's Music If it sounds like I am a bit unsure how it works, it is because I am. I can look in the code, but it takes too much time to actually configure it to check that it really works this way. The way I'm using it and know works is the following: An iTunes Library on Windows where all music is in MP3 format stored below a single main directory. A SlimServer library on Linux in FLAC format where all music is stored below one main directory, no shortcuts or symbolic links. I use SlimServer as master and just exports information to iTunes, changes in iTunes are never written back to SlimServer. I did a one time import from iTunes to SlimServer directly after I initially created the import functionality in TrackStat, after this I have never used the import in my own library. If you enable the debugging flag in "Server Settings/Plugins/TrackStat" you will get some more information about the paths and extensions used when you perform an import/export. Finally, if you are using iTunes and SlimServer on the same computer I really think you should take a look at the iTunes Update plugin. The reason is that it works great when you can have the same path to the music files in both iTunes and SlimServer. It should be possible to have the same path if the files are on the same computer. It will probably mean that you will need to move some files around though, because as I understand it now the paths to the music is currently not the same in SlimServer and iTunes. The advantage of the iTunes Update plugin IMO is that it has a runtime connection to iTunes. This means that when a rating is changed in SlimServer it will be directly written to iTunes. This way you don't have to bother with the log files and manually run perl scripts. The only reason the iTunes integration exist in TrackStat is because I needed a solution to the situation where SlimServer was running on Linux. The iTunes integration in TrackStat is actually based on the iTunes Update plugin but has been changed a bit since the start. -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library and RandomPlayList plugins' (http://wiki.erland.homeip.net/index.php/Category:SlimServer)) ------------------------------------------------------------------------ erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=37986 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/lists/listinfo/plugins
