[Plugin] MPSync - MediaPortal multi-seat Synchronization | Page 68

Discussion in 'MediaPortal 1 Plugins' started by m3rcury, March 17, 2013.

  1. roedler86
    • Premium Supporter

    roedler86 MP Donator

    Joined:
    August 25, 2015
    Messages:
    83
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 1
    Home Country:
    Germany Germany
    Show System Specs
    Hey guys,



    I really love this plugin. I just set it up and its working very well...

    I can't figure out I point:
    I set up to sync a folder including all sub folder... but here, only the files from the sub folder are copied not the file from the actually folder...

    MPSync.png

    What am I missing?

    Thanks in advanced....
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @roedler86. You need to select the parent folder, in your case MediaPortal. Then select specific folders and only select scripts. This should work.

    I will have a look into the plugin to see whether with your current setup, you can obtain same result as explained above.
     
    • Like Like x 1
    • Informative Informative x 1
  4. roedler86
    • Premium Supporter

    roedler86 MP Donator

    Joined:
    August 25, 2015
    Messages:
    83
    Likes Received:
    7
    Gender:
    Male
    Ratings:
    +14 / 1
    Home Country:
    Germany Germany
    Show System Specs
    Thanks a lot. That's working. And I need only one folder-synchronization for all my sub folder. Thanks.

    But I recognized another strange behavior:
    After starting MediaPortal I can't do anything for a couple of minutes, until the sync job is done. The system doesn't freeze but the CPU is at 100%. Because of this sometime the movie player or records, which are recorded while starting MediaPortal, hang.

    Is there any possibility to reduce the CPU load?

    Thanks again!
     
  5. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @roedler86. You can select the check-box "Pause when player active". It will pause the synchronisation whilst you are watching a movie or playing music. Sometimes it still needs a minute or two to pause, but it works :)
     
    • Informative Informative x 2
    • Thank You! Thank You! x 1
  6. nightwar

    nightwar Portal Member

    Joined:
    March 11, 2013
    Messages:
    13
    Likes Received:
    1
    Gender:
    Male
    Ratings:
    +1 / 0
    Home Country:
    United States of America United States of America
    I need help with this, It is a new moving pictures data base, and syncing to an empty network path, so its a clean slate, the log file is attached
     
  7. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @nightwar. Can you open file MPSync.xml found in C:\ProgramData\Team MediaPortal\MediaPortal and change the date in the following line to a date in the past.
    Code (XML):
    1. <entry name="last sync">2017-04-25 19:29:55</entry>
    In the above example set the last sync date to 2017-04-24. Then start the sync process again. If you sync manually, you cal launch the MPSync_Launcher.exe or else if you sync from within MediaPortal, restart MediaPortal.
     
  8. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,796
    Likes Received:
    752
    Location:
    Nuenen
    Ratings:
    +1,115 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Hi since some time I'm having trouble (again) in retaining the watched status for moving pictures, is there anything that I could check at my end?
    My setup is as follows:
    main pc is set up to sync from main pc to main server
    htpc is set up to sync from main server to htpc (using triggers, watched="no")
    If I watch a movie on htpc, after a while (after syncing with server) the watched status is reset again.
    checking the log I see this:
    Code (Text):
    1.  
    2. 22/09/2017 11:42:53 - [INFO ] MPSync: process plugin version 1.0.0.17 initialisation with DEBUG.
    3. 22/09/2017 11:42:53 - [INFO ] MPSync: DB - C:\ProgramData\Team MediaPortal\MediaPortal\database <-- \\dionysus\LocalShare\MediaPortal\databases
    4. 22/09/2017 11:42:53 - [INFO ] MPSync: DB synchronization method - Propagate both additions and deletions
    5. 22/09/2017 11:42:53 - [INFO ] MPSync: DBs selected - movingpictures.db3|
    6. 22/09/2017 11:42:53 - [INFO ] MPSync: watched/resume not selected
    7. 22/09/2017 11:42:53 - [INFO ] MPSync: Objects selected - ALL
    8. ...
    9. 22/09/2017 11:43:44 - [INFO ] MPSync: [db_worker] synchronization of table user_movie_settings in database C:\ProgramData\Team MediaPortal\MediaPortal\database\movingpictures.db3 started.
    10. 22/09/2017 11:43:44 - [INFO ] MPSync: [Synchronize_DB] synchronization of table user_movie_settings in database C:\ProgramData\Team MediaPortal\MediaPortal\database\movingpictures.db3 in progress...
    11. 22/09/2017 11:43:44 - [DEBUG] MPSync: [DeleteRecords] deleting extra entries on target for table user_movie_settings in database C:\ProgramData\Team MediaPortal\MediaPortal\database\movingpictures.db3
    12. 22/09/2017 11:43:45 - [DEBUG] MPSync: [Process_DB_folder] waiting for background threads to finish... 1 threads remaining processing {movingpictures.db3}.
    13. 22/09/2017 11:43:47 - [DEBUG] MPSync: [DeleteRecords] DELETE FROM target.user_movie_settings WHERE id IN (SELECT id FROM (SELECT * FROM target.user_movie_settings EXCEPT SELECT * FROM user_movie_settings))
    14. 22/09/2017 11:43:47 - [DEBUG] MPSync: [DeleteRecords] 3 records deleted from user_movie_settings in database C:\ProgramData\Team MediaPortal\MediaPortal\database\movingpictures.db3
    15. [/CODE[
    16.  
    17. so somehow it does synchronize the user_movie_settings despite the watched="no"
     
  9. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @doskabouter. Apologies for not replying before but was quite tied with other work.

    The plugin will still synchronise the episode/movie seen value through the table sync. and not the watched status function. The watched status function is there to provide possibility to go on another client and continue playing from the same position you stopped on the previous client. Also keep in mind that the episode/movie seen value is also synchronised by the Trakt plugin.
     
  10. doskabouter
    • Premium Supporter

    doskabouter Community Plugin Dev

    Joined:
    September 27, 2009
    Messages:
    2,796
    Likes Received:
    752
    Location:
    Nuenen
    Ratings:
    +1,115 / 1
    Home Country:
    Netherlands Netherlands
    Show System Specs
    Thanks for your time!
    So do I understand it correctly that it's not possible to keep the watched status?
    Mind you, I don't use trakt for this
     
  11. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +620 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @doskabouter. A change can be implemented to split current flag into 2, namely resume sync and status sync. Resume sync will do what the flag is doing today, whilst the new status sync will handle your request.

    What do you think?
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!