-
Notifications
You must be signed in to change notification settings - Fork 360
Manual Recordings: restore date time subtitle #643
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
base: master
Are you sure you want to change the base?
Conversation
26dfe6f to
c277acd
Compare
|
I rebased onto master and did some additional cleanup. I think an additional RecordingType that allows recording on either weekends or weekdays may be useful and make daily actually be all days: but I'm not sure what changes would be required elsewhere. |
c277acd to
f0c019e
Compare
f0c019e to
8940182
Compare
…given start date
and rewrite the confusing code that calculated the start times.
I thought about adding something to prevent scheduling recordings in the past,
but this function doesn’t have enough information to determine that.
`
if (MythDate::current().toLocalTime().time() > starttime)
{
offset++;
}
`
The above code would prevent scheduling recordings that should have already
started. However, the end time may still be in the future, so it should be
scheduled in that case. Unfortunately, the startdate, starttime, enddate,
and endtime values do not account for starting/ending the recording early/late
(8 hours in either direction from the start and end), so this cannot be
determined from the information the function has.
Therefore, this function will continue to schedule recordings that may be
entirely in the past.
Apparently removed in 5f6697e
if updating for multiple channels.
Previously, the description listed the first date for each daily or weekly recording.
8940182 to
274a019
Compare
|
David Engel should review anything that affects scheduler |
|
I'm deferring to John on this one as he made the change to remove it. As I understand it, the API allows the user to set a desired subtitle and description. Mythfrontend does not. A work around might be to add the date to program.subtitle only when neither record.subtitle nor record.description are set. |
|
@jpoet's change sets an empty description to the date; however, the ProgramInfo constructor mythfrontend uses sets the description equal to the title, so that is never seen if using only the frontend. mythtv/mythtv/libs/libmythbase/programinfo.cpp Lines 827 to 828 in 3d3a2cc
|
Apparently removed in 5f6697e
Checklist