VideoDatabaseV5 design issue (4 Viewers)

Anthony Vaughan

MP Donator
  • Premium Supporter
  • June 25, 2015
    586
    294
    Home Country
    United Kingdom United Kingdom
    I get the feeling that we are talking at cross purposes here.

    Since I'm only ever going to be doing this for my system I guess I'm better off working it out for myself.

    Thanks for the help.

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    VideoDatabaseV5 is the MyVideo plugin database. We are talking about it, this database is used not only by this plugin, but also by other plugins, extensions and add-ons.
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    586
    294
    Home Country
    United Kingdom United Kingdom
    Okay. That's clear and reassuring because I was confused by the use of the term MyVideo.

    I have worked on VideoDatabaseV5 for a long time developing an app to synchronize client databases so I'm pretty familiar with it.

    Should be good to go from here.

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    The database is a small part of the iceberg, a large part in the source code, and not only Media portal
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    586
    294
    Home Country
    United Kingdom United Kingdom
    I have taken aboard what you said about movie being the center of the database and have adjusted my proposed design accordingly:

    View attachment VideoDatabaseV5 - proposed.jpg

    This design completely eliminates the possibility of the errors I get and I will start doing extensive testing on this with four clients over an extensive period of time. I have merged the files and movie tables (the diagram is only showing the primary key and foreign key fields for brevity). So, strFilename in now in the movie table.

    There are four lines of code I need to change in the MediaPortal application to finish the job properly, but the latest GitHub download of 1.28 gives me four compile errors as follows:

    Splashscreen.cs line 53 CS0246 The type or namespace name '_renderTarget' could not be found (are you missing a using directive or an assembly reference?)

    Splashscreen.cs line 130 CS0246 The type or namespace name '_renderTarget' could not be found (are you missing a using directive or an assembly reference?)

    D3D.cs line 2132 CS0400 The type or namespace name '_renderTarget' could not be found (are you missing a using directive or an assembly reference?)

    D3D.cs line 2654 CS0400 The type or namespace name '_renderTarget' could not be found (are you missing a using directive or an assembly reference?)

    How do I fix these errors?

    I recognize that it would be quite an effort for you to implement my changes but let me know if you want me to send you the code. The changes involve the following files:

    Databases.dll
    Databases\Video\IMDBFetcher.cs
    Databases\Video\IMDBMovie.cs
    Databases\Video\IVideoDatabase.cs
    Databases\Video\VideoDatabase.cs
    Databases\Video\SqlLite\VideoDatabaseSqlLite.cs
    Common.GUIPlugins.dll
    Common.GUIPlugins\Video\SelectBDHandler.cs
    GUIVideos.dll
    GUIVideos\GUIVideoBaseWindow.cs
    GUIVideos\GUIVideoFiles.cs
    GUIVideos\GUIVideoInfo.cs
    GUIVideos\GUIVideoPlaylist.cs
    GUIVideos\GUIVideoTitle.cs
    GUIVideos\SelectDVDHandler.cs
    Configuration.exe
    MovieDatabase.cs

    To get me around the MediaPortal problem I have created a dummy method in VideoDatabaseSqlLite.cs to handle that.

    Tony
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    586
    294
    Home Country
    United Kingdom United Kingdom
    I am using VS2019.

    I downloaded the ZIP file from 'MediaPortal/MediaPortal-1'.

    Is there something else I need to do? The error seems to be indicating that the project file for MediaPortal is missing a reference.

    Tony
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,069
    11,153
    Kyiv
    Home Country
    Ukraine Ukraine
    For full build you need NSIS version 3.06.1
    And run from command line:
    Code:
    cd c:\project\mediaportal\build\
    "%ProgramFiles(x86)%\NSIS\makensis.exe" "..\Tools\InstallationScripts\DeployToolUnPacker-x64.nsi"

    Or run: Build\MSBUILD_Rebuild_All_MediaPortal_Release.bat - Compile and Build MP1
     

    Anthony Vaughan

    MP Donator
  • Premium Supporter
  • June 25, 2015
    586
    294
    Home Country
    United Kingdom United Kingdom
    Okay.

    When I ran the batch file I got the following error:

    'EditBin.exe' is not recognized as an internal or external command

    Going to try NSIS next.

    Tony
     

    Users who are viewing this thread

    Top Bottom