2015-07-08, 07:51
Where exactly in the Kodi GUI do "any time" timers show up as 1/1/1970? They shouldn't. Sounds like a bug.
Channel Title Scheduled time Type Status
(Any channel) Live at the Apollo 01/01/1970 from any time to 1:00 Record all Enabled
BBC One HD Bargain Hunt 01/01/1970 from any time to any time Record weekly Enabled
typeList.push_back(MythScheduleManager::TimerType(TIMER_TYPE_RECORD_ALL,
PVR_TIMER_TYPE_IS_REPEATING |
PVR_TIMER_TYPE_SUPPORTS_ENABLE_DISABLE |
// PVR_TIMER_TYPE_SUPPORTS_TITLE_EPG_MATCH | // Janbar and I have a difference of opinion
PVR_TIMER_TYPE_SUPPORTS_CHANNELS |
PVR_TIMER_TYPE_SUPPORTS_RECORD_ONLY_NEW_EPISODES |
PVR_TIMER_TYPE_SUPPORTS_START_END_MARGIN |
PVR_TIMER_TYPE_SUPPORTS_PRIORITY |
PVR_TIMER_TYPE_SUPPORTS_LIFETIME |
PVR_TIMER_TYPE_SUPPORTS_RECORDING_GROUP,
XBMC->GetLocalizedString(30464),
GetRulePriorityList(),
GetRulePriorityDefault(),
GetRuleDupMethodList(),
GetRuleDupMethodDefault(),
GetRuleExpirationList(),
GetRuleExpirationDefault(),
GetRuleRecordingGroupList(),
GetRuleRecordingGroupDefault()));
typeList.push_back(MythScheduleManager::TimerType(TIMER_TYPE_RECORD_WEEKLY,
PVR_TIMER_TYPE_IS_REPEATING |
PVR_TIMER_TYPE_SUPPORTS_ENABLE_DISABLE |
// PVR_TIMER_TYPE_SUPPORTS_TITLE_EPG_MATCH | // Janbar and I have a difference of opinion
PVR_TIMER_TYPE_SUPPORTS_CHANNELS |
PVR_TIMER_TYPE_SUPPORTS_START_END_TIME |
PVR_TIMER_TYPE_SUPPORTS_FIRST_DAY |
PVR_TIMER_TYPE_SUPPORTS_RECORD_ONLY_NEW_EPISODES | //Added
PVR_TIMER_TYPE_SUPPORTS_START_END_MARGIN |
PVR_TIMER_TYPE_SUPPORTS_PRIORITY |
PVR_TIMER_TYPE_SUPPORTS_LIFETIME |
PVR_TIMER_TYPE_SUPPORTS_RECORDING_GROUP,
XBMC->GetLocalizedString(30462),
GetRulePriorityList(),
GetRulePriorityDefault(),
GetRuleDupMethodList(), //MythScheduleManager::RuleDupMethodList(), // empty list
Myth::DM_CheckNone, //0,
GetRuleExpirationList(),
GetRuleExpirationDefault(),
GetRuleRecordingGroupList(),
GetRuleRecordingGroupDefault()));
Type Record all
Active *
Name Live at the Apollo
Channel Any Channel
Any time * <--- This line not needed
Prevent duplicate episodes Match duplicates using subtitle then descr...
Start padding time 0 min <>
End padding time 0 min <>
Priority 0
Lifetime Keep 5 newest and expire old
Recording group Default
Type Record weekly
Active *
Name Bargain Hunt
Channel 1 BBC One HD
Any time *
First day 08/07/2015 <>
Prevent duplicate episodes Match duplicates using subtitle & description
Start padding time 0 min <>
End padding time 0 min <>
Priority 0
Lifetime Allow recordings to expire
Recording group Default
(2015-07-08, 13:32)ksooo Wrote: "Problem" with 01/01/1970 display is imo that the respective timers seem not to have a day of week set (PVR_TIMER.weekdays = 0 => PVR_WEEKDAY_NONE! ), but they should. Recording something at any time on no day of week makes no sense. You should fix this in the addon.
(2015-07-08, 18:56)ksooo Wrote: @metaron could you please test whether this fixes the any time and firstday issues?
https://github.com/ksooo/xbmc/tree/pr7079-followup-2
Channel Title Scheduled time Type Status
BBC One Bargain Hunt 09/07/2015 from any time to any time Record weekly Enabled
(Any channel) Great Barrier Reef 27/01/2012 from 20:00 to 21:00 Record all Enabled
- FirstDayAsLocalTime().GetAsLocalizedDate() : startDate.c_str(),
+ FirstDayAsLocalTime().GetAsLocalizedDate().c_str() : startDate.c_str(),
@@ -714,14 +714,14 @@ CPVRTimerInfoTagPtr CPVRTimerInfoTag::CreateFromEpg(const CEpgInfoTagPtr &tag, b
newTag->SetTimerType(timerType);
- if (tag->Plot().empty())
- {
+ //if (tag->Plot().empty())
+ //{
newTag->UpdateSummary();
- }
- else
- {
- newTag->m_strSummary = tag->Plot();
- }
+ //}
+ //else
+ //{
+ // newTag->m_strSummary = tag->Plot();
+ //}
newTag->m_epgTag = g_EpgContainer.GetById(tag->EpgID())->GetTag(tag->StartAsUTC());