Ticket #9540: browser.diff

File browser.diff, 560 bytes (added by reidjr_at_lineone_dot_net, 9 years ago)

livetv browse starts from current channel

  • mythtv/libs/libmythtv/tvbrowsehelper.cpp

    diff --git a/mythtv/libs/libmythtv/tvbrowsehelper.cpp b/mythtv/libs/libmythtv/tvbrowsehelper.cpp
    index d3f2abf..2306d4f 100644
    a b bool TVBrowseHelper::BrowseStart(PlayerContext *ctx, bool skip_browse) 
    8080                      ctx->playingInfo->GetScheduledStartTime(ISODate));
    8181        ctx->UnlockPlayingInfo(__FILE__, __LINE__);
    8282
     83        m_chanid = ctx->playingInfo->GetChanID();
     84
    8385        if (!skip_browse)
    8486        {
    8587            locker.unlock();