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

m3rcury

Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    All HTPC have the same weight. No master, there is a single repository. Everywhere you can do to add, change, delete, etc. and. etc

    View attachment 126415

    ajs, as I had explained in previous comments, there is no indication in the plugins databases when records are added, hence it is very difficult to see what records were added last to take as new records. I am not saying that it is not possible, but it requires a lot of programming and adding triggers to a good number of tables in all plugin databases. This is not easy. The current version of the plugin practically does all you need, except the add/delete as it expects this to be done on a master, which is not difficult to achieve....

    If what you ask is a popular requirement, I will have a deeper look at how to achieve.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    And if you compare the two bases, and choose someone more records, all more or new or ....
     

    alturismo

    Portal Pro
    July 28, 2009
    121
    9
    Home Country
    Germany Germany
    one thing would be nice for all us server users ;)

    either a external trigger or a standalone version for the "main" htpc, i for example use a server for all imports etc ...
    also tv server, mpextended and so on ...
    so i always have to open mediaportal settings to start mpsync manually cause mediaportal usually never really running on this mashine ;)

    just a though as nice to have in case its easy to cover as standalone version ;)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    I installed the plug-in until 2 HTPC, which I watch movies, one HTPC appointed master, the second client, both sent to a single repository, but with different directions of synchronization. Is that right?
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    one thing would be nice for all us server users ;)

    either a external trigger or a standalone version for the "main" htpc, i for example use a server for all imports etc ...
    also tv server, mpextended and so on ...
    so i always have to open mediaportal settings to start mpsync manually cause mediaportal usually never really running on this mashine ;)

    just a though as nice to have in case its easy to cover as standalone version ;)

    alturismo, will look into it, but for the time being, you can create a shortcut calling the below target:
    Code:
    "C:\Program Files (x86)\Team MediaPortal\MediaPortal\PluginConfigLoader.exe" /plugin="C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\process\MPSync.dll"
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    I installed the plug-in until 2 HTPC, which I watch movies, one HTPC appointed master, the second client, both sent to a single repository, but with different directions of synchronization. Is that right?

    ajs, on the "master" HTPC, the arrow should be pointing down, i.e. from client to server/central repository. On the other HTPCs, the arrow should be pointing up, from server/central repository to client.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    And if you compare the two bases, and choose someone more records, all more or new or ....

    ajs, that was my original thought when first I had the 2-way synch in the plugin. The main problem with this logic is that then, you can never process deletes. Let me have some further thinking about it and if I find a pretty "easy" way to do it, I will surely put it in ;).
     
    Last edited:

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    you can never process deletes. Let me have some further thinking about it and if I find a pretty "easy" way to do it, I will surely put it in .
    A delete may leave only on the master, and all other actions to perform in both directions?
     

    alturismo

    Portal Pro
    July 28, 2009
    121
    9
    Home Country
    Germany Germany
    one thing would be nice for all us server users ;)

    either a external trigger or a standalone version for the "main" htpc, i for example use a server for all imports etc ...
    also tv server, mpextended and so on ...
    so i always have to open mediaportal settings to start mpsync manually cause mediaportal usually never really running on this mashine ;)

    just a though as nice to have in case its easy to cover as standalone version ;)

    alturismo, will look into it, but for the time being, you can create a shortcut calling the below target:
    Code:
    "C:\Program Files (x86)\Team MediaPortal\MediaPortal\PluginConfigLoader.exe" /plugin="C:\Program Files (x86)\Team MediaPortal\MediaPortal\plugins\process\MPSync.dll"

    Thanks, thats a start ;) any way to auto sync on start this shortcut ?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,062
    11,144
    Kyiv
    Home Country
    Ukraine Ukraine
    Can I change the information in the log output from level Info to level Debug?

    Was:
    Code:
    2013-04-18 14:08:49.255278 [Info.][(6)]: MPSync: synchronization of table path in database VideoDatabaseV5.db3 complete.
    2013-04-18 14:08:49.255278 [Info.][(6)]: MPSync: synchronization of table usergroup in database VideoDatabaseV5.db3 complete.

    It became:
    Code:
    2013-04-18 14:08:49.255278 [Debug][(6)]: MPSync: synchronization of table path in database VideoDatabaseV5.db3 complete.
    2013-04-18 14:08:49.255278 [Debug][(6)]: MPSync: synchronization of table usergroup in database VideoDatabaseV5.db3 complete.
    2013-04-18 14:08:49.256278 [Debug][(6)]: MPSync: synchronization of table resume in database VideoDatabaseV5.db3 complete.
    2013-04-18 14:08:49.256278 [Debug][(6)]: MPSync: synchronization of table usergrouplinkmovie in database VideoDatabaseV5.db3 complete.

    It is difficult to analyze the log file, a lot of information output plugins synchronization and cleaning.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom