NextPVR Forums
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Windows v
« Previous 1 … 5 6 7 8 9 … 73 Next »
Not able to configure/update SD EPG...

 
  • 0 Vote(s) - 0 Average
Not able to configure/update SD EPG...
henryixV
Offline

Junior Member

United States
Posts: 9
Threads: 1
Joined: Oct 2022
#1
2022-10-31, 06:14 PM
I've been using Schedules Direct and NextPVR on Windows 11 with a Hauppauge quadHD for some time without issue.  However, about 2-3 weeks ago some of the station schedules stopped updating and as part of troubleshooting I cleared the EPG to start fresh and it seems no channels are updating.  I went so far as to start with a fresh install of NextPVR and setup from scratch, but am still receiving the following in nrecord.log whenever I setup SD and click the Search button to get a lineup for my zip and location:

2022-10-31 11:18:52.610 [DEBUG][8] Got request [::1]: /services/service (setting.sd.findlineups)
2022-10-31 11:18:52.610 [DEBUG][8] method=setting.sd.findlineups
2022-10-31 11:18:52.610 [DEBUG][8] parameters:
2022-10-31 11:18:52.610 [DEBUG][8]   method: setting.sd.findlineups
2022-10-31 11:18:52.610 [DEBUG][8]   format: json
2022-10-31 11:18:52.610 [DEBUG][8]   username:
2022-10-31 11:18:52.611 [DEBUG][8]   password: ******
2022-10-31 11:18:52.611 [DEBUG][8]   country: USA
2022-10-31 11:18:52.611 [DEBUG][8]   postcode: 80465
2022-10-31 11:18:52.611 [DEBUG][8]   sid: 55c0f25a-3bdb-4d06-97b1-5f6661a63842
2022-10-31 11:18:52.611 [DEBUG][8]   client_ip: ::1
2022-10-31 11:18:52.611 [DEBUG][8]   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.26
2022-10-31 11:18:52.611 [DEBUG][8]   host_callback: ...
2022-10-31 11:18:52.611 [DEBUG][8] setting.sd.findlineups
2022-10-31 11:18:52.613 [DEBUG][8] SchedulesDirectFindLineups
2022-10-31 11:18:52.614 [DEBUG][8] SD using existing token
2022-10-31 11:18:52.993 [ERROR][8] 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)
2022-10-31 11:18:52.993 [DEBUG][8] []

The web interface just seems to ignore me (click on Search and nothing visible happens and I get the error in nrecord.log).  I only have the OTA antenna lineup as an EPG option instead of having the SD lineup listed.

