How does the background filesync? (1 Viewer)

IceFire

New Member
February 23, 2009
4
0
Can someone tell me, how the background filesync is working?
Does it look every 5 minutes in the watched directory if there is a new movie? Or does it get an event, if i copy a movie in the directory? When does the filesync run? If i have open MediaPortal or all the time?

I'm asking because i have my movies on a external raid storage which is going into sleep mode if no application has access to it.

Thanks for answers :)
 

RoChess

Extension Developer
  • Premium Supporter
  • March 10, 2006
    4,434
    1,897
    It's a combination, it uses Windows API events, but you can also force a timer.

    The timer is handy for when you have network attached storage methods or misbehaving standby/resume hardware.

    Inside MovingPictures config you can control the timer part, the API event is internal.
     

    fforde

    Community Plugin Dev
    June 7, 2007
    2,667
    1,702
    43
    Texas
    Home Country
    United States of America United States of America
    Just a few more details. Generally Moving Pictures relies on the operating system to tell it when there are new files in a watched path. The only problem is that this occasionally fails for network attached storage. To deal with this, you can either enable a "manual scan" button that can be used in the GUI or you can tell Moving Pictures to rescan every so often on a timer. Both options are in the config screen.
     

    Users who are viewing this thread

    Top Bottom