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

    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.

    The solution works but not perfect :)
    If i go to a group protected, i can see protected recorded.
    Now i go to home (so going outside TVHome) and if i go/Re-enter to RecordedTV, i can see protected items, i think here we shouldn't see them because we go out from TvHome.
    But now, if i enter TvHome, it switch to a non protected group and then protected recording is hidden.

    I think i prefer like myvideo, ask for a pin code to going to protected content. But i like the idea to have all section visible when you actually are on protected group.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Should be ok now :) i have forced push my branch so GITHUB wasn't updated :(
    I attach my change in cas of someone want to try :)
    I think it's good now for my use lol
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    Should be ok now :) i have forced push my branch so GITHUB wasn't updated :(
    I attach my change in cas of someone want to try :)
    I think it's good now for my use lol

    git.exe am --3way --ignore-space-change --keep-cr "Z:\R\262242_0001-Fork-Reload-TVHome-settings-when-going-outside-TvRec.patch"
    Applying: Fork : Reload TVHome settings when going outside TvRecorded to avoid to keep protected item visible.
    Repository lacks necessary blobs to fall back on 3-way merge.
    Cannot fall back to three-way merge.
    Patch failed at 0001 Fork : Reload TVHome settings when going outside TvRecorded to avoid to keep protected item visible.
    The copy of the patch that failed is found in:
    c:/mp/MediaPortal-1/.git/rebase-apply/patch
    When you have resolved this problem, run "git am --continue".
    If you prefer to skip this patch, run "git am --skip" instead.
    To restore the original branch and stop patching, run "git am --abort".

    fatal: sha1 information is lacking or useless (TvEngine3/TVLibrary/TvPlugin/TvPlugin/TvRecorded.cs).

    Fail
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    At first i was thinking that it was RTSP vs UNC but i have setup MP to use RTSP and it's the same.

    Strange. It works here. Can you give me the step by step info?
     

    regeszter

    Retired Team Member
  • Premium Supporter
  • October 29, 2005
    5,335
    4,954
    Home Country
    Hungary Hungary
    There is the same behaviour in scheduled screen.

    What do you mean ?
    To be able to schedule from tvguide ?

    No. The schedule screen do not show the items from protected channels if the user is not on protected group. Same as in recorded TV. We should to add the same protection in onpageload when the user leave tvplugin and enter again.
     

    Users who are viewing this thread

    Top Bottom