[fixed] Subtitles .idx & .sub issue (2 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I think too much lol :)

    I understand your point of view, with the team we decide that Autoload Subtitles means that do not autoload subtitle except forced one if available.
    About idx/sub we can't detect/check if the subtitle track is forced or not, because, it's not the whole subtitle track flag but the displayed sub that can be forced flag or non forced.
    All Forced and non Forced sub are mixed in the same track.
    On your sample, maybe some displayed sub are forced flag but for sure not few first.
     

    Sebastiii

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

    WIP :
    With help of cpp2005 on MPC-HC (dll), now it's possible to enable or not full/forced subtitle in live (when looking movie etc.)
    So i have made a patch for it in MP and StreamedMP skin.

    What is the purpose :
    Set Autoload to OFF -> Only forced sub will be selected by default and we can switch on other available subtitle, if the next subtitle stream is idx/sub, we can enable Full Sub option from the GUI and get/display all :)

    Thanks :)

    Ps : This feature will be include (i hope) in 1.3.0 and surely not in 1.2.0.
    Seb.
     

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    That's great news!

    Is there a way to try this out under Avalon skin?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I didn't know about Avalon, did test it, but just need to edit skin (Just is maybe not just), i want to say that we have to have :
    Patch for MP
    New DLL
    And skin files. :p
     

    Sebastiii

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

    This is for testing only :
    Attached binaries.
    strings_en.xml is to put in : "C:\ProgramData\Team MediaPortal\MediaPortal\language" folder
    I'm not really good in skin, so you can try with avalon by adding this in skin file (it's the one for StreamedMP):

    <control>
    <description>SubTitles Forced On/Off Checkbox</description>
    <type>checkmark</type>
    <id>803</id>
    <posX>908</posX>
    <posY>174</posY>
    <MarkWidth>20</MarkWidth>
    <MarkHeight>20</MarkHeight>
    <label>200092</label>
    <onup>801</onup>
    <ondown>802</ondown>
    <onleft>803</onleft>
    <onright>803</onright>
    <visible>no</visible>
    <animation effect="slide" start="1300,0" end="0,0" tween="quadratic" time="300" delay="0">visible</animation>
    </control>
    Thanks :)
     

    Attachments

    • 3521_IDX_SUB_Patch_Current_SVN_v3.zip
      1.7 MB
    • videoOSD.SubtitlesMenu.xml
      3.7 KB
    • strings_en.xml
      94.3 KB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Nice :) Offbyone create option in defaultwide Skin. (Thanks to him)
     

    Attachments

    • common.osd.buttons.xml
      21.6 KB

    Kotik

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

    I am trying to configure it but i cannot get it to work.

    And to avoid any issues i enabled the default skin and try it with that and still no go.

    Could you please tell me if i need latest SVN for that to work?

    Or can i just copy and replace the 3 files u link?

    Some more detailed steps would be welcome since i am not able to try it out.

    My current setup is MP 1.2.0 BETA and Default Wide skin.

    Thanx in advance.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi Kotik,

    can you post log ?
    Yes the dll are made on latest SVN, so maybe need dialog.dll too.
    This a new files.
    I have create dir :
    Put mediaportal dir in program files mediaportal dir.
    Skin in c:\ProgramData\Team MediaPortal\MediaPortal\
    language in c:\ProgramData\Team MediaPortal\MediaPortal\

    Set Autoload subtitle to off and start mp now to go menu -> go to "Y" key and select Subtitle sub menu, here so you see "Forced Only".
    Look the screenshot :)
    Thanks.
    Seb.
     

    Attachments

    • Subtitle Selection_v5_Full_Sub.jpg
      Subtitle Selection_v5_Full_Sub.jpg
      180.6 KB
    • 3521_IDX_SUB_Patch_Current_SVN_v4.rar
      1.5 MB

    Users who are viewing this thread

    Top Bottom