[Plugin] MPSync - MediaPortal multi-seat Synchronization (1 Viewer)

m3rcury

Development Group
  • Team MediaPortal
  • August 12, 2010
    962
    707
    Malta Malta
    Country flag
    I was getting the same error with v0.0.0.3, but v0.0.0.4 installs and loads ok, but the browse buttons do not open a window to select any location (had to paste it manually in the text field) and the button to set synchronisation direction does nothing. It is always stuck at both directions on both master and client

    So until this gets fixed, it will have to stay deactivated :(
    Tried to finish the new request to select databases as quickly as possible and didn't re-test everything :(, but an update has been released to fix the issues reported here (y). Please download v0.0.0.5 Beta from repository link in post #1.

    Regards[DOUBLEPOST=1363897313][/DOUBLEPOST]
    Pog, as long as the thumbs/artwork have the same path on your master HTPC and on your client HTPCs, eg. on both master and client thumbs are found in C:\ProgramData\Team MediaPortal\MediaPortal\thumbs, then there should not be an issue using this plugin as long as you copy the artwork manually!! I think it will be a bit of an overhead to copy across the artwork as well, unless there is popular demand to do such a development.
    There is - and I can tell you why :) With a multiseat setup and MPExtended/WebMediaPortal installed on the TV server, I will not have databases and thumbs on the server. This is where your plugin comes in - for the databases, so far. Would be great to also have the option to syncronize thumbs to display in WebMediaPortal. Currently I have to do this manually.
    Requiem, will see what I can do.
     
    Last edited:

    Requiem

    MP Donator
  • Premium Supporter
  • January 1, 2012
    586
    214
    Germany Germany
    Country flag
    Great, thanks a lot! Shouldn't this be easy as you have a sync framework running already? Isn't it "just" the addition of another directory?
     

    Badger.66

    MP Donator
  • Premium Supporter
  • April 5, 2011
    3
    0
    United Kingdom United Kingdom
    Hi m3rcury,
    good work on your plug-in.

    I have a question about a the whole multi-seat set up for this plug in.

    In my set up I have 3 Mediaportal machines
    the
    Server machine A (all Media is kept on this Machine)
    and two low power HTPC
    Client b and Client c

    In your set up you advise
    The Client b set up as
    Source DB = Centralized (on Server machine A I guess)
    Target DB = local ( on Client b machine)

    the server (Master Setup)
    Source DB = on client b Machine
    Target DB = on Server A

    if set up on Client c is the same as on Client b then does it matter that their is no formal arrangement
    from Server A and Client C

    Thanks
     

    Collective

    Portal Pro
    July 13, 2008
    104
    54
    Australia Australia
    Country flag
    v0.0.0.5 installs and appears to work fine now. Thanks (y)
    I would like to add my support for thumbs synchronisation since I store them on local SSD's as well to speed up loading and browsing
    Surely copying 1 or 2 newly added covers and episode thumbs etc at a time won't take up too much bandwidth, resources or time.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    962
    707
    Malta Malta
    Country flag
    Great, thanks a lot! Shouldn't this be easy as you have a sync framework running already? Isn't it "just" the addition of another directory?
    Requiem, currently the synchronisation works at record level in the databases and it is not copying over files, but it is doable. In fact, I already have another plugin, MPCleaner, which is scanning the thumbs folders for housekeeping, so am putting this request on the to do list.[DOUBLEPOST=1363931742][/DOUBLEPOST]
    v0.0.0.5 installs and appears to work fine now. Thanks (y)
    I would like to add my support for thumbs synchronisation since I store them on local SSD's as well to speed up loading and browsing
    Surely copying 1 or 2 newly added covers and episode thumbs etc at a time won't take up too much bandwidth, resources or time.
    Thanks Collective. Agreed that once the synchronisation has run for the first time, it should not create too much copying...my only concern is the thumbs folder comparison between the source and the target machine, but will come up with an efficient way to do that :p.
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    962
    707
    Malta Malta
    Country flag
    Hi m3rcury,
    good work on your plug-in.

    I have a question about a the whole multi-seat set up for this plug in.

    In my set up I have 3 Mediaportal machines
    the
    Server machine A (all Media is kept on this Machine)
    and two low power HTPC
    Client b and Client c

    In your set up you advise
    The Client b set up as
    Source DB = Centralized (on Server machine A I guess)
    Target DB = local ( on Client b machine)

    the server (Master Setup)
    Source DB = on client b Machine
    Target DB = on Server A

    if set up on Client c is the same as on Client b then does it matter that their is no formal arrangement
    from Server A and Client C

    Thanks
    Badger.66, you need to identify which one from A,B or C will act as the first source PC, i.e. which one will do the movie/series scraping. Once you decide that, ideally that machine should then synchronise it's database to a copy on A (if A is not doing the scraping). The other machine should then synchronise from A to it's local copy.

    For simplicities sake, let us take the below example.

    A is the server
    B is the HTPC doing the scraping
    C is another HTPC

    So on B, the plugin setup should be:

    B -> A (B set as source synchronising to A which is set as target)

    And on C, the plugin setup should be:

    A -> C (A set as source synchronising to C which is set as target)

    The above setup will allow you to import movies only from machine B and share to any other, hence if you later on decide to add a new HTPC, you just set up same as C.

    Hope I have explained :).
     

    Pog

    Retired Team Member
  • Premium Supporter
  • September 7, 2009
    401
    315
    Wicklow
    Ireland Ireland
    Is there potential issues with plugins that store their settings in the DB? TVSeries works this way I believe.

    This would mean that each client will end up with the masters settings and each would initiate a import/scrape.

    How does the 2-way sync work or is this even possible? Can changes such as watched-flags etc be propagated between clients?
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    574
    232
    Canada Canada
    Country flag
    wow, THE plugin I've been waiting for. I'll give it a try,

    Thanks !
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    962
    707
    Malta Malta
    Country flag
    Just to keep you updated, am making good progress on the thumbs folder synchronisation...:D
     

    m3rcury

    Development Group
  • Team MediaPortal
  • August 12, 2010
    962
    707
    Malta Malta
    Country flag
    Is there potential issues with plugins that store their settings in the DB? TVSeries works this way I believe.

    This would mean that each client will end up with the masters settings and each would initiate a import/scrape.

    How does the 2-way sync work or is this even possible? Can changes such as watched-flags etc be propagated between clients?
    Pog, at the moment, the plugin will synchronise everything, so yes, plugins like TVSeries and MovingPictures will have their settings/options table synchronised as well.

    Regarding 2-way sync, what it does is add whatever is in client A to client B and vice-versa. I still need to do some tweaking on this method of sync as I need to add that if a record exists in both clients, the most recent one updates the other...
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 5
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 4
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    doskabouter [Question] Stale plugins Developer Discussions 9
    M MP1 stops responding after Starting Plugins General Support 14
    Terra LAVFilter Plugin cannot be updated (MP1.23) MediaPortal 1 Plugins 10
    L Mediaportal 1.21 and Windows 10: user schedules de-activated when powerscheduler plugin is selected General Support 1
    Similar threads

























    Top Bottom