[fixed] Subtitles .idx & .sub issue (1 Viewer)

Kotik

MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Ok got it working. Thanx.

    So here we go to the questions:)

    1. Am i right to believe that currently u have to disable Forced Sub option under the Y menu for every movie that u start watching?

    2. If the answer to 1 is YES then is it possible to have the same option but this time add it to MP configuration menu and make it global? Under the global/general subtitle options just add this option?

    Cause currently the user has to press lots of buttons on each movie start just to get this working.

    Other than that, it is working great :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ok got it working. Thanx.

    So here we go to the questions:)

    1. Am i right to believe that currently u have to disable Forced Sub option under the Y menu for every movie that u start watching?

    2. If the answer to 1 is YES then is it possible to have the same option but this time add it to MP configuration menu and make it global? Under the global/general subtitle options just add this option?

    Cause currently the user has to press lots of buttons on each movie start just to get this working.

    Other than that, it is working great :)

    Cool,

    If you want to disable Forced Sub by "Y" key, maybe it's better to make autoload subtitle to ON ?, I didn't follow you lol :)

    Except for idx/sub, if autoload is OFF (so user don't want sub except forced one) and if user want to see another sub, it can be done by switching subtitle.

    Now if you want to see all subtitle in idx/sub, we have to disable forced flag by the menu "Y", i mean, that if you want this option (Forced Enable in "Y" menu) by default, you need to put autoload sub to ON in configuration.
    And if user who want to see only forced sub in idx/sub, Autoload subtitle must be set to OFF.

    I have try to working on menu config (but it didn't solve that you want, look the screenshot).

    Ps : Idx/Sub is a special subtitle format.

    I think that you want is an option in configuration for IDX/SUB to override setting for Full Sub or Forced Sub but that it can be enable or disable from the GUI.

    This need special feature to detect selected sub if it's IDX/SUB or not. i think it's a big rework and don't know if it's possible easily.

    Thanks,
    Seb.
     

    Attachments

    • Subtitle Selection_v3.jpg
      Subtitle Selection_v3.jpg
      103.9 KB
    • Subtitle Selection_v3-2.jpg
      Subtitle Selection_v3-2.jpg
      99.6 KB

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    So lets see,

    Lets say that you have all your movies with .IDX/SUB.

    And you don't want any subtitles when the movie starts BUT you want to be able to activate them during the movie and you want to be able to switch BUT you want to be able to also see the movie without subtitles.

    Before 1.2 BETA all you had to do is the following:

    Auto Load-->OFF, start the movie, press f9 check if you do have subtitles for the movie and what kind of languages they are and then just select one.

    Now you cannot do this anymore.

    So what i would like is to be able to do the same thing under 1.2 BETA.

    I am still trying to find a nice way to do this, but it has to be simple and not user confusing.

    I do understand that we need Forced Subs and that .IDX/SUB is a special format.

    P.S. so if i understand correctly MP at the moment tags all the .IDX/SUB as Forced Subtitles and that's why if you don't have the Auto Load option ON it wont display them?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Before 1.2.0; forced flag didn't work or not totally.
    Now that forced flag is working, all work like it does (based on actual setting).

    When forced flag didn't work before 1.2.0Beta), when you set autoload to off, subtitle was not enable by default but you can select it later when looking movie.
    Now forced flag is working correctly, it didn't auto enable subtitle except if forced sub was found. (IDX/SUB can contain forced sub in his track)
    Like IDX/SUB is a mixed format, the fact to autoload to OFF, make it display only subtitle marked as forced in your alone selection (here english in your sample).
    So in this mode, if you sample contain some forced flag inside your English Track, it will be displayed. (Example : your english track can contain 10 subtitles and inside 10 Subs, it can be 3 sub marked as Forced) Did you follow ? :)

    Now i understand that all your IDX/SUB surely didn't contain some subtitle with the forced flag, but like the splitter can't know it, if user set he want only forced sub, it's normal that you can see any sub (this is why we add a GUI function to disable it but like you note need to be set each start of movie).

    I think if you have look @ the screenshot above that i have add a third option. "subtitle won't be auto loaded", it's mean that it's that you want, none subtitle will be enable by default by can't be enable when you play your movie. it's like before 1.2.0Beta.

    And we have these other option :
    "Subtitle will be auto loaded by language preference" equal to autoload sub to ON.
    "Subtitle will only display forced subtitles *" equal to autoload sub to OFF.

    If you want i can provide you by PM this new feature and you can tell me if it answer to your hope :)
    Thanks.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    What are you waiting for??? :)

    PM go go :)

    And thank you once more for dedicating your time into this.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Yes Sebastiii,

    Will try it out right away cause i was busy with work the last couple of days.


    EDIT:

    Getting the following error:

    2011-07-16 03:50:49.683201 [ERROR][MPMain(1)]: PluginManager: WindowPlugins, Version=1.1.7.28039, Culture=neutral, PublicKeyToken=null is tagged as incompatible with the current MediaPortal version and won't be loaded!
    2011-07-16 03:50:50.194230 [ERROR][MPMain(1)]: PluginManager: Dialogs, Version=1.1.7.28039, Culture=neutral, PublicKeyToken=null is tagged as incompatible with the current MediaPortal version and won't be loaded!
    2011-07-16 03:50:51.148285 [ERROR][MPMain(1)]: Exception: System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.GUI.Library.GUIWindowManager.ActivateWindow(Int32 newWindowId, Boolean replaceWindow, Boolean skipHistory, String loadParameter)
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Thanks for the new file will try it.

    Just want to inform you that i managed to make it to work yesterday by just replacing all the files except for WindowPlugins.dll and Dialogs.dll :) Since i was interested more in the global option like i told you :) and you rock!!! it is exactly what i was asking for :)

    Thank you very much Sebastiii and Team.

    But i will try the new version anyway.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Nice :)

    You need to replace WindowPlugins.dll to enable/disable forced option on screen otherwise it didn't work :) Dialogs.dll is based on recent change (SVN from core.dll).
    It's nice if it's work :)
    Thanks.
     

    Users who are viewing this thread

    Top Bottom