[Plugin] MPSync - MediaPortal multi-seat Synchronization (4 Viewers)

RicoHTPC

MP Donator
  • Premium Supporter
  • February 4, 2011
    1,441
    172
    Cuxhaven
    Home Country
    Germany Germany
    I've got a question to how the databases (the client and the master one) are compared to syncronize them if needed.
    Will they be compared regarding their whole content or is it just a timestamp from the master which says when the last change
    has been that get's compared?
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    I've got a question to how the databases (the client and the master one) are compared to syncronize them if needed.
    Will they be compared regarding their whole content or is it just a timestamp from the master which says when the last change
    has been that get's compared?

    RicoHTPC, unfortunately there is no timestamp in the databases hence the compare logic is a bit different than that. This is also the main reason why I could not properly implement 2-way synchronization unless I do a lot of extra work on my side. On the other hand since the watched/resume functionality is part of the plugin, it is based on record timestamp.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Hi again, after some testing now i have following experiences

    - syncing working fine when using 1.0.0.1 on main htpc (1.0.0.2 made issues here not replicating new tv series), always use manual sync there ...
    - clients syncing nice from server database using 1.0.0.2 the new titles i add

    what i dont get to work is watched status and resume status ... i ticked on all clients to sync this status, also on server.
    nvm now what i do, start at client a, continue on client b it never asks me to continue from position xxx ...
    also the watched status, when i watched a series on client a its set as watched there, now when i goto client b its still unwatched there ...
    when i now add a new episode or similar on main htpc and sync, all watched are unwatched again ... only when i tick watched
    in tv series app "mark as watched" ... may i have to do something special to get this working ?

    for an hint thanks ahead ;)

    alturismo, the watched/resume functionality works as intended in v1.0.0.2. Can you advise what kind of issues you encountered, maybe providing debug logs (there is a new log called mpsync.log) to see if there are issues as am working on a new version that caters for replicating from one slave to other HTPCs the changing of covers and thumbs of movies and if there is an issue, would like to tackle prior to a new release.
     

    alturismo

    Portal Pro
    July 28, 2009
    121
    9
    Home Country
    Germany Germany
    g morning, i will provide some logs on sunday.

    as mentioned 1 scenario

    start watching a movie or a tvshow on client a, stop the show, turning client a off, goto client b and turn it on,
    goto started movie or tvshow, hit play, should ask "resume from ...", doesnt happen here at all, like it was never started ...
    i also tried waiting a little on client a after stopping so sync can be done (timer is setted to 1 minute) and also waited on
    client b after startup (also 1 minute) to see if its just a matter of time, nothing happens here ;)

    next scenario, on main htpc i add a new movie or a tvshow then sync manually through mpsync, now all movies or tvshows
    are unwatched again on all htpc´s, even on the ones where they´ve been watched completely ;) cause watched state on main
    never gets updated here ...
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    g morning, i will provide some logs on sunday.

    as mentioned 1 scenario

    start watching a movie or a tvshow on client a, stop the show, turning client a off, goto client b and turn it on,
    goto started movie or tvshow, hit play, should ask "resume from ...", doesnt happen here at all, like it was never started ...
    i also tried waiting a little on client a after stopping so sync can be done (timer is setted to 1 minute) and also waited on
    client b after startup (also 1 minute) to see if its just a matter of time, nothing happens here ;)

    next scenario, on main htpc i add a new movie or a tvshow then sync manually through mpsync, now all movies or tvshows
    are unwatched again on all htpc´s, even on the ones where they´ve been watched completely ;) cause watched state on main
    never gets updated here ...

    alturismo, if you want I can upload v1.0.0.3 so you can give it a try and see if it solves all your problem. I needed to do some tweaking so that the master triggers the synchronization on time. This version also carries back to master changes in Moving Pictures movie thumbs, so you can change the thumb on any client and it will be reflected on the others.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    MPSync v1.0.0.3 has just been released. This version allows you to change MovingPictures movie covers on one client, which is not the master, and replicate to the other clients.

    You can download from link in post #1.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    Hey, if my server was my master htpc, would I need the plugin on the server side then?

    RicoHTPC, if on your server you do the imports, and you import directly into the main databases that the other HTPCs replicate from, then you don't need the plugin installed there.
     

    Users who are viewing this thread

    Top Bottom