MP2-Edit - A MediaPortal 2 Media Library Editor (1 Viewer)

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Atm only with SQLite. But we are planing to port it later to WebAPI and then it will work with all databases.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    The series part nearly is ready. I only need to add season fanart management (forgot it earlier :oops: )
    Aside this you can change anything that is changeable inside the Mediaportal2 media library (not too much atm).

    I think a first testing version will be there tomorrow.

    Zwischenablage-1.jpg
    Zwischenablage-2.jpg
    Zwischenablage-3.jpg
    Zwischenablage-4.jpg
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    Not at home atm. But this error means, something isn't where it should be.... Maybe because of the unusual path H:\Program Files...
    As told, MP2-Edit needs to read and write to system folders. This can be an issue if they are not on Drive C:
    I'm back home on Sunday, then I can have a deeper look.
     

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    I need more informations to fix this properly. When exactly did this message pops up? The line with the error did not exist in source code. It's a pity as this would make debugging a lot easier. This message only shows up the correct line when the source is running without compiling directly inside the development environment. And I can't reproduce this error here due to my regular MP2 setup, I'm having troubles to find what's going wrong.

    A regular start of MP2-Edit will first pops up a message box asking if it's OK to stop MP2 server.
    After this is positively answered a splash screen appears with three different texts on it. The first text is "Stopping MediaPortal 2 Server" the second is "Backing up the Database" and the third is "Initializing SQLite". The time how long those texts appears are different as they stay until the named step is done in background. But if you see the second text, you can be sure the first step was successful and so on,...

    I really need to know which step fails. I'm pretty sure this has to be early in startup process as later the SQLite connection will fail, but this don't lead to a crash, only shows a message box to tell you about the problems...

    As a workaround for all of you, not using default path for MP2 installation, you need to edit the attached .ini file and copy it manually into the MP2-Edit install directory, right next to MP2-Edit.exe... Then MP2-Edit hopefully should start. The value for "ini_DBFolder" must be the path to MP2 data folder, normally it's "C:\ProgramData\Team MediaPortal\MP2-Server". The value for ini_BackupFolder must be set to a valid path to store the backups. Normally this is set to: "C:\ProgramData\Team MediaPortal\MP2-Server\Database\Backup"

    I will write a function to catch those issues later. For now, if you alter the default path for MediaPortal2 installation, you need to edit the .ini by yourself.
     

    Attachments

    • MP2-Edit.7z
      229 bytes

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    Hi Lehmden, great little piece of software! It's seems promising!

    I want to give it a try but i'm stuck at: Initializing SQLite
    Screen Shot 2015-01-19 at 8.13.56 AM.jpg

    Can you Help ?
     
    Last edited:

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,565
    3,946
    Lehmden
    Home Country
    Germany Germany
    Hi.
    No errors appear? Do you have installed MP2 on default path? Depending on the power of your Server and how much series episodes you have it will take a while until MP2-Edit is ready... On my Haswell i5 it takes about 15 seconds until all 20.000 episodes are read into the treeview. This is done at startup to avoid slow operating speed while working on the ML...

    Can you upload your MP2-Edit.ini, if one exists?

    Locally I have a version ready that is looking for this ini file and if it's not there, a striped down GUI is shown, only with configuration options to avoid errors during startup. But as I'm working on the Movies Part right now I want to avoid reverting those changes only to release a fixed version. You can try to manually edit the previously attached ini to fit your setup...
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    No error thrown just stucked there. I managed to get it working by reinstalling it.

    Problem now is that I see my series but there are no infos...
    Screen Shot 2015-01-19 at 8.37.29 AM.jpg
     

    Users who are viewing this thread

    Top Bottom