Ticket #10280: browse.2.patch
File browse.2.patch, 1.3 KB (added by , 12 years ago) |
---|
-
libs/libmythtv/tv_play.cpp
old new 6861 6861 if (browsehelper->IsBrowsing()) 6862 6862 { 6863 6863 uint sourceid = 0; 6864 6864 ctx->LockPlayingInfo(__FILE__, __LINE__); 6865 6865 if (ctx->playingInfo) 6866 sourceid = ctx->playingInfo->GetSourceID(); 6866 { 6867 uint id = ctx->playingInfo->GetChanID(); 6868 sourceid = ChannelUtil::GetSourceIDForChannel(id); 6869 } 6867 6870 ctx->UnlockPlayingInfo(__FILE__, __LINE__); 6868 6871 6869 6872 commited = true; 6870 6873 if (channum.isEmpty()) 6871 6874 channum = browsehelper->GetBrowsedInfo().m_channum; -
libs/libmythtv/tvbrowsehelper.cpp
old new 47 47 m_ctx(NULL), 48 48 m_chanid(0), 49 49 m_run(true) 50 50 { 51 51 db_all_channels = ChannelUtil::GetChannels( 52 0, true, "channum, callsign ");52 0, true, "channum, callsign, cardid"); 53 53 ChannelUtil::SortChannels( 54 54 db_all_channels, db_channel_ordering, false); 55 55 56 56 DBChanList::const_iterator it = db_all_channels.begin(); 57 57 for (; it != db_all_channels.end(); ++it)