As for troubleshooting, beyond the fresh install (which the attached logs are from going back to my original installation), I've done a number of things based on various threads of other issues I've found involving SD and JSON and...: resetting the config.xml lines to put in the SD credentials fresh, the curl command from a command prompt and this is the result (screenshot attached), opened a thread on the SD forum (Error getting EPG data with NextPVR... - forums.schedulesdirect.org) where it was suggested I should have started with the NextPVR folks Smile (and a question about whether or not I use a VPN or multiple connections to the 'Net (no to both)), setting my DNS to 8.8.../4.4... to rule out stale records, and a few other things I've lost track of, with no luck and seemingly not even a change in results.

I've attached my logs and a screenshot of the curl command I issued but I'm sure I'm missing other possibly useful information at this point.  However, after a couple weeks of living on only partial 24-hour OTA EPG updates I'm getting lost in what I've tried when and am REALLY missing the SD lineup...


Attached Files Thumbnail(s)
   

.zip   logs-20221031-1120.zip (Size: 607.19 KB / Downloads: 4)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#2
2022-10-31, 06:26 PM (This post was last modified: 2022-10-31, 06:32 PM by mvallevand.)
My suggestion was not to make a SD forum post but to report a lineup issue. For some reason SD is not returning JSON to authenticate a token. If you PM me you SD credentials I can confirm that.

Martin
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#3
2022-10-31, 07:14 PM (This post was last modified: 2022-10-31, 07:25 PM by mvallevand.)
Thanks from the PM your account seems fine could you try again, I am curious what the logs show.

Martin
henryixV
Offline

Junior Member

United States
Posts: 9
Threads: 1
Joined: Oct 2022
#4
2022-10-31, 09:54 PM
I tried again and am still receiving the same errors.  I've posted a larger snippet of log in the SD Forum thread (and below) to show, what seems to me, to be odd "invalid token, requesting new token," "got new token" then all over again messages.  Updated logs are also attached.

2022-10-31 15:24:37.605 [ERROR][39] Invalid token. Will get new token and retry...
2022-10-31 15:24:37.606 [DEBUG][39] SD requesting new token
2022-10-31 15:24:37.606 [DEBUG][39] SD(https://json.schedulesdirect.org/20141201/token)
2022-10-31 15:24:37.629 [DEBUG][50] {"North America":[{"fullName":"United States","shortName":"USA","postalCodeExample":"12345","postalCode":"\/\\d{5}\/"},{"fullName":"Canada","shortName":"CAN","postalCodeExample":"K1A0B1","postalCode":"\/[A-Z]{1}[\\d]{1}[A-Z]{1}[\\d]{1}[A-Z]{1}[\\d]{1}\/gm"}],"Europe":[{"fullName":"Austria","shortName":"AUT","postalCodeExample":"6886","postalCode":"\/\\d{4}\/"},{"fullName":"Belgium","shortName":"BEL","postalCodeExample":"2018","postalCode":"\/\\d{4}\/"},{"fullName":"Switzerland","shortName":"CHE","postalCodeExample":"3303","postalCode":"\/\\d{4}\/"},{"fullName":"Germany","shortName":"DEU","postalCodeExample":"14050","postalCode":"\/\\d{5}\/"},{"fullName":"Denmark","shortName":"DNK","postalCodeExample":"9260","postalCode":"\/\\d{4}\/"},{"fullName":"Spain","shortName":"ESP","postalCodeExample":"28001","postalCode":"\/\\d{5}\/"},{"fullName":"Finland","shortName":"FIN","postalCodeExample":"91980","postalCode":"\/\\d{5}\/"},{"fullName":"France","shortName":"FRA","postalCodeExample":"38800","postalCode":"\/\\d{5}\/"},{"fullName":"Great Britain","shortName":"GBR","postalCodeExample":"CF31","postalCode":"\/[A-Z]{1,2}\\d{1,2}\/"},{"fullName":"Ireland","shortName":"IRL","postalCodeExample":"D01","postalCode":"\/[A-Z]{1}\\d{2}\/"},{"fullName":"Italy","shortName":"ITA","postalCodeExample":"00100","postalCode":"\/\\d{5}\/"},{"fullName":"The Netherlands","shortName":"NLD","postalCodeExample":"1018","postalCode":"\/\\d{4}\/"},{"fullName":"Luxembourg","shortName":"LUX","postalCodeExample":"LU...snip...
2022-10-31 15:24:38.017 [DEBUG][39] SD got new token: ed02db6609bd594a219a8d41cc00ddfc
2022-10-31 15:24:38.017 [DEBUG][39] Using URL: https://json.schedulesdirect.org/20141201
2022-10-31 15:24:38.398 [ERROR][39] Invalid token. Will get new token and retry...
2022-10-31 15:24:38.398 [DEBUG][39] SD requesting new token
2022-10-31 15:24:38.398 [DEBUG][39] SD(https://json.schedulesdirect.org/20141201/token)
2022-10-31 15:24:38.803 [DEBUG][39] SD got new token: 94a9908a2800b4dbf89e53b30cf22112
2022-10-31 15:24:38.803 [DEBUG][39] Using URL: https://json.schedulesdirect.org/20141201
2022-10-31 15:24:39.197 [DEBUG][39]
{"account":{"expires":"2023-07-31T02:36:39Z","messages":[],"maxLineups":4},"lineups":[{"lineup":"USA-OTA-80465","modified":"2022-10-31T20:53:24Z","uri":"\/20141201\/lineups\/USA-OTA-80465","name":"Local Over the Air Broadcast"}],"lastDataUpdate":"2022-10-31T15:09:54Z","notifications":[],"systemStatus":[{"date":"2021-07-25T04:00:00Z","status":"Online","message":"No known issues."}],"serverID":"20141201.web","datetime":"2022-10-31T21:24:39Z","code":0}
2022-10-31 15:24:39.583 [DEBUG][39]
{"account":{"expires":"2023-07-31T02:36:39Z","messages":[],"maxLineups":4},"lineups":[{"lineup":"USA-OTA-80465","modified":"2022-10-31T20:53:24Z","uri":"\/20141201\/lineups\/USA-OTA-80465","name":"Local Over the Air Broadcast"}],"lastDataUpdate":"2022-10-31T15:09:54Z","notifications":[],"systemStatus":[{"date":"2021-07-25T04:00:00Z","status":"Online","message":"No known issues."}],"serverID":"20141201.web","datetime":"2022-10-31T21:24:39Z","code":0}
2022-10-31 15:24:39.946 [DEBUG][39] Lineups:
{"response":"INVALID_USER","code":4003,"serverID":"20141201.web","message":"Invalid username or token has expired.","datetime":"2022-10-31T21:24:39Z"}
2022-10-31 15:24:39.946 [DEBUG][39] [{
"id": "none",
"name": "None"
}
,{
"id": "dvbepg",
"name": "DVB/ATSC EPG"
}
,{
"id": "freesat",
"name": "Freesat (UK)"
}
]...snip...
2022-10-31 15:24:51.432 [DEBUG][50] Got request [::1]: /services/service (setting.sd.findlineups)
2022-10-31 15:24:51.432 [DEBUG][50] method=setting.sd.findlineups
2022-10-31 15:24:51.432 [DEBUG][50] parameters:
2022-10-31 15:24:51.432 [DEBUG][50]   method: setting.sd.findlineups
2022-10-31 15:24:51.432 [DEBUG][50]   format: json
2022-10-31 15:24:51.432 [DEBUG][50]   username:
2022-10-31 15:24:51.432 [DEBUG][50]   password: ******
2022-10-31 15:24:51.432 [DEBUG][50]   country: USA
2022-10-31 15:24:51.432 [DEBUG][50]   postcode: 80465
2022-10-31 15:24:51.433 [DEBUG][50]   sid: aaa93a47-4603-40d2-a5cd-95b9f23635a9
2022-10-31 15:24:51.433 [DEBUG][50]   client_ip: ::1
2022-10-31 15:24:51.433 [DEBUG][50]   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.26
2022-10-31 15:24:51.433 [DEBUG][50]   host_callback: ...
2022-10-31 15:24:51.433 [DEBUG][50] setting.sd.findlineups
2022-10-31 15:24:51.433 [DEBUG][50] SchedulesDirectFindLineups
2022-10-31 15:24:51.433 [DEBUG][50] SD using existing token
2022-10-31 15:24:51.837 [ERROR][50] 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)
2022-10-31 15:24:51.837 [DEBUG][50] []


Attached Files
.zip   logs-20221031-1526.zip (Size: 599.51 KB / Downloads: 2)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 45,333
Threads: 867
Joined: May 2006
#5
2022-10-31, 09:59 PM (This post was last modified: 2022-10-31, 10:01 PM by mvallevand.)
You don't the snippet, it's all in the logs and that only shows part of the problem, something very odd is happening which is why I think you need to open the ticket with support SD support (not the forum). I do see odd things in NextPVR but I think they need to get involved since there is an odd timing issue.

Martin
henryixV
Offline

Junior Member

United States
Posts: 9
Threads: 1
Joined: Oct 2022
#6
2022-10-31, 10:39 PM
Ok, ticket opened with SD Support as well...
henryixV
Offline

Junior Member

United States
Posts: 9
Threads: 1
Joined: Oct 2022
#7
2022-11-06, 04:59 PM
Attached current logs using updated NextPVR...


Attached Files
.zip   logs-20221106-0955.zip (Size: 827.01 KB / Downloads: 5)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#8
2022-11-06, 05:55 PM
I think your schedules direct username or password is incorrect (or account has expired).
Quote:2022-11-06 09:53:39.812 [DEBUG][6] Using URL: https://json.schedulesdirect.org/20141201
2022-11-06 09:53:40.253 [ERROR][6] SD http code: Forbidden
2022-11-06 09:53:40.254 [ERROR][6] {"response":"INVALID_USER","code":4003,"serverID":"20141201.web","message":"Invalid username or token has expired.","datetime":"2022-11-06T16:53:40Z"}
henryixV
Offline

Junior Member

United States
Posts: 9
Threads: 1
Joined: Oct 2022
#9
2022-11-06, 06:28 PM (This post was last modified: 2022-11-06, 06:34 PM by henryixV.)
Hmm...  This is at least partially why I started on the SD Forum instead of NextPVR, after setting credentials back to default (none) in config.xml and re-entering in NextPVR.

Just to make sure, I just logged in to the SD site with the credentials and it shows an expiration of next year and then re-entered the credentials on the EPG Sources page in NextPVR and I get the same behavior as before.  For entering the credentials in both places, I used copy and paste (nope, even I don't trust my typing Smile...).

I've attached a new set of logs...

FYI, I haven't gotten a response (other than the initial confirmation) to the Lineup Support ticket I opened and the SD Forum thread (since an initial back and forth about a week ago).  So, I'm still waiting there and hoping it's just that someone needs to look at my account, say "oohhh, that's not right..." and fix it.  But ignorance on my part knows no bounds, so...


Attached Files
.zip   logs-20221106-1126.zip (Size: 878.23 KB / Downloads: 1)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 102,402
Threads: 742
Joined: Nov 2003
#10
2022-11-06, 06:56 PM
If you want to PM me the account details, I'm happy to check it for you here.

Otherwise, some people had a different username vs email, and maybe it's a case of you using the wrong one? (though not sure that is possible with recent accounts)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  "Update EPG" causes 2nd week of EPG to be discarded MovieWiz 3 36 2023-03-25, 08:33 PM
Last Post: MovieWiz
  XML EPG wont update or insert new channels ciccio 4 149 2023-03-13, 10:17 AM
Last Post: ciccio
  EPG update Problem Escape7 9 244 2023-03-04, 10:21 PM
Last Post: sub
  'Expose M3U/XMLTV to other apps' update three6zerocool 8 180 2023-02-03, 10:52 AM
Last Post: three6zerocool
  VOD issues since update to 6 Micren 2 240 2023-01-21, 04:23 PM
Last Post: Micren
  Update channel list/EPG, Etc Brucek2839 8 255 2023-01-11, 04:34 PM
Last Post: Brucek2839
  No manual EPG update option? RobBob 2 212 2022-12-02, 08:50 PM
Last Post: RobBob
  Desktop app issue on latest update Lonewolf1061 16 1,429 2022-11-05, 03:01 PM
Last Post: deerewright
  Automate update of m3u jctennis 6 281 2022-10-18, 08:32 PM
Last Post: jctennis
  unable to update TV guide sffire 13 571 2022-09-23, 06:38 AM
Last Post: sub

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode