Bug 393647 - Screen turns black when scheduled recording starts (single dvb-card)
Summary: Screen turns black when scheduled recording starts (single dvb-card)
Status: RESOLVED FIXED
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-29 18:01 UTC by romeoK
Modified: 2018-04-29 22:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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