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

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

  1. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +618 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @Flo70. There is a setting where MPSync will execute an MD5 or CRC32 algorithm to compare files. This is quite intensive and takes time, but if you have volatile files being synch'd it is suggested that from time to time, one uses this setting.

    I will do an enhancement to include file size as well. Hope to have this ready soon.

     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Flo70

    Flo70 Portal Member

    Joined:
    January 14, 2014
    Messages:
    34
    Likes Received:
    0
    Ratings:
    +4 / 0
    Home Country:
    Germany Germany
    Show System Specs
    That is good news - I hope to be able to find out why and when my tv-logos get corrupted... debug-logging is enabled, since yesterday no 0-byte files were created.
     
  4. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +618 / 4
    Home Country:
    Malta Malta
    Show System Specs
    MPSync v1.0.0.17 has been uploaded and can be downloaded from here.

    Added file size as part of the criteria for synchronization.
     
  5. Flo70

    Flo70 Portal Member

    Joined:
    January 14, 2014
    Messages:
    34
    Likes Received:
    0
    Ratings:
    +4 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Wow, I feel honored! :)
    Thank you for the fast update - I will report on any oddities.

    Best regards,
    Flo
     
    • Thank You! Thank You! x 1
  6. bruceas

    bruceas Portal Member

    Joined:
    December 10, 2010
    Messages:
    12
    Likes Received:
    1
    Ratings:
    +1 / 0
    Hi, I'd like to sync a master PC with 2 clients WITHOUT a central storage folder. I want to send the db on master PC directly to the clients.

    It is possible?

    Thanks, bye.
     
  7. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +618 / 4
    Home Country:
    Malta Malta
    Show System Specs

    @bruceas. Current design requires a central database as the Master HTPC would copy changes to this DB and the other HTPC would pick these changes and update their local DBs. What you can try is to set a temporary central database and do setup using triggers on Master. Once replication completes, disable MPSync plugin and delete the central DB. Then set a secondary HTPC to replicate directly from you master and see how it goes. There might be some temporary table on the master that might be accumulating temporary records, but if this setup works for you, I will do changes to the plugin to handle this scenario without the need to have the pugin disabled on the master HTPC.

    Give it a try and give me an update how it goes.
     
  8. ajs
    • Team MediaPortal

    ajs Development Group

    Joined:
    February 29, 2008
    Messages:
    8,413
    Likes Received:
    2,496
    Gender:
    Male
    Occupation:
    IT
    Location:
    Kyiv
    Ratings:
    +4,416 / 29
    Home Country:
    Ukraine Ukraine
    Show System Specs
    MPSync no sync :( No sync DB on NAS :(
    <entry name="sync periodicity">3</entry> <entry name="sync periodicity value">minutes</entry>
    Code (XML):
    1.   <section name="DB Settings">
    2.     <entry name="sync periodicity">3</entry>
    3.     <entry name="sync periodicity value">minutes</entry>
    4.     <entry name="pause while playing">no</entry>
    5.     <entry name="watched">yes</entry>
    6.     <entry name="vacuum">yes</entry>
    7.   </section>
    upload_2016-9-23_12-10-18.png
    On Main HTPC:
    upload_2016-9-23_12-14-57.png upload_2016-9-23_12-15-21.png
    On NAS:
    upload_2016-9-23_12-16-24.png upload_2016-9-23_12-16-45.png
    Code (Text):
    1. MediaPortal.log
    2. [2016-09-23 11:58:13,197] [Log    ] [MPMain   ] [DEBUG] - PluginManager: Begin Loading '\process\MPSync.dll'
    3. [2016-09-23 11:58:13,259] [Log    ] [MPMain   ] [INFO ] - PluginManager: Plugin: 'C:\Team MediaPortal\MediaPortal\Plugins\process\MPSync.dll' / Version: 1.0.0.17
    4. [2016-09-23 11:58:13,259] [Log    ] [MPMain   ] [DEBUG] - PluginManager: End loading '\process\MPSync.dll' (62.5044 ms running time)
    5. [2016-09-23 11:58:22,854] [Log    ] [MPMain   ] [DEBUG] - PluginManager: Begin starting 'MPSync.MPSync.MPSync'
    6. [2016-09-23 11:58:22,854] [Log    ] [MPMain   ] [DEBUG] - PluginManager: End starting 'MPSync.MPSync.MPSync' (0 ms running time)
    7. [2016-09-23 11:58:25,994] [Log    ] [45       ] [INFO ] - MPSync: process plugin version 1.0.0.17 initialisation.
    8. [2016-09-23 11:58:25,994] [Log    ] [45       ] [INFO ] - MPSync: DB - C:\ProgramData\Team MediaPortal\MediaPortal\database --> M:\Mediaportal\DB
    9. [2016-09-23 11:58:26,010] [Log    ] [45       ] [INFO ] - MPSync: DB synchronization method - Propagate both additions and deletions
    10. [2016-09-23 11:58:26,026] [Log    ] [45       ] [INFO ] - MPSync: DBs selected - ALL
    11. [2016-09-23 11:58:26,026] [Log    ] [45       ] [INFO ] - MPSync: watched/resume selected for ALL
    12. [2016-09-23 11:58:26,041] [Log    ] [45       ] [INFO ] - MPSync: Objects selected - LastFmCache-andrewjswan.xml|lastfmcache.txt|LyricsDatabaseV2.db|LyricsMarkedDatabaseV2.db|
     

    Attached Files:

    • MPSync.xml
      File size:
      1.2 KB
      Uploaded:
      September 23, 2016
      Views:
      68
  9. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +618 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @ajs. Can you enable debug and forward logs.
     
  10. Ferao

    Ferao Portal Member

    Joined:
    December 3, 2007
    Messages:
    16
    Likes Received:
    0
    Ratings:
    +0 / 0
    Home Country:
    Denmark Denmark
    Show System Specs
    @m3rcury
    Thank you for a great plugin, I've set it up with 1 server and 3 clients using tvseries and moving pictures sync - also sync watched status, this seem to work.
    only "problem" is that while moving picture is syncing new addons - they only show up at the client mepo interface after client reboot, they seem to be in the database already but dont show up in moving picture view inside mepo until client is rebooted, is this the expected way it should work? - after what i can see the TV series update fine even while mepo is running?
     
  11. m3rcury
    • Team MediaPortal

    m3rcury Development Group

    Joined:
    August 12, 2010
    Messages:
    954
    Likes Received:
    522
    Gender:
    Male
    Ratings:
    +618 / 4
    Home Country:
    Malta Malta
    Show System Specs
    @Ferao. That is the way certain plugins work, i.e. they need a restart of MediaPortal to refresh the new additions to the database. It is not directly related to MPSync. What usually works too is to go out on BasicHome Screen and then back into the plugin. What I will also do is to see if there is a way to re-initialise a plugin after updating their respective database.
     
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!