Jump to content

Autostart Emby Theater on Raspberry Pi


Go to solution Solved by alucryd,

Recommended Posts

Mentalblaze
Posted

I have installed the Emby server on a Raspberry Pi 4 using R pi OS x64 (debian Bullseye).
Then I realized that I wanted to use it as a client too (is that too much for it??) so I installed Emby Theater.

But, as stated in the instructions, I need to start it from Applications. But I do not have mouse or keyboard connected to it, only a CEC remote. 
So I need to add it to Autostart. 

Found a guide that said  should add a file in pi/.config/autostart.

So I followed the guide and created a file with this:
[Desktop Entry]
Type=Application
Name=Emby Theater
Exec=sh -c '/usr/bin/emby-theater.sh'
StartupNotify=false
Terminal=false

The exec part is a plain guess, and it does not work. 
Am I on the right track and just need to configure the 'Exec=' part?
Or is this totally wrong and I need to do something completly different?

 

Posted

Hi, yes we've recently reworked our Theater packages and we'll need to update the autostart instructions, so stay tuned for that.

  • Like 1
  • Solution
alucryd
Posted

Hi there, can you try to create the file `~/.config/lxsession/LXDE-pi/autostart` with the following content:

@xset s off
@xset -dpms
@xset s noblank
@emby-theater

This should launch an LXDE session with just emby-theater.

  • Thanks 1
Mentalblaze
Posted

Thanks.

I did not have such a file, so I created it and that worked perfectly. 

 

  • Thanks 1
Mentalblaze
Posted

I had problems getting the audio to work on Bullseye. 

And I read that a lot of people had this problem with that version and that Buster was a lot better. 
So after a couple of days of trying to fix it I gave up and installed Buster instead. 

But that means that I need this command in Buster instead...

"LXsession" is not present in this distro. But lxpanel is. 
So I added ~/.config/lxpanel/LXDE-pi/autostart with the same settings as above. 

But that failed.

So I hope that @alucryd know whats wrong... 

(I keep it as "solved", as it was the solution for the version stated in the first post)

 

Mentalblaze
Posted

That was easy.

Just create the folder structure and file `~/.config/lxsession/LXDE-pi/autostart` and it works. 
 

  • Thanks 1
Posted

Thanks for the feedback.

  • 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...