Jump to content

Emby Theater for Linux


xnappo

Recommended Posts

On 09/07/2020 at 03:58, Luke said:

Hi, try running:


ldd /usr/lib/emby-theater/libmpv.so.1 | grep "not found"

 

I have the same issue on fresh Ubuntu 20.04 installation. Pretty much just fresh minimal install with:

apt update && apt upgrade && apt install mpv && dpkg -i et.deb

The playback just gets stuck on 00:00.

ldd shows no missing libraries, just downgrading ET to 3.0.11 plays everything fine. I'm pretty confident with Linux systems, but quite new to ET, so any pointers how to troubleshoot this would be appreciated.

Link to post
Share on other sites
1 hour ago, mprasil said:

I have the same issue on fresh Ubuntu 20.04 installation. Pretty much just fresh minimal install with:


apt update && apt upgrade && apt install mpv && dpkg -i et.deb

The playback just gets stuck on 00:00.

ldd shows no missing libraries, just downgrading ET to 3.0.11 plays everything fine. I'm pretty confident with Linux systems, but quite new to ET, so any pointers how to troubleshoot this would be appreciated.

Try setting the hardware acceleration mode to auto copy back.

Link to post
Share on other sites
29 minutes ago, Luke said:

Try setting the hardware acceleration mode to auto copy back.

Still the same.

One possibly interesting observation: I launched emby-theater from console, so I'm seeing its stdout. In older version every time I play anything it first fails to play that locally (which makes sense because the local file is not there) and then it logs the stream it's playing from. With the latest version I can only see the local playback error, but I don't see the stream URL that it would normally log afterwards.

Edited by mprasil
typo
Link to post
Share on other sites
1 minute ago, mprasil said:

Still the same.

One possibly interesting observation: I launched emby-theater from console, so I'm seeing its stdout. In older version every time I play anything it first fails to play that locally (which makes sense because the local file is not there) and then it logs the stream it's playing from. With the latest version I can only see the local playback error, but I don't see the stream URL that it would normally log afterwards.

Can you provide the console output? Thanks.

Link to post
Share on other sites
10 minutes ago, Luke said:

Can you provide the console output? Thanks.

Sure (some details obscured, but otherwise as-is from start to playback and Exit):

====================
emby-theater 3.0.11:
====================

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
Initializing cec-client...

{
  cecExePath: 'cec-client',
  cecEmitter: EventEmitter {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined
  }
}
cec-client exited with code 1
UDP Client listening on 0.0.0.0:43573
starting udp receive timer with timeout ms: 1000
timer expired 0 servers received
[]
fs access result for path: Error: ENOENT: no such file or directory, access '/data/movies/XXX/XXX.avi'
Play URL : https://xxx.xxx.eu:443/videos/52003/stream.avi?DeviceId=xxxxxx...

(the movie plays at this stage, no more output until exit)

====================
emby-theater 3.0.12:
====================

(electron) The default value of app.allowRendererProcessReuse is deprecated, it is currently "false".  It will change to be "true" in Electron 9.  For more information please check https://github.com/electron/electron/issues/18397
Initializing cec-client...

{
  cecExePath: 'cec-client',
  cecEmitter: EventEmitter {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined
  },
  cecHdmiPort: ''
}
UDP Client listening on 0.0.0.0:43495
starting udp receive timer with timeout ms: 1000
cec-client exited with code 1
timer expired 0 servers received
[]
fs access result for path: Error: ENOENT: no such file or directory, access '/data/movies/XXX/XXX.avi'

(the movie does not play, stuck at 00:00, no more output until exit)

 

Link to post
Share on other sites
  • 2 weeks later...

I've just tried the image file and when my Pi boots it brings me to a desktop login dialog.  I'm guessing this isn't the expected behavior but I can't find anything that states explicitly one way or another.  I've search for what the username and password might be but can't seem to find a match.

Link to post
Share on other sites

Was there any update on the 3.0.12 not playing anything? I've just hit it on another PC. Same story - just completely new minimal install of Ubuntu 20.04 and then:

apt update && apt upgrade && apt install mpv && apt install ./emby-theater_3.0.12_amd64.deb

Same issue - video stuck at 00:00, black screen. Downgrading to 3.0.11 works fine, but the controls don't properly overlay the video. (The screen is black while controls are visible)

Link to post
Share on other sites
On 9/10/2020 at 3:35 PM, mprasil said:

Was there any update on the 3.0.12 not playing anything? I've just hit it on another PC. Same story - just completely new minimal install of Ubuntu 20.04 and then:


