How to rescan whole audio library for updated length?
  • Hi,

    I was hit by the Silan bug described here or here, and solved by updating Silan like described here (I'm running Ubuntu 14.04 with Airtime 2.5.1)

    The thing is, for many months, thousands of tracks were uploaded and many of them now have bad lengths in Airtime's database.

    According to this thread after updating Silan to Sourcefabric's version:
    • I can manually edit some metadata on the Airtime GUI for each track and it will update to the new length: I agree it works, but I have thousands of tracks, it will take us ages to do it for each and every track.
    • or I can rename the watched folder (like /srv/airtime/stor), restart, rename back again (source)

    The question is: if I rename the watched folder, what impact will it have on the current library and scheduled shows etc., as the whole stor/imported folder will be missing at some point? 

    Or, more simply: how can I force a full rescan of the full library now I have the correct Silan version? 

    Thanks for the help! 

    Kind regards,
  • 1 Comment sorted by
  • Vote Up0Vote Down Voisses TechVoisses Tech
    Posts: 1,423Member

    i would maybe also remove and reenter the media folders
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.