Jump to content


Photo

Emby Theater on Raspberry Pi


  • Please log in to reply
459 replies to this topic

#441 Diedrich OFFLINE  

Diedrich

    Advanced Member

  • Members
  • 702 posts
  • Local time: 05:57 AM

Posted 30 April 2019 - 09:59 AM

Feature request: WiFi hotspot to allow control through an app like Yatse (Android).

I currently run LibreELEC and it's perfect for this reason. It enables the Pi to run as a hotspot allowing any of my devices to connect to the Internet through it. That also allows me to SSH into the Pi as well as Kodi through Yatse.

#442 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 30 April 2019 - 12:36 PM

https://emby.media/c...view=getnewpost

#443 Spotta OFFLINE  

Spotta

    Advanced Member

  • Members
  • 123 posts
  • Local time: 09:57 AM

Posted 27 June 2019 - 04:15 AM

 

Emby Theater for pi use the omxplayer for playing videos. http://elinux.org/Omxplayer

I use lxsession to start up the start.sh script instead of using [Desktop Entry]. http://www.raspberry...n-lxde-desktop/

Start up a text editor to edit the autostart file:
nano ~/.config/lxsession/LXDE-pi/autostart 

Add this line last in the autostart file
@/home/pi/emby-theater-pi/start.sh

 

 

 

I also decided to make a desktop icon to launch emby. You can do this by creating a text file on the desktop named 'emby.desktop' with the text:
[Desktop Entry] 
Name=Emby
Type=Application
Comment=Start Emby Theater
Categories=Application
Exec=/home/pi/emby-theater-pi/start.sh
Terminal=false
StartupNotify=false
Icon=/home/pi/emby-theater-pi/icon.ico

 

 

I know some people avoid the pi as a emby client because you have to manually start theater once the pi boots.

A solution for the time being:

In a terminal on your pi once you have theater installed and running:

cd /home/pi/.config/lxsession/LXDE-pi
sudo nano autostart

At the bottom of this file add:

@xset s off
@xset -dpms
@xset s noblank
@/usr/local/bin/electron /home/pi/emby-theater-pi
Once you have done this, emby theater will start when the pi boots and you can then control it via another emby client (like android).
No need for a mouse / keyboard, or any other hardware for that matter. :)

 

 

These instructions for creating a shortcut and auto starting emby-theater upon boot no longer seem to work on Buster. I am not a Linux expert at all, but can follow instructions to get my Rpi working, does anyone know the updated way to achieve this?



#444 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 27 June 2019 - 04:13 PM

What exactly is happening?



#445 Spotta OFFLINE  

Spotta

    Advanced Member

  • Members
  • 123 posts
  • Local time: 09:57 AM

Posted 28 June 2019 - 03:19 AM

The shortcut gives 'Invalid desktop entry file: '/jome/pi/Desktop/emby.desktop'

 

when trying to add the startup entry it cannot find lxsession, I'm guessing both of these issues are from changed paths, I just do not know what the correct paths should be.



#446 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 28 June 2019 - 12:08 PM

I've added auto-start instructions to here:

https://emby.media/c...ater-for-linux/



#447 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 18 July 2019 - 03:10 PM

Regarding RPI4:

https://emby.media/c...-31#entry765077



#448 Gummix OFFLINE  

Gummix

    Advanced Member

  • Members
  • 46 posts
  • Local time: 11:57 AM

Posted 27 July 2019 - 01:02 PM

This is Premium only or?

 



#449 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 27 July 2019 - 03:55 PM

This is Premium only or?

 

Emby Theater requires Emby Premiere, yes.



#450 ttgapers OFFLINE  

ttgapers

    Advanced Member

  • Members
  • 78 posts
  • Local time: 04:57 AM

Posted 10 August 2019 - 04:07 PM

These instructions for creating a shortcut and auto starting emby-theater upon boot no longer seem to work on Buster. I am not a Linux expert at all, but can follow instructions to get my Rpi working, does anyone know the updated way to achieve this?

 

You can use this. @Luke might want to add this for others on the main page:

[Desktop Entry] 
Name=Emby
Type=Application
Comment=Start Emby Theater
Categories=Application
Exec=emby-theater
Terminal=false
StartupNotify=false
Icon=/usr/lib/emby-theater/resources/app/icon.ico



#451 mbc0 OFFLINE  

mbc0

    Advanced Member

  • Alpha Testers
  • 529 posts
  • Local time: 10:57 AM

Posted 12 August 2019 - 01:02 PM

Hi,

 

Is there a way for me to get ET to auto-log off a user with inactivity?

 

I have tried the Emby Openelec image and there are no options so I scrapped that and I currently have ET installed on my Pi 4 with Debian Buster trying to get the Pi to log off or shutdown/anything to force ET to logout the last users so my kids only get to see what they are allowed.

 

Many Thanks



#452 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 12 August 2019 - 01:06 PM

Hi,

 

Is there a way for me to get ET to auto-log off a user with inactivity?

 

