NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
1 2 3 4 5 … 35 Next »
Schedules Direct Username disappears

 
  • 0 Vote(s) - 0 Average
Schedules Direct Username disappears
optotronic
Offline

Junior Member

USA
Posts: 2
Threads: 1
Joined: Oct 2025
#1
3 hours ago
I'm using NextPVR Version: 7.0.3.250920 on Xubuntu 24.04.3 LTS.  I have it working, more or less, on two HDHomeRun devices.

When I fill out the Schedules Direct Username and Password, NextPVR takes it and updates the guide successfully.  However, if I go back to the settings page later (http://192.168.0.8:8866/settings.html#), Username shows "SD Username" instead of the username I provided.  Is this normal?

NextPVR frequently fails to update the guide when doing it itself. We usually notice because the guide is mostly empty days later.  I re-enter my Schedules Direct username and password, and it downloads the guide and seems fine for awhile.

I can login to Schedules Direct with the same username and password.  My Schedules Direct account has not expired.

I didn't see any error messages in the logs I submitted.  They get overwritten so quickly that errors disappear.  In the past I have seen errors about Schedules Direct retrieval, like so:
Code:
2025-10-13 02:44:36.787 [DEBUG][13]     Update EPG...
2025-10-13 02:44:36.789 [INFO][38]      About to update EPG
2025-10-13 02:44:37.276 [DEBUG][38]     No /var/opt/nextpvr/scripts/UpdateEPG.sh file found
2025-10-13 02:44:37.277 [DEBUG][38]     select channel.*, channel_mapping.*, capture_source.present as present from channel, channel_mapping, capture_source where channel.oid = channel_oid  and capture_source_oid = capture_source.oid and capture_source.enabled = 'Y';
2025-10-13 02:44:37.279 [DEBUG][38]     Doing EPG update from Schedules Direct JSON
2025-10-13 02:44:37.282 [DEBUG][38]     SD requesting new token
2025-10-13 02:44:37.282 [DEBUG][38]     SD(https://json.schedulesdirect.org/20141201/token)
2025-10-13 02:44:39.081 [ERROR][38]     Unexpected error doing Schedules Direct login: System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at NShared.SchedulesDirectJSONEPGSource.DoPOSTRequest(String url, String token, String body, Boolean retry)
2025-10-13 02:44:39.081 [ERROR][38]     System.Net.WebException: The remote server returned an error: (403) Forbidden.
   at System.Net.HttpWebRequest.GetResponse()
   at NShared.SchedulesDirectJSONEPGSource.DoPOSTRequest(String url, String token, String body, Boolean retry)
2025-10-13 02:44:39.081 [ERROR][38]     SD http code: Forbidden
2025-10-13 02:44:39.082 [ERROR][38]     {"code":403,"response":"Blank username."}
2025-10-13 02:44:39.082 [INFO][38]      SD got new token:
2025-10-13 02:44:39.082 [DEBUG][38]     Using URL: https://json.schedulesdirect.org/20141201
2025-10-13 02:44:40.129 [ERROR][38]     SD http code: NotFound
2025-10-13 02:44:40.129 [ERROR][38]     {"response":"TOKEN_MISSING","code":1004,"serverID":"20141201.web","message":"Token required but not provided in header or request URI.","datetime":"2025-10-13T06:44:40Z","serverTime":1760337880}
2025-10-13 02:44:40.131 [DEBUG][38]    
{"response":"TOKEN_MISSING","code":1004,"serverID":"20141201.web","message":"Token required but not provided in header or request URI.","datetime":"2025-10-13T06:44:40Z","serverTime":1760337880}
2025-10-13 02:44:40.131 [ERROR][38]     Unable to get token:
2025-10-13 02:44:44.132 [DEBUG][38]     No /var/opt/nextpvr/scripts/PostLoadEPG.sh file found
2025-10-13 02:44:44.133 [INFO][38]      deleting old conflicts

Thank you in advance for your guidance.
-Bill


Attached Files
.zip   logs-20251019-1415.zip (Size: 1,009.77 KB / Downloads: 1)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,002
Threads: 967
Joined: May 2006
#2
2 hours ago
That old log isn't in the new set of logs so we can't help you but no it is not normal. The only thing I thing of that might cause this is if you edited config.xml as root but I don't see any error. However I do see that you are potentially managing NextPVR from too different PC's 127.0.0.1 and 192.1680.12 so you might need to logout and exit out of one since any cached settings are not cached in both web browsers.

Martin
optotronic
Offline

Junior Member

USA
Posts: 2
Threads: 1
Joined: Oct 2025
#3
1 hour ago
(2 hours ago)mvallevand Wrote: That old log isn't in the new set of logs so we can't help you but no it is not normal. The only thing I thing of that might cause this is if you edited config.xml as root but I don't see any error.  However I do see that you are potentially managing NextPVR from too different PC's 127.0.0.1 and 192.1680.12 so you might need to logout and exit out of one since any cached settings are not cached in both web browsers.

Martin

Thank you, Martin.

Here's the owner and group of config.xml:
-rw-r--r-- 1 nextpvr nextpvr    21456 Oct 19 15:05 config.xml

That said, I have edited config.xml while nextpvr-service is stopped, and used sudo to do so.


I do access NextPVR from browsers on two different computers.  To determine whether logging in from two computers was the problem, I logged out from both, cleared the browser cache on the computer running NextPVR, logged in, set the Schedules Direct info, logged out, logged in, and the Schedules Direct username is now appearing as "SD Username" again.  Then I tested without logging out: I set the Schedules Direct info again, switched to the "About" page, the "Settings" page, the "Guide" settings page, and the Schedules Direct username is now appearing as "SD Username" again.

Can NextPVR handle setting changes made through the web interface by a computer other than the one running NextPVR?

Does NextPVR support use through the web interface by two different computers at the same time?

I see that some NextPVR setting changes made in the web interface are written to config.xml, but not the Schedules Direct account information.


-Bill
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 54,002
Threads: 967
Joined: May 2006
#4
37 minutes ago
I'd need to see the logs you can use multiple.sessions but there is an internal cache of some settings. Exit both browsers after saving SD settings and confirm config.xml has the update and they should be ok after that. The only other thing might be the server starting before networking causing the server to think you don't have SD.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Direct access to recordings TugboatBill 1 781 2025-05-05, 11:04 PM
Last Post: mvallevand
  Schedules Direct not downloading. WagMan 2 934 2023-04-16, 01:55 AM
Last Post: WagMan
  Schedules Direct Token Issue TheKenR 20 4,422 2023-02-20, 07:49 PM
Last Post: mvallevand
  [SOLVED] Schedules Direct won't populate my lineup NinthWave 5 1,329 2023-01-25, 04:03 AM
Last Post: mvallevand
  Schedule Direct is not updating mfalcian@comcast.net 6 1,441 2022-12-08, 09:43 PM
Last Post: mfalcian@comcast.net
  Schedules Direct EPG not appearing in TV Guide rakircher 6 2,583 2022-04-05, 03:31 AM
Last Post: mvallevand
  EPG schedule not updating (Schedules Direct) ag100pct 3 1,627 2022-01-09, 02:28 AM
Last Post: sub
  Won't load schedules direct schedule eobf737 36 10,571 2020-02-11, 01:09 AM
Last Post: mvallevand
  Username / Password problem packhamc 1 2,113 2019-07-06, 06:26 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