diff options
-rw-r--r-- | xbmc/pvr/addons/PVRClients.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xbmc/pvr/addons/PVRClients.cpp b/xbmc/pvr/addons/PVRClients.cpp index 97e7d0fd76..34d7f54ef5 100644 --- a/xbmc/pvr/addons/PVRClients.cpp +++ b/xbmc/pvr/addons/PVRClients.cpp @@ -476,7 +476,11 @@ bool CPVRClients::GetTimers(CPVRTimersContainer *timers, std::vector<int> &faile PVR_ERROR CPVRClients::GetTimerTypes(CPVRTimerTypes& results) const { return ForCreatedClients(__FUNCTION__, [&results](const CPVRClientPtr &client) { - return client->GetTimerTypes(results); + CPVRTimerTypes types; + PVR_ERROR ret = client->GetTimerTypes(types); + if (ret == PVR_ERROR_NO_ERROR) + results.insert(results.end(), types.begin(), types.end()); + return ret; }); } |