apt update && apt upgrade && apt install mpv && apt install ./emby-theater_3.0.12_amd64.deb

Same issue - video stuck at 00:00, black screen. Downgrading to 3.0.11 works fine, but the controls don't properly overlay the video. (The screen is black while controls are visible)

@mprasil can you please attach the mpv log? instructions are here:

Thanks.

Link to post
Share on other sites
9 hours ago, Luke said:

@mprasil can you please attach the mpv log? instructions are here:

Thanks.

Log file attached. Some stuff is obfuscated, but otherwise as is.

I suppose this could be the issue:

https protocol not found, recompile FFmpeg with openssl, gnutls or securetransport enabled.

However I should have openssl support enabled (as I mentioned the previous version of ET plays the same file just fine) and when I grab the URL it's trying to open, and do this it plays the file just fine:

# URL is the long URL from logs
mpv "$URL"

 

mpv.log

Edited by mprasil
typofix
Link to post
Share on other sites

I've noticed 3.0.12 contains extra libraries like libmpv.so.1 and few others. I assume it's no longer using the system library, which would probably explain the difference? Perhaps it just needs to be recompiled with ssl support?

Edited by mprasil
typo
Link to post
Share on other sites
40 minutes ago, Luke said:

Yes: https://github.com/MediaBrowser/emby-theater-electron

Although we don't have any documented build process that you can follow.

I guess I should be more specific. I was aware of the repo, but I'm not that familiar with electron apps, so I was asking if there's any howto to compile it. (or any chance that you could release a version with proper https support)

Link to post
Share on other sites
51 minutes ago, mprasil said:

I guess I should be more specific. I was aware of the repo, but I'm not that familiar with electron apps, so I was asking if there's any howto to compile it. (or any chance that you could release a version with proper https support)

The issue has been assigned to a developer and we're looking into it. Thanks.

  • Like 1
Link to post
Share on other sites
On 9/15/2020 at 12:30 PM, mprasil said:

I guess I should be more specific. I was aware of the repo, but I'm not that familiar with electron apps, so I was asking if there's any howto to compile it. (or any chance that you could release a version with proper https support)

@mprasil can you try downloading the .deb again and seeing how it compares? Thanks.

Link to post
Share on other sites
7 hours ago, Luke said:

@mprasil can you try downloading the .deb again and seeing how it compares? Thanks.

I've tested this on all boxes that had the issue and can confirm it now works fine with 3.0.12-1. Thanks for that.

Link to post
Share on other sites

Just installed the Electron version of Emby Theater and have to say I like it. I just wanted to ask unlike Plex Media Player is Theater still actively supported? Thanks

Link to post
Share on other sites
2 hours ago, mprasil said:

I've tested this on all boxes that had the issue and can confirm it now works fine with 3.0.12-1. Thanks for that.

Thanks for the feedback !

Link to post
Share on other sites
26 minutes ago, MediaMogal said:

Just installed the Electron version of Emby Theater and have to say I like it. I just wanted to ask unlike Plex Media Player is Theater still actively supported? Thanks

Yes it is.

  • Like 1
Link to post
Share on other sites
  • 2 weeks later...
MediaMogal

Theater will not build and install. I have tried once through pamac and then using yay in Konsole and all I get is the below. Any idea on what might be going on? Thanks

 

[alienprober@TheMotrhership ~]$ yay -S emby-theater-bin 
:: Checking for conflicts... 
:: Checking for inner conflicts... 
[Aur:1]  emby-theater-bin-3.0.12-2 

:: Downloaded PKGBUILD (1/1): emby-theater-bin 
 1 emby-theater-bin                 (Build Files Exist) 
==> Diffs to show? 
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) 
==> 4 
:: (1/1) Parsing SRCINFO: emby-theater-bin 
==> Making package: emby-theater-bin 3.0.12-2 (Fri 02 Oct 2020 09:33:47 AM 
PDT) 
==> Retrieving sources... 
 -> Downloading emby-theater_3.0.12_amd64.deb... 
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Cur
rent
                                Dload  Upload   Total   Spent    Left  Spe
ed
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   
100   653  100   653    0     0   1239      0 --:--:-- --:--:-- --:--:--  1
236
 0 58.7M    0 51775    0     0  43435      0  0:23:37  0:00:01  0:23:36 43
12 58.7M   12 7772k    0     0  3566k      0  0:00:16  0:00:02  0:00:14 78
26 58.7M   26 15.7M    0     0  5076k      0  0:00:11  0:00:03  0:00:08 80
38 58.7M   38 22.8M    0     0  5596k      0  0:00:10  0:00:04  0:00:06 78
49 58.7M   49 28.9M    0     0  5719k      0  0:00:10  0:00:05  0:00:05 74
60 58.7M   60 35.5M    0     0  5887k      0  0:00:10  0:00:06  0:00:04 72
71 58.7M   71 42.2M    0     0  6023k      0  0:00:09  0:00:07  0:00:02 70
83 58.7M   83 49.2M    0     0  6160k      0  0:00:09  0:00:08  0:00:01 68
95 58.7M   95 56.2M    0     0  6273k      0  0:00:09  0:00:09 --:--:-- 68
100 58.7M  100 58.7M    0     0  6280k      0  0:00:09  0:00:09 --:--:-- 69
42k
 -> Found emby-theater.install 
==> Validating source files with sha512sums... 
   emby-theater_3.0.12_amd64.deb ... FAILED
   emby-theater.install ... Passed
==> ERROR: One or more files did not pass the validity check! 
error downloading sources: emby-theater-bin 
[alienprober@TheMotrhership ~]$ 



 

Link to post
Share on other sites
2 minutes ago, MediaMogal said:

Theater will not build and install. I have tried once through pamac and then using yay in Konsole and all I get is the below. Any idea on what might be going on? Thanks

 


[alienprober@TheMotrhership ~]$ yay -S emby-theater-bin 
:: Checking for conflicts... 
:: Checking for inner conflicts... 
[Aur:1]  emby-theater-bin-3.0.12-2 

:: Downloaded PKGBUILD (1/1): emby-theater-bin 
 1 emby-theater-bin                 (Build Files Exist) 
==> Diffs to show? 
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) 
==> 4 
:: (1/1) Parsing SRCINFO: emby-theater-bin 
==> Making package: emby-theater-bin 3.0.12-2 (Fri 02 Oct 2020 09:33:47 AM 
PDT) 
==> Retrieving sources... 
 -> Downloading emby-theater_3.0.12_amd64.deb... 
 % Total    % Received % Xferd  Average Speed   Time    Time     Time  Cur
rent
                                Dload  Upload   Total   Spent    Left  Spe
ed
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   
 0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--   
100   653  100   653    0     0   1239      0 --:--:-- --:--:-- --:--:--  1
236
 0 58.7M    0 51775    0     0  43435      0  0:23:37  0:00:01  0:23:36 43
12 58.7M   12 7772k    0     0  3566k      0  0:00:16  0:00:02  0:00:14 78
26 58.7M   26 15.7M    0     0  5076k      0  0:00:11  0:00:03  0:00:08 80
38 58.7M   38 22.8M    0     0  5596k      0  0:00:10  0:00:04  0:00:06 78
49 58.7M   49 28.9M    0     0  5719k      0  0:00:10  0:00:05  0:00:05 74
60 58.7M   60 35.5M    0     0  5887k      0  0:00:10  0:00:06  0:00:04 72
71 58.7M   71 42.2M    0     0  6023k      0  0:00:09  0:00:07  0:00:02 70
83 58.7M   83 49.2M    0     0  6160k      0  0:00:09  0:00:08  0:00:01 68
95 58.7M   95 56.2M    0     0  6273k      0  0:00:09  0:00:09 --:--:-- 68
100 58.7M  100 58.7M    0     0  6280k      0  0:00:09  0:00:09 --:--:-- 69
42k
 -> Found emby-theater.install 
==> Validating source files with sha512sums... 
   emby-theater_3.0.12_amd64.deb ... FAILED
   emby-theater.install ... Passed
==> ERROR: One or more files did not pass the validity check! 
error downloading sources: emby-theater-bin 
[alienprober@TheMotrhership ~]$ 



 

Why not just use the instructions in the first post?

Link to post
Share on other sites
MediaMogal

I've looked at that post twice there are no Arch instructions, I've even went through all the post on that page.

Edited by MediaMogal
Link to post
Share on other sites
36 minutes ago, MediaMogal said:

I've looked at that post twice there are no Arch instructions, I've even went through all the post on that page.

Download the pkg build, change validity check to the new downloaded packet. 

If it sha256 then 

$sha256 enby-xxxcx.deb

Link to post
Share on other sites
37 minutes ago, MediaMogal said:

I'm not much of a command line person. Can I get some instructions? Thanks

copy manually the PKGBUILD contents and the emby-install to your home/designed directory, then do

$ makepkg -g

it will download and get result some shasums, replace the shasums in PKGBUILD with the result.

then do :

$ makepkg

To create the actual package

Edited by dedyms
easier way
Link to post
Share on other sites

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