Bug 393647

Summary: Screen turns black when scheduled recording starts (single dvb-card)
Product: [Applications] kaffeine Reporter: romeoK <romeoknight>
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description romeoK 2018-04-29 18:01:01 UTC
Kaffeine 2.0.14

The following bug may NOT happen if there is more than 1 dvb card installed.

Steps to comprehend the behaviour:

-Start Kaffeine and program a scheduled recording on channel "B".
-Now go and watch live-tv on channel "A" (on a different transponder)
-When the scheduled recording begins, Kaffeine turns channel "A" black, giving the following message: 'no available device found'. In fact Kaffeine internally switched to the scheduled channel "B" and records it (writing data to disk).

You can "follow" the scheduled recording by hand, switching to channel "B" manually. (So you can have a picture again).

Suggestion: when a scheduled recording starts (and only 1 dvb card is installed) don't turn the screen black and give error "no available device found", instead tune to the recording channel.
Comment 1 Mauro Carvalho Chehab 2018-04-29 22:22:07 UTC
Git commit f1227fc2bdb9bb5757da4612d546ee59733012f3 by Mauro Carvalho Chehab.
Committed on 29/04/2018 at 22:21.
Pushed by mauroc into branch 'master'.

dvb: switch play to record when there's not enough devices for both

Change the current behavior when there's a scheduled record that
has started while the device is playing another DVB channel: before
this change, it was stopping the play. Now, it will switch the
player to the new channel, if it is not at the same transponder.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>

M  +1    -2    src/dvb/dvbliveview.cpp
M  +2    -0    src/dvb/dvbmanager.cpp
M  +2    -0    src/dvb/dvbmanager.h
M  +7    -0    src/dvb/dvbrecording.cpp

https://commits.kde.org/kaffeine/f1227fc2bdb9bb5757da4612d546ee59733012f3