[solved] Stub Support (1 Viewer)

Michael1872

Portal Member
December 19, 2018
13
1
Germany Germany
Hello everybody,

I try to use the new stub support for MP2.

I created the stub file "filename.dvd.disc" with TinyMediaManager and created a corresponding nfo.

The content of the stub is as follows:

<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<discstub>
<title>Movie name</title>
<disc>Name of disc in Windows. Used when matching stub to disc</disc>
<message>Message to be displayed when the disc should be inserted</message>
</discstub>

When I start the dvd, the corresponding info from the database entry is shown. The watched flag for the database entry is set.

So until now everything works perfect.

But when I try to start the movie from the library without the dvd present, nothing happens. The messagebox in which I should
be informed to insert the dvd does not pop up.

What am I doing wrong? Any suggestions?
 

henso

Development Group
  • Team MediaPortal
  • February 16, 2012
    2,173
    736
    Denmark Denmark
    Country flag
    <disc>Name of disc in Windows. Used when matching stub to disc</disc>
    You need to enter the disc name here.
    What am I doing wrong? Any suggestions?
    You need to import the file by adding a share which contains the file.

    After this is done it should link the imported stub to the disc and stay in the media library after removing the disc. If you start it from media library it should ask for the disc if not found via the disc name.
     

    Michael1872

    Portal Member
    December 19, 2018
    13
    1
    Germany Germany
    Thank you for your answer!

    I entered the disc name.

    This is the name and content of the stub file:

    Name: True Grit.dvd.disc
    Content:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!-- created on 2018-12-17 21:19:39 - tinyMediaManager 2.9.14 -->
    <discstub>
    <title>True Grit</title>
    <disc>TRUE_GRIT</disc>
    <message>DVD True Grit einlegen</message>
    </discstub>

    I have a nfo file (True Grit.dvd.nfo) and the import worked fine.

    When I start the movie directly from disc it shows the information from the media library.

    But when I try to start the movie from the media library nothing happens regardless of wether the dvd is present or not.

    I have added a screenshot of the discname in windows explorer.

    Discname.png


    Do you see any faults?
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,173
    736
    Denmark Denmark
    Country flag
    I add logs to provide more information.
    I see what the problem is and it will be fixed. As a workaround you could create the missing folder: "C:\ProgramData\Team MediaPortal\MP2-Client\Resources".
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,173
    736
    Denmark Denmark
    Country flag
    I will check it when I find time. I am currently not home, so can’t say when.
     

    henso

    Development Group
  • Team MediaPortal
  • February 16, 2012
    2,173
    736
    Denmark Denmark
    Country flag
    No idea anybody?
    It should work like follows:
    1. Disc is in the drive when MP2 is started: Go to video section -> browse media -> play disc media item. Data from the media stub will be displayed here and watch data will be stored in the media library. It is not designed to be started from the media library. Discs will have to be played from "Browse media" just like before stub support.
    2. Disc is not in drive when MP2 is started: Just insert disc and selected play when popup is shown. Again watch data will be stored in the media library.
     

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

    Top Bottom