I have tried the Emby Openelec image and there are no options so I scrapped that and I currently have ET installed on my Pi 4 with Debian Buster trying to get the Pi to log off or shutdown/anything to force ET to logout the last users so my kids only get to see what they are allowed.

 

Many Thanks

No but it's planned for the future. Thanks.



#453 nonyhaha OFFLINE  

nonyhaha

    Advanced Member

  • Members
  • 45 posts
  • Local time: 11:57 AM

Posted 16 October 2019 - 04:22 AM

Hello,

I am having some issues with ET on Raspberry and I was wondering if these are known issues or if there is something I should do to them.

I have a pi3 and a pi4. Both run latest 3.0.9 image that i simply copied on the sd cards. After install I only changed hostname, enabled ssh, setup wifi and told them to wait for network before initialization.

The problems I run into are:

1. sometimes when I want to access the menu during playtime, I push center button but the image goes black and the raspberry freezes. the usual pause, previous, next and other buttons do not appear, just a black screen and I can't do anything. no back, no continue, nothing.

This can be reproduces by just pressing stop button on my remote. black screen on, nothing i can do. 
and
2. Whenever I enable subtitles, the video also freezes, usually with a black screen, and I can't do anything again. The only way out is to restart. on my android app, subtitles work fine. - tried with local and online subtitles. - This issue seems to happen when enabling subtitles on raspberry pi 4 while direct playing files.

These issues happen both on pi3 and pi4. (both are playing on local netowrk, pi4 uses direct streaming, pi3 uses 720p transcoding)

Any ideas what I should try to do?

Many thanks in advance.

L.E.
Unfortunately the black screen comes on after some inactivity time and i cant do anything to bring it back.

This is stressing me a lot. I have to restart it every time :(


Edited by nonyhaha, 17 October 2019 - 03:46 AM.


#454 nt-it-team OFFLINE  

nt-it-team

    Member

  • Members
  • 10 posts
  • Local time: 09:57 AM

Posted 08 January 2020 - 07:11 AM

Hello,

 

Using the RPi image from the Linux thread, is it possible to join the Pi 4b to a WPA Enterprise (RADIUS) wifi connection?

 

Tested on ethernet and works great!



#455 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 08 January 2020 - 01:34 PM

Hi, I don't see why not. Have you checked system network settings?

#456 nt-it-team OFFLINE  

nt-it-team

    Member

  • Members
  • 10 posts
  • Local time: 09:57 AM

Posted 09 January 2020 - 07:54 AM

I have escaped away from the auto-starting Emby client and signed in with the default Pi credentials... I don't see any network settings to configure! It looks like the OS is really lightweight.



#457 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 10 January 2020 - 02:03 PM

I have escaped away from the auto-starting Emby client and signed in with the default Pi credentials... I don't see any network settings to configure! It looks like the OS is really lightweight.


The desktop is lxde, so raspi-config should take care of the basics but installing network manager 'sudo apt-get install network-manager' should add extra functions

#458 nt-it-team OFFLINE  

nt-it-team

    Member

  • Members
  • 10 posts
  • Local time: 09:57 AM

Posted 13 January 2020 - 10:14 AM

Well - finally got this working. To put it short, the driver in the Buster distro by default is broken and does not work with any 802.1x implementation. Only fix is to "swap" the driver being loaded.

 

For future anyone trying this:

 

Check first in terminal:

ps aux | grep wpa

The default (broken) return should contain:

wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext

We need to change this around...

 

In terminal:

sudo nano /etc/wpa_supplicant/functions.sh

go to line 227 (as of the date on this post anyway). Change from

WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -D nl80211,wext"

to

WPA_SUP_OPTIONS="$WPA_SUP_OPTIONS -D wext,nl80211"

Save the file (write output) and exit. 

 

 

In terminal:

sudo nano /lib/dhcpcd/dhcpcd-hooks/10-wpa_supplicant

go to line 60 (again as of this post date). Change from:

wpa_supplicant_driver="${wpa_supplicant_driver:-nl80211,wext}"

to:

wpa_supplicant_driver="${wpa_supplicant_driver:-wext,nl80211}"

Now reboot the pi, in terminal:

sudo reboot

After it reboots, quit the emby auto launch and sign in to the desktop, and open terminal and run:

ps aux | grep wpa

it should now have the line:

wpa_supplicant -B -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -wext,Dnl80211

Now go ahead and configure the wpa_supplicant.conf file for your radius settings for WPA2 enterprise and it should connect. Not sure why this isn't documented anywhere, and I don't have accounts on other places to post it!

 

Hope this helps someone else using the emby pi image to connect!

 

Now to figure out how to stop the raspi-config loading by default, as it tests before the wifi connects...



#459 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 13 January 2020 - 12:43 PM

That's great info, thanks !

#460 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 152804 posts
  • Local time: 05:57 AM

Posted 10 February 2020 - 03:11 PM

Theater now has the virtual scrolling feature for vertical lists:

https://emby.media/c...tual-scrolling/

 

That means the lists will no longer load your entire library contents all at once and will instead only load what you see at once. This will help make the entire app more responsive and improve navigation performance.


  • CashMoney likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users