Database: Refactor MP1 database for multi seat usage (4 Viewers)

catavolt

Design Group Manager
  • Team MediaPortal
  • August 13, 2007
    13,660
    9,861
    Königstein (Taunus)
    Home Country
    Germany Germany
    So again my specs: Windows 11 InsiderPreview 22557 64 Bit, MP 1.30 PreRelease, all files are in the correct folders.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    516
    281
    Home Country
    United Kingdom United Kingdom
    Is it in 1st post or did you a PM?
    Sorry. I should have said. Yes, I updated the first post with the zip file MediaPortalRefactor1.29.014.zip.

    I hadn't anticipated these issues with the BAT file. Maybe I should develop an installation application for the refactored version:sneaky:?
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    516
    281
    Home Country
    United Kingdom United Kingdom
    Well, I´m on 1.30 PreRelease, but files and locations are the same - should work?
    No. This release is specific to the version number. I have to create a new release for each version (because all of the DLLs in a release are associated with the specific MP release number).

    I would have to create a completely new release for 1.30 and I don't think that is practicable, because it is still in beta. I'll create a version for 1.30 when the final version is released (or that's what I've been doing since 1.28).

    To get over the hurdle CyberSimian is having, I think it will be important for someone to install 1.29 on a machine with a standard configuration and then run the upgrade to the refactored version and test that to see whether that works and to then trry to identify why CyberSimian's configuration doesn't seem to work.

    As I said earlier, I have performed this process on several machines; 32 bit, 64 bit, Windows 7 and Windows 10. I haven't had any issues using exactly the same BAT file as I posted in the first posting in this thread.

    My guess is that, if and when we find out why CyberSimian's config is failing we'll all go "Well, that was obvious" ;) .
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    516
    281
    Home Country
    United Kingdom United Kingdom
    Yup, I think a simple MPEI would do ;)
    I am not familiar with using MPEIs. The idea was to do a quick check that the refactored app was doing things properly. It will take time for me to develop a set-up app but I guess it will be useful to do that.

    I'll get back to you all when I've done that.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    516
    281
    Home Country
    United Kingdom United Kingdom
    Just on another point. The refactored version was developed to enable multi-user client databases to be viable. One failing in the current refactored release is that the system doesn't know which client machine initiated a database update. To fix this, I propose to add an extra parameter in the config file called "client" where the client name can be specified (alongside "version"). I think this would be a simpler way to handle this issue than to have user logons (as MP2 allows).

    I want the code to be able to feed back to each other client when data has been changed by another client. Obviously, this would require validation to be performed when MP opens to ensure that the client name is unique for the system.

    If anyone has a better way of achieving this, please let me know.

    I could create a separate database that stores client information. I think this approach would be more reliable than using the config files but would be slightly more work. I've used this approach for another system so could borrow that code to use here.

    Any ideas welcome.
     

    Users who are viewing this thread

    Similar threads

    Hi, must be really a while, cuz I can not remember any post from you ;) But might be also that I joined the team too late. Yes, there will be many things. Main reason is simply, that MP2 is not developed based on MP1. I for example never used MP1. I tried it lately to test voice control and was shocked about many inconsistancies in...
    Hi, must be really a while, cuz I can not remember any post from you ;) But might be also that I joined the team too late. Yes...
    It´s been a while... :) Well, simply the reason is cause MP1 was working so well... :) Now I decided to upgrade my old servers and...
    Replies
    1
    Views
    976
    MP1 MP2 To NAS or not? DE
    What would the best alternative be if this doesn't work fluidly?
    What would the best alternative be if this doesn't work fluidly?
    Recently my main SSD on my HTPC died, taking away the main OS and MP along with it. How I was using it was to store the media...
    Replies
    17
    Views
    930
    Then you didn’t use Nereus Skin in MP2. tMM does a great job in combination with MP2 it’s the best, if you ask me.
    Then you didn’t use Nereus Skin in MP2. tMM does a great job in combination with MP2 it’s the best, if you ask me.
    I have been a relatively happy user of MP1 for quite a while. My setup is a dedicated HTPC connected to my TV, a TV capture device...
    Replies
    8
    Views
    1K
    Ok, the importer also remembers the queue of items that are still needed to be processed in settings file. If there is something stuck, it will try again on next server start and probably stuck again. But removing the media source also removes the associated queue. The server's TV plugin automatically creates the media sources for...
    Ok, the importer also remembers the queue of items that are still needed to be processed in settings file. If there is something...
    Hi, I’ve been struggling with MP 2 now for several weeks. Initially all was fine. Then in the client, the listings of recorded TV...
    Replies
    8
    Views
    1K
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me over the edge for sure.;)
    It is looking and working very well now and I am almost at the point of switching my HTPC to MP2, madvr would definitely push me...
    We are proud to present MediaPortal 2.3 MediaPortal 2.3 is a full-blown media center software that addresses the most common user...
    Replies
    4
    Views
    4K
    Top Bottom