[fixed] MKV files are not available, because path to mkvextract is not correct (1 Viewer)

chefkoch

Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    If the MovieThumbnailer fails to create thumbs, the video file is not available in MP2 at all.

    After removing the MovieThumbnailer plugin the files are still not imported :(

    Point three below, might be the reason of the issue :sneaky:


    Note: There is nothing logged to the ServerError.log at all. Should it? Or only on critical internal errors?

    Offtopic: is 'MovieThumbnailer' the correct title for this plugin?

    Yet another thing ;) : When debugging the MP2-Server is is looking in for the mkvextract at the following location
    D:\MediaPortal\Sources\MediaPortal-2-dev\MediaPortal\Bin\MP2-Server\bin\x86\Debug\mkvextract.exe
    instead of
    D:\MediaPortal\Sources\MediaPortal-2-dev\MediaPortal\Bin\MP2-Server\bin\x86\Debug\Plugins\MatroskaLib\mkvextract.exe
    EDIT: After hardcoding the paths while debugging everything went fine and the mkv files have been imported.

    ... :p ... and yet another hint: in MovieThumbnailer the folder References and the containing ffmpeg.exe is included within the MovieThumbnailer project file, so you can see it in project explorer within VisualStudio.
    For MatroskaLib the References folder is not included in MatroskaLib.csproj

    Last but not least: Debugging MediaPortal 2 using VisualStudio is fun and one of the easiest things you can imagine. Almost everything is in place and working together. Keeping out components from testing is simply done by unloading the projects. No need to modify and crappy postbuild.bat :cool:

    ...hmm... Thumbnail creating still throws an exception, might be a similar issue (path to ffmpeg.exe) too lazy to test it now. Good night.
     
    Last edited:

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    I am on af1264f447f9d6b737adf4984776ed25e406dfc5 (current dev). Is your fix in dev-branch as well?

    Found your commit in the history. So it should already be in the build I used.
     
    Last edited:

    Users who are viewing this thread

    Top Bottom