Opened 14 years ago

Closed 14 years ago

#886 closed patch (fixed)

Channel changes not saved to database

Reported by: dm@… 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)

channelpatch (831 bytes) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by anonymous

Attachment: channelpatch added

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [8407]) Fixes #886 by applying patch.

Uses iterator for the inputs instead of assuming they are contiguous.

Note: See TracTickets for help on using tickets.