Antoniop wrote: 
> I never used custom scan plugin, so I can't help with this, but the
> backup file that stores the trackstat data has a rather simple
> structure. 
> Maybe you could build your own file from the itunes export and then
> import that file with the backup/restore/clean feature of the trackstat
> plugin. I use that when I need to move LMS server  from one machine to
> another.
> The structure the backup file is simple :
> > 
Code:
--------------------
  >   >         <track>
  > 
<url>file%3A%2F%2F%2Fmnt%2FMusic_collection%2FCDmed%2FBalthazar%2FRats%2F04%2520-%2520Joker%2527s%2520Son.flac</url>
  > <playCount>4</playCount>
  > <lastPlayed>1436250015</lastPlayed>
  > <added>1431215206</added>
  > </track>
  > <track>
  > 
<url>file%3A%2F%2F%2Fmnt%2FMusic_collection%2FCDmed%2FBalthazar%2FRats%2F05%2520-%2520The%2520Man%2520Who%2520Owns%2520The%2520Place.flac</url>
  > <playCount>3</playCount>
  > <lastPlayed>1436250238</lastPlayed>
  > <added>1431215206</added>
  > <rating>40</rating>
  > </track>
  > <track>
  > 
<url>file%3A%2F%2F%2Fmnt%2FMusic_collection%2FCDmed%2FBalthazar%2FRats%2F06%2520-%2520Lion%2527s%2520Mouth%2520(Daniel).flac</url>
  > <playCount>3</playCount>
  > <lastPlayed>1436250519</lastPlayed>
  > <added>1431215206</added>
  > </track>
  > 
  > 
--------------------
> > 
> Create a backup file, add your lines, reload the file and maybe it
> would work.
> I have only one library, I don't know if that could make a difference
> with several.
> Of course, you would need a script to translate from iTunes stats 
> structure to trackstat structure file. It's looks feasible, maybe the 
> dates translation is not so easy.

Hi,

thank you for the suggestion.
I will spent some time writing such a script. It does not seem to be
complicated indeed :))

Regards


------------------------------------------------------------------------
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
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to