Jump to content

Recommended Posts

Posted

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
Posted
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
 

Posted

Hi, where did you try to set localhost?

TeamB
Posted

also you may be able to use the devices name

Posted

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
Posted
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:
 

boot.png

Posted

Guess that might only work on Windows but not on Linux ;)

Painkiller8818
Posted (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 by Painkiller8818
  • Like 1
Posted (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 by Riggs
Posted
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
Posted (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 by Painkiller8818
  • Like 1
Posted
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 ;)

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...