jemus 3 Posted June 30, 2020 Posted June 30, 2020 Hey, I was wondering if there is a way to connect EmbyCon to the Emby Server that is running on the very same device without using the IP address. I have a device running CoreElec and it would be nice to start it on vacation in a different network and still reach the Emby Server even if the IP address of the CoreElec Box changes. I tried to set the server address to "localhost" but that way EmbyCon does't find it.
Painkiller8818 229 Posted June 30, 2020 Posted June 30, 2020 1 hour ago, jemus said: Hey, I was wondering if there is a way to connect EmbyCon to the Emby Server that is running on the very same device without using the IP address. I have a device running CoreElec and it would be nice to start it on vacation in a different network and still reach the Emby Server even if the IP address of the CoreElec Box changes. I tried to set the server address to "localhost" but that way EmbyCon does't find it. 127.0.0.1 will also be the localhost and it should work always and never changes
jemus 3 Posted July 1, 2020 Author Posted July 1, 2020 Well turns out localhost works as it should, the problem was, that I rebooted the device and emby server didn't start on boot. Wasn't able to find it that way. So I have to take a look at why the server doesn't start with the system.
Painkiller8818 229 Posted July 1, 2020 Posted July 1, 2020 1 hour ago, jemus said: Well turns out localhost works as it should, the problem was, that I rebooted the device and emby server didn't start on boot. Wasn't able to find it that way. So I have to take a look at why the server doesn't start with the system. This can be set in the Settings Tab:
jemus 3 Posted July 1, 2020 Author Posted July 1, 2020 Guess that might only work on Windows but not on Linux
Painkiller8818 229 Posted July 1, 2020 Posted July 1, 2020 (edited) ah ok this menu point is missing on linux. you can try this: systemctl enable emby-server not sure if coreelec is based on debian, but this works for me on the linux server (debian) Edited July 1, 2020 by Painkiller8818 1
Riggs 303 Posted July 1, 2020 Posted July 1, 2020 (edited) Basic Linux commands to managed units: You will need: sudo user or root access Start Emby immediately: # systemctl start emby-server Stop Emby immediately: # systemctl stop emby-server Restart Emby: # systemctl restart emby-server Enable Emby to be started on bootup: # systemctl enable emby-server Enable Emby to be started on bootup and Start immediately: # systemctl enable --emby-server Disable Emby to not start during bootup: # systemctl disable emby-server Edited July 1, 2020 by Riggs
Riggs 303 Posted July 1, 2020 Posted July 1, 2020 51 minutes ago, Painkiller8818 said: ah ok this menu point is missing on linux. you can try this: systemctl enable emby-server not sure if coreelec is based on debian, but this works for me on the linux server (debian) It will works in any Linux distro based on Systemd
Painkiller8818 229 Posted July 1, 2020 Posted July 1, 2020 (edited) 8 minutes ago, Riggs said: It will works in any Linux distro based on Systemd yeah but i don't know libreelec well, i just know libreelec doesn't know sudo, so maybe coreelec also don't know sudo per default. so it could also be sudo update-rc.d depending on his system. Edited July 1, 2020 by Painkiller8818 1
Riggs 303 Posted July 1, 2020 Posted July 1, 2020 10 minutes ago, Painkiller8818 said: yeah but i don't know libreelec well, i just know libreelec doesn't know sudo. so it could also be sudo update-rc.d depending on his system. You did very well, I just took the opportunity to leave a little more info with the commands for init-based systems - systemd Librelec may not be able to use sudo (I don't know either), although I do know that you will be able to use root, which is the super user after all. For general culture and community support Librelec uses the systemd for the init Have a great time 1
jemus 3 Posted July 1, 2020 Author Posted July 1, 2020 (edited) Tried to enable the service but it seems like I have to create it firstly. CoreELEC:~ # systemctl enable emby-server Failed to enable unit: Unit file emby-server.service does not exist. Edit: Seems like other users are running into similar issues on libreelec: https://forum.libreelec.tv/thread/21285-update-emby-server-to-latest-in-libreelec-repo/?pageNo=2 Edited July 1, 2020 by jemus
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now