Bug 400702

Summary: Request functionality to use SchedulesDirect for program guide info
Product: [Applications] kaffeine Reporter: Ed <eabforums>
Component: generalAssignee: Mauro Carvalho Chehab <mchehab>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 2.0.14   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ed 2018-11-05 14:20:05 UTC
SUMMARY

Not really a bug.

This is probably pie in the sky, but I am submitting a request to be able to incorporate program info from SchedulesDirect, and for more than just the current day, since my OTA channel info just shows timeslots with no actual program descriptions.

Thanks!

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


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

ADDITIONAL INFORMATION
Comment 1 Mauro Carvalho Chehab 2019-01-03 15:49:38 UTC
(In reply to Ed from comment #0)

> This is probably pie in the sky, but I am submitting a request to be able to
> incorporate program info from SchedulesDirect, and for more than just the
> current day, since my OTA channel info just shows timeslots with no actual
> program descriptions.

While I see the value of doing that, SchedulesDirect is a paid service. Not sure if it would make sense to make Kaffeine optionally depend on a paid subscription.

Also, I can't help myself with that, as I don't subscribe SchedulesDirect. So, I have no access to their database. 

That's said, it could be ok to have a separate helper program/script for such purpose.

In theory, it shouldn't be hard to have a separate program or script that would pick their EPG data and store at the ~/.local/share/kaffeine/epgdata.dvb file.
Yet, as Kaffeine doesn't expect anyone to touch it directly, maybe some sort of glue would be needed.

If you're willing to do such development (or find someone interested on doing it), we can discuss some ways to do a glue, if needed.
Comment 2 Mauro Carvalho Chehab 2019-03-12 12:08:59 UTC
(In reply to Mauro Carvalho Chehab from comment #1)
> (In reply to Ed from comment #0)
> 
> > This is probably pie in the sky, but I am submitting a request to be able to
> > incorporate program info from SchedulesDirect, and for more than just the
> > current day, since my OTA channel info just shows timeslots with no actual
> > program descriptions.
> 
> While I see the value of doing that, SchedulesDirect is a paid service. Not
> sure if it would make sense to make Kaffeine optionally depend on a paid
> subscription.
> 
> Also, I can't help myself with that, as I don't subscribe SchedulesDirect.
> So, I have no access to their database. 
> 
> That's said, it could be ok to have a separate helper program/script for
> such purpose.
> 
> In theory, it shouldn't be hard to have a separate program or script that
> would pick their EPG data and store at the
> ~/.local/share/kaffeine/epgdata.dvb file.
> Yet, as Kaffeine doesn't expect anyone to touch it directly, maybe some sort
> of glue would be needed.
> 
> If you're willing to do such development (or find someone interested on
> doing it), we can discuss some ways to do a glue, if needed.

I ended by adding support for Kaffeine to use EPG data via an external file, stored with XMLTV format (http://wiki.xmltv.org/index.php/XMLTVFormat). If SchedulesDirect suports it, you should now be able to use it. If not, it is just a matter of converting its output to XMLTV or to use some other xmltv grabber.
Comment 3 Mauro Carvalho Chehab 2019-03-12 12:10:02 UTC
As we now have support for EPG data stored in a file, I'm closing this bug.
Comment 4 Mauro Carvalho Chehab 2019-03-12 12:17:51 UTC
(In reply to Mauro Carvalho Chehab from comment #3)
> As we now have support for EPG data stored in a file, I'm closing this bug.

Btw, on a quick check, it seems that, while SchedulesDirect outputs data on its own XML format, there is a xmltv client that reads it and outputs data in the standard XMLTV format. I have no way to test it, as I don't have access to its services.