[TV] - Automatically Change Channel on Program Reminder

Discussion in 'Improvement Suggestions' started by vapourEyes, June 29, 2016.

  1. vapourEyes

    vapourEyes Portal Member

    Joined:
    July 31, 2013
    Messages:
    26
    Likes Received:
    10
    Ratings:
    +12 / 1
    Home Country:
    United Kingdom United Kingdom
    Summary:
    Setting a reminder in the Program Guide automatically changes channel - choice defaulted to 'Yes'.

    Area:
    Tv and Radio Program Guide

    Description:
    At present:
    MediaPortal enables the user to set a reminder for a program. It will alert the user when the time comes.
    It then places a reminder on the screen, defaulted to 'No'. You have to manually switch to 'Yes', then select to change the channel.

    With the new code, written and tested with MediaPortal 1.10.0, I have changed this behaviour.
    It now Alerts the user that it will change channel, with the same notification. The default option is set to 'Yes'. It alerts a minute before the program is due to start and then switches 30 seconds before.
    If MediaPortal was paused at the time of the channel switch, the code switches Channel and then Pauses MediaPortal again.

    If an internet feed is playing, the notification happens, but the switch to the new channel does not.

    This improvement means the user never misses a program. So long as they reach their Tv before the total buffer time, they can simply rewind and watch all their Reminded programs.



    MediaPortal basically tracks the Reminders in the Tv Guide, switching automatically as it goes.

    I have the code tested on MP 1.10.0.

    If anyone finds this useful I can post the code for the developers.

    This feature is working out very well here so far.

    Thank you.
     
    Last edited: June 29, 2016
    • Like Like x 2
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. Holzi
    • Team MediaPortal

    Holzi Super Moderator

    Joined:
    April 21, 2010
    Messages:
    7,928
    Likes Received:
    1,591
    Gender:
    Male
    Location:
    Ba-Wü
    Ratings:
    +2,228 / 8
    Home Country:
    Germany Germany
    Show System Specs
    Would be surely nice to share the code. Do you know how to make a GIT pull request?
     
  4. vapourEyes

    vapourEyes Portal Member

    Joined:
    July 31, 2013
    Messages:
    26
    Likes Received:
    10
    Ratings:
    +12 / 1
    Home Country:
    United Kingdom United Kingdom
    I may be able to manage a GIT pull request. I'm still using SVN a lot here.
    I can pastebin the code for now if you like ? Then try with a git pull ?
     
  5. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,694
    Likes Received:
    1,118
    Gender:
    Male
    Ratings:
    +2,400 / 22
    Home Country:
    Germany Germany
    Show System Specs
    @vapourEyes ,

    Changing the functionality by 180° seems to be what you like. However, I trust that there are others who would still prefer the current functionality.

    Ideally this would be configurable, yet a change in GUI would be required to add a selection to the screen. Not sure if you made changes in this section, but adding this would certainly provide an interesting enrichment of MP's functionalities that could be added to the internal builds for testing purposes.
     
  6. vapourEyes

    vapourEyes Portal Member

    Joined:
    July 31, 2013
    Messages:
    26
    Likes Received:
    10
    Ratings:
    +12 / 1
    Home Country:
    United Kingdom United Kingdom
    Hi HTPCSourcer,

    Totally agreed with you. The setting should be configurable in the UI ideally.
    Thats a bit beyond me at this stage, so I have not made changes there.
     
  7. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,694
    Likes Received:
    1,118
    Gender:
    Male
    Ratings:
    +2,400 / 22
    Home Country:
    Germany Germany
    Show System Specs
    Alright, why don't you just describe your code and bin changes here? Maybe one of our devs will pick it up and add a configuration tick box in the UI.

    @regeszter , @Sebastiii , something you could take a look at?
     
  8. regeszter
    • Team MediaPortal

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    Code freeze of tve3?
     
  9. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,694
    Likes Received:
    1,118
    Gender:
    Male
    Ratings:
    +2,400 / 22
    Home Country:
    Germany Germany
    Show System Specs
    Isn't this something happening on the client side only?
     
  10. regeszter
    • Team MediaPortal

    regeszter Retired Team Member

    Joined:
    October 29, 2005
    Messages:
    5,335
    Likes Received:
    2,863
    Ratings:
    +5,152 / 18
    Home Country:
    Hungary Hungary
    The tvplugin part of the tve3.
     
  11. HTPCSourcer
    • Team MediaPortal
    • Administrator

    HTPCSourcer MP2 Product Manager

    Joined:
    May 16, 2008
    Messages:
    10,694
    Likes Received:
    1,118
    Gender:
    Male
    Ratings:
    +2,400 / 22
    Home Country:
    Germany Germany
    Show System Specs
    This appears more like an ideology now. Anyway, I am not using either or.
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!