pvr: Fixed adding new timers #1882

Merged
merged 2 commits into from Dec 6, 2012

Projects

None yet

2 participants

@fetzerch
Member
fetzerch commented Dec 2, 2012

This fixes the issue, that it is not possible to create new manual timers
by the timer view's 'Add Timer' button.

When creating such a timer, PVRTImerInfoTag's m_channel was not updated
and the timer therefore silently discarded in CPVRTimers::AddTimer().

Also I fixed the code that replaces the string 'New Timer' with the timer's channel name.
The timer's title was not initialized with 'New Timer' and it crashed when no channel was set.

fetzerch added some commits Dec 2, 2012
@fetzerch fetzerch pvr: Update channel when creating new timer from scratch
This fixes the issue, that it is not possible to create new manual timers
by the Timer view's 'Add Timer' button.

When creating such a timer, PVRTImerInfoTag's m_channel was not updated
and the timer therefore silently discarded in CPVRTimers::AddTimer().
4760bf3
@fetzerch fetzerch pvr: Initialize a new timer's title with 'New Timer'
Fixed the code that replaces the string 'New Timer' with the timer's
channel name.
eaa5647
@fetzerch fetzerch referenced this pull request in fetzerch/xbmc-pvr-addons Dec 2, 2012
Closed

Can't manually add a timer #52

@opdenkamp opdenkamp merged commit 6555ade into xbmc:master Dec 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment