Opened 20 years ago
Closed 20 years ago
#886 closed patch (fixed)
Channel changes not saved to database
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (2)
by , 20 years ago
Attachment: | channelpatch added |
---|
comment:1 by , 20 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [8407]) Fixes #886 by applying patch.
Uses iterator for the inputs instead of assuming they are contiguous.