Home of the Squeezebox™ & Transporter® network music players.
Page 180 of 180 FirstFirst ... 80130170178179180
Results 1,791 to 1,793 of 1793
  1. #1791
    Junior Member
    Join Date
    Feb 2017
    Posts
    8
    Quote Originally Posted by Antoniop View Post
    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

  2. #1792
    Member
    Join Date
    Jul 2010
    Location
    Paris, France
    Posts
    82
    Quote Originally Posted by esseki View Post
    Hi,

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

    Regards
    Good luck then. I'm not a "script master" myself, but I think I could help you if you need.
    Regards
    LMS 7.9.0 - 1436071638
    on Linux Mageia 5
    1 SB3, 1 radio, 1 touch
    Plugins : Trackstat, IR Blaster, Smartmix, MusicIP, ...

  3. #1793
    Junior Member
    Join Date
    Jul 2010
    Posts
    27
    @esseki

    If you're on a mac I can think of one simple way: in iTunes find tags your tracks don't use (like comments, grouping or whatever works for you) and then use Applescript to have iTunes write the metadata you need to import into LMS into the empty tags. Sync the changed tracks to your LMS media location. Then in Custom Scan, you can specify the tag from which to import the values. And then when all is done just erase those tags again and a final sync and... voilÓ.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •