NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 … 17 18 19 20 21 … 43 Next »
Wake up NextPVR when Kodi plays Live TV

 
  • 0 Vote(s) - 0 Average
Wake up NextPVR when Kodi plays Live TV
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#1
2017-04-30, 05:03 PM
Enhancement Request:

I do not know the architecture of the NextPVR Kodi addon but would it be possible to automatically wake up the NextPVR backend server when starting to play live TV on Kodi? Right now the Kodi screen will freeze for a minute or two if the NextPVR server has slept. When it comes back you can run a separate addon "Advanced Wake on LAN" or pretend to access pictures, videos, music on the server and Kodi will automatically wake up the server. It would be nice if the NextPVR backend would wake up and live TV just worked albeit with the wake up delay.
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#2
2017-05-22, 03:18 AM
Nobody? Does X-NEWA do this?
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#3
2017-05-22, 01:24 PM
I do this all the time. Here's how I do it:
I use a script (bat file) to send a WOL (wake on Lan) signal to the server, then enter a loop waiting for notification that npvr.db3 exists on the server. Once a response is received that npvr.db3 exists (indicating that the server is now awake and happy), a command to start Kodi is executed by the bat file.

That's it - works everytime.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,162
Threads: 958
Joined: May 2006
#4
2017-05-23, 05:52 PM
fla Wrote:Nobody? Does X-NEWA do this?

Yes it does.

Martin
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#5
2017-05-24, 02:38 AM
mvallevand Wrote:Yes it does.
Great. We'll try using X-NEWA instead of sub's plugin. We can't do what what 2leftfeet does since kodi is already running 24/7/365 on a SBC. The plugin really needs to ensure it won't freeze the system when called upon.
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#6
2017-07-13, 01:08 AM (This post was last modified: 2017-07-13, 01:14 AM by fla.)
Adding the following line to kodi's favourites.xml creates a favorite that will wake up the server then go to the guide. The problem and workaround are discussed in this thread.
Code:
<favourite name="Live TV" thumb="/storage/.kodi/addons/pvr.nextpvr/icon.png">RunScript(&quot;script.advanced.wol&quot;,ActivateWindow(TVGuide),True)</favourite>
It's an ugly hack that does what should be in the addon but it beats freezing for several minutes.

BTW X-NEWA was also freezing when the server was asleep.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,162
Threads: 958
Joined: May 2006
#7
2017-07-13, 01:30 AM
You probably did not configure x-newa with the correct MAC address

Martin
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#8
2017-08-04, 07:30 PM
mvallevand Wrote:You probably did not configure x-newa with the correct MAC address

Martin
In the x-newa general settings where it asks for "Host IP or Name" we had the name. By putting the host IP instead, x-newa now pops up the message about sending the wol packet (bug with name???).

Also in the x-newa advanced settings where it asks for "Broadcast address" we had 255.255.255.55 (error in script.xbmc.x-newa/resources/settings.xml???). By putting 255.255.255.255 the nextpvr server wakes up.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,162
Threads: 958
Joined: May 2006
#9
2017-08-04, 08:38 PM
True if you use the NetBIOS hostname the error is different since the system cannto resolve the hostname. I will consider sending WOL on this error too.

Yes and the .55 is a wrong, fixed for the next release. Glad you figured it out.

Martin
fla
Offline

Posting Freak

Posts: 890
Threads: 46
Joined: Mar 2006
#10
2017-08-05, 04:22 AM
The hostname resolution comes from a local dns so it should always work. This X-NEWA is running on linux in case that's relevant. X-NEWA'S WOL is a great feature btw.
« 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
  Suggestions for the KODI Add-on Escape7 51 10,428 2025-06-29, 08:36 PM
Last Post: sub
  Kodi Channel not updating aTF6i 2 594 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 591 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 1,049 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,475 2025-01-15, 06:32 PM
Last Post: mvallevand
  NextPVR and Android 10 charlyms 7 1,069 2024-11-17, 09:39 PM
Last Post: mvallevand
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 1,528 2024-10-23, 02:11 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,869 2024-09-11, 10:20 PM
Last Post: trongod
  NextPVR Client for CoreELEC ChrisI 3 780 2024-09-07, 10:11 PM
Last Post: mvallevand
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,941 2024-08-06, 10:00 PM
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