Ticket #10280: browse.2.patch

File browse.2.patch, 1.3 KB (added by dluzin@…, 12 years ago)

corrected patch

  • libs/libmythtv/tv_play.cpp

    old new  
    68616861        if (browsehelper->IsBrowsing())
    68626862        {
    68636863            uint sourceid = 0;
    68646864            ctx->LockPlayingInfo(__FILE__, __LINE__);
    68656865            if (ctx->playingInfo)
    6866                 sourceid = ctx->playingInfo->GetSourceID();
     6866            {
     6867                uint id = ctx->playingInfo->GetChanID();
     6868                sourceid = ChannelUtil::GetSourceIDForChannel(id);
     6869            }
    68676870            ctx->UnlockPlayingInfo(__FILE__, __LINE__);
    68686871
    68696872            commited = true;
    68706873            if (channum.isEmpty())
    68716874                channum = browsehelper->GetBrowsedInfo().m_channum;
  • libs/libmythtv/tvbrowsehelper.cpp

    old new  
    4747    m_ctx(NULL),
    4848    m_chanid(0),
    4949    m_run(true)
    5050{
    5151    db_all_channels = ChannelUtil::GetChannels(
    52         0, true, "channum, callsign");
     52        0, true, "channum, callsign, cardid");
    5353    ChannelUtil::SortChannels(
    5454        db_all_channels, db_channel_ordering, false);
    5555
    5656    DBChanList::const_iterator it = db_all_channels.begin();
    5757    for (; it != db_all_channels.end(); ++it)