Phil Meyer;224548 Wrote: 
> Exporting from SlimServer -> iTunes
> It would only attempt to do remapping of a file path and extension when
> the file extension is one that iTunes cannot read (eg. change .flac ->
> .mp3 and look for them somewhere else).

This must be handled in the TrackStatiTunesUpdate.pl perl, as James
said earlier the iTunesUpdate.pl script delivered with the iTunes
Update plugin has an option to ignore this. I took a quick look to see
if there are any differences between the TrackStatiTunesUpdate.pl
script and the iTunesUpdate.pl script that does this, but I couldn't
find any. Have you tried if it works with the current
TrackStatiTunesUpdate.pl script ?

James, if you are still reading this, maybe you can help to tell me
where this logic is implemented so I can merge it into the TrackStat
version of the perl script.

Phil Meyer;224548 Wrote: 
> Importing from iTunes -> SlimServer
> This is probably more tricky (slower).  Try to import each song data
> from iTunes, but if it fails to find the iTunes file in the SlimServer
> library, try to change the file path and extension and try again.


The current implementation checks if a file with the iTunes extension
exist on the disk, if it does it uses it, if it doesn't it uses the
extension you have set in the configuration. The reason it doesn't do
it like you describe is performance. I'm not sure it will affect the
performance that much though, it still needs to lookup the track in the
SlimServer database in a later stage when writing the imported
information to the database, so doing it once more might not affect the
performance that much.

I would prefer to not spend a lot of time implementing different
configuration options for the iTunes integration stuff in TrackStat at
the moment. The reason is that the only reason I'm using this
integration myself is to get the music to the iPod. My feeling is that
the new iPod plugin I'm working on will do this in a much better way
since it doesn't involve iTunes, log files and two operating systems (I
run SlimServer on Linux and iTunes on Windows). However, if you do some
change in the TrackStat code/scripts to make them work better in your
environment, I'll be happy to include these changes in a future
version.


-- 
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

Reply via email to