quite big difficulty with changing day in EPG view (1 Viewer)

M

maysider2

Guest
please, make buttons "skip" and "replay" (or any better solution) to change day in EPG.....it is very complicated to change day

thank you
 

johnlc

Portal Pro
April 19, 2008
59
3
Horsens
Home Country
Denmark Denmark
Looking at the code, it looks as if this is what you want?
This is not tested at all and can all kinds of side-effects, maybe I will test when I get time - but getting the change into MP may be difficult at the present time
It's in the file TVGuideBase.cs (OnAction()) in TVplugin (TV3) - if you compile your own.
case Action.ActionType.ACTION_NEXT_CHAPTER:
OnNextDay();
break;

case Action.ActionType.ACTION_PREV_CHAPTER:
OnPreviousDay();
break;

I totally agree with you on the changing days - and I haven't found a way to trigger these routines yet. The code seems to be there already. (OnNextDay(), OnPreviousDay() I mean)

I am not a portal developer, so lets see if we get lucky :)
 

Seidelin

Retired Team Member
  • Premium Supporter
  • August 14, 2006
    1,754
    652
    Farum
    Home Country
    Denmark Denmark
    The code change provided by johnlc plus setting the actions for remote control in MediaPortal Configuration to prev/next chapter, gives the desired result (see screenshot for specific instructions).

    Thanks for your work johnlc, and the idea maysider2.

    Edit: Code changes, and binary attached (confirmed working).
    Edit2: Patch for old tv engine attached (untested).
     

    Attachments

    • config.PNG
      config.PNG
      33.1 KB

    jonaskp

    Portal Pro
    October 23, 2006
    438
    15
    Home Country
    Denmark Denmark
    This is a great idea. I have thought about how to do this myself a lot of times, but I never seem to be near a computer to be able to post on the forum when it happens.

    Seidelin, how do I apply this code change? Just copy the files in your Zip into MP directory or what?
     

    johnlc

    Portal Pro
    April 19, 2008
    59
    3
    Horsens
    Home Country
    Denmark Denmark
    Seidelin,
    is there a special version of TextTv in your TVplugin ?
    It preloads the pages much faster than I am used to.

    Besides we forgot to implement the prev/next-day keys in the miniguide (the one through Info button)
     

    Seidelin

    Retired Team Member
  • Premium Supporter
  • August 14, 2006
    1,754
    652
    Farum
    Home Country
    Denmark Denmark
    This is a great idea. I have thought about how to do this myself a lot of times, but I never seem to be near a computer to be able to post on the forum when it happens.

    Seidelin, how do I apply this code change? Just copy the files in your Zip into MP directory or what?

    You replace the TVplugin.dll in your MP/plugins/Windows directory. But please make a backup of current tvplugin.dll in a DIFFERENT directory first, if you should encounter version problems. The other files contains the modified source code.
     

    disaster123

    MP Donator
  • Premium Supporter
  • May 14, 2008
    3,558
    434
    Home Country
    Germany Germany
    Has anybody thought about a possibility to change the tv group? I think this is also important.
     

    Users who are viewing this thread

    Similar threads

    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194 connections between 10:54 and 11:05 triggering a denial of service attack ban. The logs show it was lifted on 5/25, but I still see the entry in iptables. I reset fail2ban and hopefully you're working again." Weird...
    Got a reply from SD ... "Looks like your last successful download was on 5/23. On 5/24 for some reason we received 194...
    I'm using MediaPortal 1.38.1 x64 and have an SD-DD lineup account. In the last week, I have not been able to update my EPG, and...
    Replies
    3
    Views
    511
    I was just tinkering with a few settings in the MediaPortal configuration and am happy to have found the cause of the problem. Disabling the option "Single seat setup: force RTSP usage" under "TV/Radio", "Advanced Options" resolved the issue. After I disabled this option, I was able to delete the recordings the first time...
    I was just tinkering with a few settings in the MediaPortal configuration and am happy to have found the cause of the problem...
    Deleting recordings sometimes doesn't work. Neither the 0 button nor the Info/Delete button works. Nothing happens at all with...
    Replies
    6
    Views
    938
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    I have added a scheduled task to MariaDB to delete all entries with the same start and end date
    Hello, I'm encountering an issue after importing EPG data into the TV-Server/Database. The Problem: After importing an XMLTV...
    Replies
    7
    Views
    3K
    MP1 MP2 MP2 - V2.5 MP2 - V2.5 Server on Windows 11 Pro DE
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working after changing EPG from EPG Buddie to Clickfinder (TV Movie). The OS and the MP2.5 Server Software were installed several times new, but in general nothing changed. Are there any changes or setting needed for...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Good evening, the last weeks my MP2.5 Server with TVE3 is running not very good/stable. After 30 min the server quits working...
    Replies
    0
    Views
    1K
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue stemmed from the corruption of one or both of the mc2xml.dat and/or mc2xml.exe files, for an unknown reason. Consequently, even though the tvguide.xml file appeared to be updated, its content kept being an...
    Update: Problem solved! The electronic program guides (tvguide.xml) have been successfully transferred to MediaPortal. The issue...
    I was having a problem with the EPG on MP2 1.4.1 (although it used to run without any issues for a while). So I installed MP2 1.5...
    Replies
    8
    Views
    2K
    Top Bottom