[mythtv-commits] Ticket #886: Channel changes not saved to database
MythTV
mythtv at cvs.mythtv.org
Wed Dec 28 06:50:16 EST 2005
#886: Channel changes not saved to database
--------------------------------+-------------------------------------------
Reporter: dm at prolingua.co.uk | Owner: danielk
Type: patch | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium |
--------------------------------+-------------------------------------------
The recent changes to the DVB code have meant that when I change channel
in LiveTV and then exit from LiveTV when I return to LiveTV the tuner has
reverted to the original channel. Channel changes are not written to the
database. The problem stems from ChannelBase::StoreInputChannels which
assumes that its argument is a map indexed by consecutive integers
starting at zero. It seems that DVB channel maps are now based on the
cardinputid so in my case the argument may be either (1=>channel) or
(2=>channel) depending on which tuner is in use. The attached patch fixes
this by using an iterator over the map.
David Matthews.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/886>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list