-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looked like a good idea, but I'm missing some help to get started... #6
Comments
It works on a VM, here is what I learned:
My setup was to build a venv for it, in it's own directory somewhere, and then a quick service file. I also created a local user to run it.
|
Cheers garbled1, I'm not gone; I'm still chewing on it... It does not work out, and I don't yet understand why. I'm still fiddling with the procedure which - discontinued at this time of Christmas leftovers dinner preparations - looks like the follwing: Result is that I can register my player, they even appear in the web interface from time to time. |
Hi guys,
this one really looked good, and for a short moment, I could see my desired player.
But then I stopped the python, and now it's not working anymore. Not at all, not even after reinstallation.
Maybe, I'm weak on the concept (and of course on programming, python debugging and ubuntu), but basically experienced in any IT matter, so here's the story:
I'm running plex server on ubuntu 20.04 (server) as a virtual machine on my qnap nas.
Works fine for the moment, quick, streamlined, as it should. Plex clients easily access and get the media quickly. Should purely act as a headless server.
But I want to stream to DNLA hardware (as most here).
So, I cloned the github and added (pip3) all the modules that it stated to miss (try and error, one by one).
For JUST ONE TIME, the thing came up, offered my DNLA for registration in the web page, I did so, and for once, the player was visible in my plex environment.
Then, I did the mistake to stop the script. The player disappeared.
OK, so I figured out that the script should be permanently running when the server will be up.
But, doing so, the player did not reappear, the web page ran into internal server error, end of the show.
I flipped back the snapshot of the virtual machine to repeat the exercise of installing and getting access to my players successfully before stopping the srcipt. But this does not work.
The player was visible once again in the registration screen, plex.tv/link accepted it, but it did not appear as a player in plex.
The server page (port 32488) offers "Server error", without saying anything further.
So, here's the questions:
1.) What do I need to do to get a stable installation of the script in ubuntu 20.04 server? Is there a better context to install and run than in my user directory?
2.) Does this script need to be running all the time when the server will be up?
3.) What will happen, if the server as such is being shut down / restarted? Will I need to re-register all my devices manually again?
The deal is:
If there will be a solution, I'll be glad to document it in the sense of writing an installation article for less advanced users for wiki.
I'm glad to assist for testing.
Cheers!
FrankSausF
P.S.: Docker is out of the question for me. I'm fine with virtual machines.
I've tried it, and Docker Station shot the network configuration of my NAS in a way that I really poured some sweat to get basic control of the device again without erasing all users.
The text was updated successfully, but these errors were encountered: