NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 48 49 50 51 52 … 433 Next »
Client Scheduling Failure

Client Scheduling Failure
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#1
2018-07-25, 01:26 PM
It seems that when I try to schedule a recurring program from a client, the operation never ends and I end up using the Task Manager to end the task. Or maybe I'm just being impatient. The server is a wired desktop and the client is a WiFi laptop.

On which machine do I examine logs to try and figure out what's happening? The server or the client? And which log file?

Thanks.
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#2
2018-07-25, 06:00 PM
Reproduce the problem, then zip and attach both the client and server logs and I'll take a look.
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#3
2018-07-26, 06:02 PM
Attached are client and server logs from "Not Responding" client window state while trying to use Search with the word "Outpost." I ended the task after waiting for four minutes. It's not the same scenario as originally posted but the symptoms are identical. I'm hoping you may see something.

Action took place about 1:47pm on 7/26/18.
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#4
2018-07-26, 06:12 PM
If you restart the client and try searching for Outpost again, does it do the same thing? If so, you go away and come back later, does it eventually complete? I know searching can be crappy from the client, due to the way database access is done, and I'm trying to determine if this is what you're seeing.
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#5
2018-07-27, 03:11 PM
Here are the logs of what you asked...if I got it right.

Started the search for "outpost" on the client at 10:23:50am client time on the 27th. After four minutes, killed it with Task Manager. Immediately re-launched NextPVR and again started the same search for "outpost." Walked away and returned at 10:41 to see, for the first time ever(!), a "NextPVR" screen saver! Program was responsive and indeed showed the results of the search. So...

Seems it takes quite a while to search. Can you tell me from the logs how long it took? Which begs the question: Is the search query performed on the client side which means the entire .db3 file needs to be sent from the server? If that's case, maybe a widget of some kind can be shown that helps indicate that NextPVR is alive and kickin' and to be patient.

Thanks for your help on this, sub. Maybe I can return the favor with some client-server SQL work.

(Server logs zip file was too big to upload at 2.39MB. I can post it elsewhere if required.)
Later...JohnC

System Status: Humming nicely!  Smile
Desktop: Intel DX38BT MB - Intel Q9650 3GHz Quad - NVIDIA GeForce GTX 1050 Ti Graphics
Software: Win 10 Pro(Build 1909) - NextPVR - WinTV8
Video: Verizon FiOS - Hauppauge DCR-3250 - Hauppauge 1512 HDPVR2
RaspberryPi 4 Raspbian and FLIRC
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,191
Threads: 958
Joined: May 2006
#6
2018-07-27, 06:18 PM
The Searchlite plugin does use client-server approach for searching and scheduling if you are looking for existing solutions.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#7
2018-07-27, 07:01 PM
jcole998 Wrote:Is the search query performed on the client side which means the entire .db3 file needs to be sent from the server?
Yeah, that's pretty much the case. The client queries the database directly. For most stuff this works great, using indexes to quickly find the data it needs. Unfortunately when you're doing searches, that is not the case. SQLite isn't a client/server database, so you're left sitting there for a long time as performs a huge number of slow network file operations as it searches for the matching shows.

I've been meaning to do something about this for a long time though, so try the attached updates. You need to install these on both the client and the server.
jcole998
Offline

Posting Freak

New York, USA
Posts: 865
Threads: 186
Joined: Jun 2015
#8
2018-07-27, 08:32 PM
Um...Can I assume that trying these files won't break anything? If it doesn't work, I can just go back to the original files?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#9
2018-07-27, 08:35 PM
Sure you can backup those files if you want. It was a pretty isolated change though, so I don't think you'd have unrelated problems.
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#10
2018-07-27, 10:20 PM
If the client is a windows machine, another option may be to use NLite rather than NextPVR running in client mode. The search will only be done on the server, the client only displays the UI...
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NLite Client on Raspberry Pi cweseloh 16 5,120 2024-10-23, 01:59 PM
Last Post: fla
  Client trouble Jzzhn 2 1,526 2020-08-31, 05:41 AM
Last Post: Jzzhn
  NextPVR Client Rendering NumberFive 1 1,553 2020-07-28, 10:17 PM
Last Post: NumberFive
  Client Hang artmetz 4 2,253 2020-06-07, 09:14 PM
Last Post: sub
  Nvidia Shield TV - Android client / Kodi client. mkotas 9 4,442 2020-01-28, 10:58 AM
Last Post: mkotas
  Web URL Command Failure jcole998 2 1,271 2020-01-26, 06:27 PM
Last Post: jcole998
  Cant disable nextpvr as a client eastavin 5 2,651 2019-11-01, 02:57 AM
Last Post: eastavin
  Play back of recording from client PC hangs up dcl 5 2,049 2019-09-15, 10:46 PM
Last Post: mvallevand
  Npvr act as client spudjg1 1 1,392 2019-06-16, 11:09 AM
Last Post: spudjg1
  NextPVR client / server set up EiEiOhh 3 2,287 2019-06-02, 06:01 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode