New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix record live tv show [PVR API 1.9.7 regression] #39
Conversation
7de489e
to
0c71e0f
Compare
Slightly modified to fix starting a recording of a channel which doesn't have valid EPG data. (You get the default recording duration) |
Thanks Andrew. Seems ok. I will merge it in tomorrow. |
{ | ||
Myth::ProgramPtr program = m_liveStream->GetPlayedProgram(); | ||
if (timer.iClientChannelUid == FindPVRChannelUid(program->channel.chanId)) | ||
if (timer.iClientChannelUid == FindPVRChannelUid(program->channel.chanId) && | ||
timer.startTime <= program->startTime) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is strictly less than program->endTime more suitable ?
i.e timer.startTime < program->endTime
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually no it won't the way you suggest. We need a 100% epg match, or the
user won't get what they expect.
Andrew
Sent with AquaMail for Android
http://www.aqua-mail.com
On June 30, 2016 5:17:47 PM Jean-Luc Barrière notifications@github.com wrote:
{
Myth::ProgramPtr program = m_liveStream->GetPlayedProgram();
- if (timer.iClientChannelUid ==
FindPVRChannelUid(program->channel.chanId))- if (timer.iClientChannelUid ==
FindPVRChannelUid(program->channel.chanId) &&timer.startTime <= program->startTime)
Is endTime more suitable ?
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/janbar/pvr.mythtv/pull/39/files/0c71e0f8e71ace31656d19b9174ec374241dcab1#r69163441
Okay. I will test it this week-end. Thanks Andrew. |
Okay I anderstood the need: You want keep liveTV recording when pressing "record" of the current show in the EPG screen. +1 |
Based on problem reported on the forum
http://forum.kodi.tv/showthread.php?tid=280430&pid=2364805#pid2364805
Tested against my 0.27 system (schedules direct guide data, UK) and seems to work.
Not tested: 0.28 backend, recording live TV without any guide data.