2025-03-24, 07:00 AM
Hello,
I'm not sure whether this is a NextPVR issue or a Schedules Direct issue (never had problems with either over years of use). However, every time I try to get EPG data from SD for the last couple of weeks (that's how long I've been banging my head against this) I get some permutation of the error (from NextPVR nrecord.log) below:
2025-03-20 19:31:16.554 [DEBUG][45] Got request [::1]: /services/service (setting.sd.findlineups)
2025-03-20 19:31:16.554 [DEBUG][45] method=setting.sd.findlineups
2025-03-20 19:31:16.554 [DEBUG][45] parameters:
2025-03-20 19:31:16.554 [DEBUG][45] method: setting.sd.findlineups
2025-03-20 19:31:16.554 [DEBUG][45] format: json
2025-03-20 19:31:16.554 [DEBUG][45] username:
2025-03-20 19:31:16.554 [DEBUG][45] password: ******
2025-03-20 19:31:16.554 [DEBUG][45] country: USA
2025-03-20 19:31:16.554 [DEBUG][45] postcode: 80465
2025-03-20 19:31:16.554 [DEBUG][45] sid: a6c884f7-ac81-4d3b-bd5f-e3b3877f7874
2025-03-20 19:31:16.554 [DEBUG][45] client_ip: ::1
2025-03-20 19:31:16.554 [DEBUG][45] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.24
2025-03-20 0 19:31:16.554 [DEBUG][45] host_callback: ...
2025-03-20 19:31:16.555 [DEBUG][45] setting.sd.findlineups
2025-03-20 19:31:16.555 [DEBUG][45] SchedulesDirectFindLineups
2025-03-20 19:31:16.555 [DEBUG][45] SD using existing token
2025-03-20 19:31:16.922 [ERROR][45] Unexpected error requesting headends: Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path '', line 1, position 1.
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JArray.Parse(String json, JsonLoadSettings settings)
at NShared.SchedulesDirectJSONEPGSource.GetLineupsOptionsForZipCode(String country, String zipcode)
2025-03-20 19:31:16.923 [DEBUG][45] []
I tend to think this is a problem with the data coming from SD, but I really don't know. I'm starting on the SD side because I've uninstalled/reinstalled NextPVR with a fresh database. Everything looks fine on the SD side as well, to me, but I can see less into SD than I can into NextPVR.
Any help would be appreciated, even if it's confirmation I need to pursue the NextPVR side of things.
I'm not sure whether this is a NextPVR issue or a Schedules Direct issue (never had problems with either over years of use). However, every time I try to get EPG data from SD for the last couple of weeks (that's how long I've been banging my head against this) I get some permutation of the error (from NextPVR nrecord.log) below:
2025-03-20 19:31:16.554 [DEBUG][45] Got request [::1]: /services/service (setting.sd.findlineups)
2025-03-20 19:31:16.554 [DEBUG][45] method=setting.sd.findlineups
2025-03-20 19:31:16.554 [DEBUG][45] parameters:
2025-03-20 19:31:16.554 [DEBUG][45] method: setting.sd.findlineups
2025-03-20 19:31:16.554 [DEBUG][45] format: json
2025-03-20 19:31:16.554 [DEBUG][45] username:
2025-03-20 19:31:16.554 [DEBUG][45] password: ******
2025-03-20 19:31:16.554 [DEBUG][45] country: USA
2025-03-20 19:31:16.554 [DEBUG][45] postcode: 80465
2025-03-20 19:31:16.554 [DEBUG][45] sid: a6c884f7-ac81-4d3b-bd5f-e3b3877f7874
2025-03-20 19:31:16.554 [DEBUG][45] client_ip: ::1
2025-03-20 19:31:16.554 [DEBUG][45] user_agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.24
2025-03-20 0 19:31:16.554 [DEBUG][45] host_callback: ...
2025-03-20 19:31:16.555 [DEBUG][45] setting.sd.findlineups
2025-03-20 19:31:16.555 [DEBUG][45] SchedulesDirectFindLineups
2025-03-20 19:31:16.555 [DEBUG][45] SD using existing token
2025-03-20 19:31:16.922 [ERROR][45] Unexpected error requesting headends: Newtonsoft.Json.JsonReaderException: Error reading JArray from JsonReader. Current JsonReader item is not an array: StartObject. Path '', line 1, position 1.
at Newtonsoft.Json.Linq.JArray.Load(JsonReader reader, JsonLoadSettings settings)
at Newtonsoft.Json.Linq.JArray.Parse(String json, JsonLoadSettings settings)
at NShared.SchedulesDirectJSONEPGSource.GetLineupsOptionsForZipCode(String country, String zipcode)
2025-03-20 19:31:16.923 [DEBUG][45] []
I tend to think this is a problem with the data coming from SD, but I really don't know. I'm starting on the SD side because I've uninstalled/reinstalled NextPVR with a fresh database. Everything looks fine on the SD side as well, to me, but I can see less into SD than I can into NextPVR.
Any help would be appreciated, even if it's confirmation I need to pursue the NextPVR side of things.