regeszter's custom MP (1 Viewer)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Maybe you will understand by the code :
    https://github.com/Sebastiii/MediaPortal-1/commit/2e53e8621747b001c6d4053432b0695d920ad5d5

    And i have added in mytvrecordedtv.xml :
    XML:
    <control>
              <type>button</type>
              <description>disallowed button</description>
              <id>8</id>
              <textureFocus>btn_list_blue2.png</textureFocus>
              <textureNoFocus></textureNoFocus>
              <textYOff>7</textYOff>
              <width>820</width>
              <height>50</height>
              <onleft>6</onleft>
              <onright>50</onright>
              <onup>6</onup>
              <ondown>99</ondown>
              <label>1657</label>
            </control>

    What i need is to display recorded items from an hidden Channel Group, i want them hidden but i want to be able to display them for playing them. (Horror / XXX etc.) :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    2- Items hidden are not available until going to context menu and select to show them with pin-code

    Why do you want to add hide/unhide function to context menu? ;)

    Which group of PIN code will you enter? You can create more than one PIN protected groups. One for horror one for xxx. ;)

    Yep i have created different Groups with pin-code and if i record a channel from those Groups, it seems that i can't play them because they are hidden in TvRecorded window, so i have an option to display them :)
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    1. Go to TV guide or minitv guide.
    2. Switch the group to a protected one.
    3. Enter the PIN code of that group.
    4. Go to Recorded TV. You will see the recorded items from free/unprotected and the channels which are in that group.
    5. Enter TV guide or minitv guide.
    6. Switch the group to an unprotected/free one.
    7. Go to Recorded TV. You can see only the recorded items from free/unprotected groups.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Maybe you will understand by the code :
    https://github.com/Sebastiii/MediaPortal-1/commit/2e53e8621747b001c6d4053432b0695d920ad5d5

    What i need is to display recorded items from an hidden Channel Group, i want them hidden but i want to be able to display them for playing them. (Horror / XXX etc.) :)

    Just switch to that group where the channel is available. You will see the items in recorded TV.

    Ok i understand now :) and i just try but i didn't see all protected item or it's maybe because of my change lol.

    So i did go to a protected group and after going to recordedTV, i can see few of protected recording :)
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I notice an issue in log but surely not important :
    1- Going to TVGuide
    2- Going to protected group -> pin-code
    3- Record a channel protected
    4- Going to TVGuide (free Group)
    5- Going to TVHome
    6- Active recordings (here is the error in log)

    Code:
    [2015-12-26 22:56:53,218] [Error  ] [MPMain   ] [ERROR] - OnMessage exception:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
       at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
       at System.Collections.Generic.List`1.get_Item(Int32 index)
       at TvPlugin.TVHome.OnActiveRecordings(IList`1 ignoreActiveRecordings) in d:\svnroot\MediaPortal-1_Fork_1\TvEngine3\TVLibrary\TvPlugin\TvPlugin\TVHome.cs:line 2455
       at TvPlugin.TVHome.OnActiveRecordings() in d:\svnroot\MediaPortal-1_Fork_1\TvEngine3\TVLibrary\TvPlugin\TvPlugin\TVHome.cs:line 2400
       at TvPlugin.TVHome.OnClicked(Int32 controlId, GUIControl control, ActionType actionType) in d:\svnroot\MediaPortal-1_Fork_1\TvEngine3\TVLibrary\TvPlugin\TvPlugin\TVHome.cs:line 741
       at MediaPortal.GUI.Library.GUIWindow.OnMessage(GUIMessage message) in d:\svnroot\MediaPortal-1_Fork_1\mediaportal\Core\guilib\GUIWindow.cs:line 1713
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ok, i have fixed the above error :)
    I have another one related to tvstream lol, i'm in UNC mode and it seems that it want to use RTSP mode.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi, about the error for Active recording i fix by using this :
    https://github.com/Sebastiii/MediaPortal-1/commit/29a75835fd16652ccf7713b36e956aef5f714617

    Now the placeshift or something related issue :
    If i start a record and i want to start the live stream :

    upload_2015-12-27_8-42-17.png


    Then :

    upload_2015-12-27_8-44-1.png


    At first i was thinking that it was RTSP vs UNC but i have setup MP to use RTSP and it's the same.
    Like i was on my version lol, i have installer your GIT build and it does the same.
     

    Users who are viewing this thread

    Top Bottom