[mythtv-users] Some questions on Live TV and MythWeb in 0.24

Mark Lord mythtv at rtr.ca
Sat May 7 14:36:37 UTC 2011


On 11-05-07 08:16 AM, Andrew Junev wrote:
> Hello All,
>
> After  upgrade  to  0.24 (using rpmfusion repo for Fedora 13) I have a
> few issues:
>
> 1. If  I  watch  LiveTV, then exit to the main menu,  then  switch  to
> LiveTV  again,  Myth tunes to the same channel I watched   last   time
> -   that's   fine.  But if I then press Channel UP or  Channel   DOWN,
> Myth   starts  listing  channels  from  number  1,  and not around the
> channel it is currently tuned to. Is it done by purpose?
> Is  there  a  setting  somewhere, so that ChUp / ChDOWN would actually
> switch    around   the  channel  LiveTV is at, instead of starting
> from   channel  1?  So  if LiveTV starts at channel 125, ChUp / ChDOWN
> should show 124 or 126...
>
> Oh,  and the problem only appears when LiveTV is started. If I already
> switched  channels  in  LiveTV,  then  the  next  ChUP  / ChDOWN press
> would  actually   switch   arround   the  currently  tuned  channel  -
> which is the expected behavior, in my opinion.

Here's my patch to "fix" that for the 0.24-fixes stream:


--- mythtv/libs/libmythtv/tvbrowsehelper.cpp.orig	2011-02-17 22:30:17.000000000
-0500
+++ mythtv/libs/libmythtv/tvbrowsehelper.cpp	2011-02-20 12:00:40.726836192 -0500
@@ -74,6 +74,11 @@
     if (ctx->playingInfo)
     {
         m_ctx = ctx;
+#if 1 // Added to fix LiveTV initial Browse mode  -mlord
+	m_channum   = ctx->playingInfo->GetChanNum();
+	m_chanid    = ctx->playingInfo->GetChanID();
+	m_starttime = ctx->playingInfo->GetScheduledStartTime(ISODate);
+#endif
         BrowseInfo bi(BROWSE_SAME,
                       ctx->playingInfo->GetChanNum(),
                       ctx->playingInfo->GetChanID(),


More information about the mythtv-users mailing list