Bug 400668 - Have to rescan channels every time I start Kaffeine
Summary: Have to rescan channels every time I start Kaffeine
Status: RESOLVED WORKSFORME
Alias: None
Product: kaffeine
Classification: Applications
Component: general (show other bugs)
Version: 2.0.14
Platform: Mint (Ubuntu based) Linux
: NOR major
Target Milestone: ---
Assignee: Mauro Carvalho Chehab
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-04 16:01 UTC by Ed
Modified: 2019-05-03 19:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed 2018-11-04 16:01:35 UTC
SUMMARY

Must rescan for channels EVERY time I bring up Kaffeine.
 
After scanning for channels, I get a populated list and can display live TV as expected.  However, after exiting Kaffeine and immediately restarting the app, I can see the channel list but get the message "No device found".  But the device is in fact present and I can do another scan and watch programming.

I have two devices, a Hauppauge 1800 PCI and a Hauppauge 940Q.  I have used both these devices with Kaffeine previously to watch TV.  However, after moving from Mint 19 Cinnamon to Mint 19 Xfce, something has gone amiss.

STEPS TO REPRODUCE
1.  Scan for channels, watch TV. 
2.  Exit Kaffeine, restart Kaffeine.
3.  Message "No device found.

OBSERVED RESULT
No device found, but device is available

EXPECTED RESULT
Should not have to rescan.


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Mauro Carvalho Chehab 2018-11-05 09:18:25 UTC
(In reply to Ed from comment #0)
> SUMMARY
> 
> Must rescan for channels EVERY time I bring up Kaffeine.
>  
> After scanning for channels, I get a populated list and can display live TV
> as expected.  However, after exiting Kaffeine and immediately restarting the
> app, I can see the channel list but get the message "No device found".  But
> the device is in fact present and I can do another scan and watch
> programming.
> 
> I have two devices, a Hauppauge 1800 PCI and a Hauppauge 940Q.  I have used
> both these devices with Kaffeine previously to watch TV.  However, after
> moving from Mint 19 Cinnamon to Mint 19 Xfce, something has gone amiss.
> 
> STEPS TO REPRODUCE
> 1.  Scan for channels, watch TV. 
> 2.  Exit Kaffeine, restart Kaffeine.
> 3.  Message "No device found.
> 
> OBSERVED RESULT
> No device found, but device is available

That sounds really weird. Re-scan shouldn't even work if the device was not found.

Hmm... I remember that there were some issue in the past related to both the error message and some specific DVB-S situations:

f83a71be4a1e dvbliveview: improve error message when DVB device is not set
daa7865398d0 dvbmanager: Improve config.dvb parsing error message
26d6ce62732b dvbmanager: higherVoltage exists only for DVB-S

Those patches were applied to version 2.0.15.

Could you please test Kaffeine from git?
Comment 2 Mauro Carvalho Chehab 2019-05-03 19:51:27 UTC
There was some issues at the Kaffeine exit code that would be preventing the storage of the channel list. This was already solved on Kaffeine 2.0.17.

Please upgrade to it and re-test. As this was already fixed (at least I can't reproduce it here anymore), I'm closing this bug. If it is still happening on Kaffeine's 2.0.17, feel free to re-open it.