Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

After wake up from suspend2ram the client gets not visible again, most times I tried #13

Open
gdachs opened this issue Jun 3, 2015 · 3 comments

Comments

@gdachs
Copy link

gdachs commented Jun 3, 2015

After wake up from suspend2ram the client gets not visible again for casting to it, most times I tried. Maybe it is possible to monitor the "OnWake" event with XBMCMonitor and restart the script?

@gdachs
Copy link
Author

gdachs commented Jun 4, 2015

Forget what I wrote, it is nonsense. The Problem is that I start Kodi on boot before the network is ready. The Plex Helper doesn't get a connection to the server and this will, of course, not change on wake up after S3. I will use a sleep before starting Kodi.

It would be nice if the plex helper would try it harder to get a connection to the server, so that I don't need a sleep.

@hippojay
Copy link
Owner

hippojay commented Jun 4, 2015

Thanks - i'll be looking at the helper shortly as I'm going to be
integrating it into the main plugin to allow better sharing of functions
and data with plexbmc

On 4 June 2015 at 08:11, gdachs [email protected] wrote:

Forget what I wrote, it is nonsense. The Problem is that I start Kodi on
boot before the network is ready. The Plex Helper doesn't get a connection
to the server and this will, of course, not change on wake up after S3. I
will use a sleep before starting Kodi.

It would be nice if the plex helper would try it harder to get a
connection to the server, so that I don't need a sleep.


Reply to this email directly or view it on GitHub
#13 (comment)
.

Dave

@gdachs
Copy link
Author

gdachs commented Jul 1, 2015

Sorry for the late response. I understand why you want to integrate the script into the addon to eliminate duplicate code, but it will make me small problems. I use your script as a standalone application on my headless server. That means I wrote a wrapper in python that lets your script think that it is started by kodi.
That allows me to choose my intel nuc as target for streaming without powering it on. Just in the moment when I start playing in the app my wrapper sends a WOL package to the nuc and proxies all requests to it when it is ready. Works just fine.
Hopefully you will integrate the functionality modular enough so that I can recognize the files I need for my remote-plex-helper.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants