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

ajs

Development Group
  • Team MediaPortal
  • February 29, 2008
    16,064
    11,145
    Kyiv
    Home Country
    Ukraine Ukraine
    O! I have MPExtended installed on both server and HTPC too.
     

    lulsam

    Portal Pro
    December 28, 2006
    116
    6
    Home Country
    Spain Spain
    @johanj: In my case it works perfectly with MPExtended and WebMepo since the first version I checked 1.0.0.2 with no special configuration.

    @ M3rcury: I don't know what did you do in the new version 1.0.0.5, but it seems to me that it syncs faster than the 1.0.0.4, maybe it is only a feeling.........

    Keep on the good work!!
     
    Last edited:

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    m3rcury, thanks for your efforts with this plugin. I have not yet tested it myself since I only had one MediaPortal instance before. Now I have use for it since I recently added MediaPortal on my server to test multi-seat setup with Eve. My concern for testing your plugin is that earlier in this thread it was posted to not work together with MPExtended. Is that still a problem? I have MPExtended installed on both server and HTPC.

    johanj, it was mentioned that there might be locks on databases caused by MPExtended. At the moment I don't have that extension installed in my setup, hence cannot confirm 100% if there is an issue. What I can suggest is that you take a backup of your databases, install the plugin and give it a try. From the thread that reported the locking issues, there were a number of enhancements to the plugin, so don't know if it is still an issue.

    Regards
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    @johanj: In my case it works perfectly with MPExtended and WebMepo since the first version I checked 1.0.0.2 with no special configuration.

    @ M3rcury: I don't know what did you do in the new version 1.0.0.5, but it seems to me that it syncs faster than the 1.0.0.4, maybe it is only a feeling.........

    Keep on the good work!!

    lulsam, thanks for the feedback. I did some tuning in the latter version and in the next one, it will be even faster! I introduced triggers to indicate which tables in the databases have changed. This avoids scanning all tables on both source and target and comparing the record contents. It will be less taxing on the HTPC CPU usage and IO.

    I will still allow the 1.0.0.5 synchronization method for those who do not want to have triggers created in the databases, but with the triggers, it is a hell lot faster!

    I have also introduced database integrity checking on plugin startup, hence it will take a couple of minutes (depending on database size) to start the synchronization, but this should fix corrupted target databases and avoid plugin to stall.

    Regards
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    I have been asked many times what you give. And all that you have asked, I have given you. What do you have to give? You, as creator of the plugin should be better than I know why it did not work. Why does not write to the log file. Compile a debug version, I'll run it and I will give you the log. Or do you want me to take the source code, put the studio and do it myself?

    I will just reply with this comment. Quite an arrogant post from your end ajs!! (n)
     
    Last edited:

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    977
    733
    Home Country
    Malta Malta
    O! I have MPExtended installed on both server and HTPC too.

    Oh, this is the first time you mentioned this... Before posting any comment, please take a minute to read the posts by fellow forum members to see if there is something similar to your setup/situation.
     
    Last edited:

    johanj

    MP Donator
  • Premium Supporter
  • January 31, 2009
    781
    398
    46
    Home Country
    Sweden Sweden
    I tested the plugin on my setup. First with MPExtended service on for both HTPC and Server.

    HTPC:
    Set to sync everything(databases, thumbs) from default MP folders to public folders on the Server. This worked fine.

    Server:
    Synced from the public folders to default MP folders.
    -MPExtended service Up. Got problems with locked databases, see attached log file(mpsync.log)
    -MPExtended service Down. Synced fine. See log(mpsync_MPExt_off.log).
    -MPExtended service up again. Synced fine. However, nothing should be needed to be synced since the last sync went fine.

    m3rcury, installing MPExtended is easy so please try your plugin with this service running. Your plugin is a really good extension and probably a must have for multi-seat setup. I guess that more and more people also are using MPExtended and it would be ideal if both these plugins could run a the same time. Normally one have the MPExtended service always running and that is the case for your sync plugin as well.

    I will report back to you if I see problems with locked databases further on.

    Keep up the good work.(y)
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,064
    11,145
    Kyiv
    Home Country
    Ukraine Ukraine
    I will just reply with this comment. Quite an arrogant post from your end ajs!!
    I have not quite understand your English. But now the plugin again earned. Synchronization with the master on the client went well, but the database on the client has been marred logically. Sent it to you. See personal mail.

    Before posting any comment, please take a minute to read the posts by fellow forum members to see if there is something similar to your setup/situation.
    I have read, but the plugin worked. Then he began to spoil the database. You said that this is because of the Russian language. Then came the update. And the plugin just stopped working. But today, just as suddenly earned. However, the database is still logically corrupted.
     

    TiboTv

    Portal Pro
    June 22, 2009
    244
    39
    Home Country
    Belgium Belgium
    Probably an off topic... just tell me if it's more a movingpictures questions.

    I'm using multiseat (database and thumbs stored on a NAS) setup for now 4 years without a lot of problems (just the mptvseries corrupted one time) and I want to give a try to your plugin because I think that it could be a great improvement in speed browsing if the database and thumbs are local on clients.

    But I think about a problem : I've got 3 clients : 2 running Win7 and 1 running XP and as it's well known the program data paths are different between XP and 7 version.
    I know that in movingpictures database, thumb path are stored with complete path, so if I get a copy of database from an Win 7 client on a Win XP client, movingpictures will probably get some difficulties to find the thumbs! ;-)
    I think about a workaround : Changing the database and thumbs path in the directories xml file like we do to make a database sharing but this time changing the path to (e.g.) c:\mpdatas\database and c:\mpdatas\thumbs
    By doing this on each client (7 and XP), I get the same path on each client.

    Is any of you as already get this problem or think that this workaround could be a good solution?

    Thanks for your answers.
     

    Users who are viewing this thread

    Top Bottom