Jump to content

Emby Theater on Raspberry Pi


Luke

Recommended Posts

latinumking

ok thank you, but i have installed this on december. so i there is no update for me

I'm also interested, atm im running emby on an old notebook in order to have steady videostream, all former Android TV boxes running emby theater had playback issues. Raspi could be an alternative approach, please keep that Raspi project running.

 

Gesendet von meinem MI MAX 2 mit Tapatalk

Link to comment
Share on other sites

@@Luke any chance you can have a look at this so we can use it on the pi. MPV does not support deinterlacing I have put a feature request in mpv issues.

 

I have taken a screenshot but when you look at the screenshot it does not get shown. When you watch something the player controls autohide but the transparent overlay does not. 

 

 

Link to comment
Share on other sites

if you remove this playbackhandler "--alpha", "100" then the screen displays correctly only downside the player controls do not appear but I can live with that. 

Edited by denz
Link to comment
Share on other sites

sonicblue83

Hi,

 

will there be an easy installable version of Emby (Theater) for the Raspberry Pi? One in the way Pley and Kodi are offering.

Link to comment
Share on other sites

latinumking

It's something we'd like to do in the future, yes.

Can you give us a rough estimate on the time axis? Are we talking about weeks or months?

Your answer is highly appreciated.

Kind regards, Lati

 

Gesendet von meinem MI MAX 2 mit Tapatalk

  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
tdiguy

Well, i am guessing something has changed a good deal. I am getting errors trying to install electron.

pi@raspberrypi:~ $ sudo npm -g install electron
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'types/node' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'electron'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

npm ERR! System Linux 4.9.59-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "-g" "install" "electron"
npm ERR! cwd /home/pi
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code E404
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/npm-debug.log
npm ERR! not ok code 0

this is from the debug.log:

pi@raspberrypi:~ $ cat /home/pi/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', '-g', 'install', 'electron' ]
2 info using npm@1.4.21
3 info using node@v4.8.2
4 verbose cache add [ 'electron', null ]
5 verbose cache add name=undefined spec="electron" args=["electron",null]
6 verbose parsed url Url {
6 verbose parsed url   protocol: null,
6 verbose parsed url   slashes: null,
6 verbose parsed url   auth: null,
6 verbose parsed url   host: null,
6 verbose parsed url   port: null,
6 verbose parsed url   hostname: null,
6 verbose parsed url   hash: null,
6 verbose parsed url   search: null,
6 verbose parsed url   query: null,
6 verbose parsed url   pathname: 'electron',
6 verbose parsed url   path: 'electron',
6 verbose parsed url   href: 'electron' }
7 silly lockFile da005969-electron electron
8 verbose lock electron /root/.npm/da005969-electron.lock
9 silly lockFile da005969-electron electron
10 silly lockFile da005969-electron electron
11 verbose addNamed [ 'electron', '' ]
12 verbose addNamed [ null, '*' ]
13 silly lockFile 89f56ea2-electron electron@
14 verbose lock electron@ /root/.npm/89f56ea2-electron.lock
15 silly addNameRange { name: 'electron', range: '*', hasData: false }
16 verbose request where is /electron
17 verbose request registry https://registry.npmjs.org/
18 verbose request id ac330c95090f366d
19 verbose url raw /electron
20 verbose url resolving [ 'https://registry.npmjs.org/', './electron' ]
21 verbose url resolved https://registry.npmjs.org/electron
22 verbose request where is https://registry.npmjs.org/electron
23 info trying registry request attempt 1 at 1:01:41 PM
24 http GET https://registry.npmjs.org/electron
25 http 200 https://registry.npmjs.org/electron
26 silly registry.get cb [ 200,
26 silly registry.get   { 'content-type': 'application/json; charset=UTF-8',
26 silly registry.get     server: 'UploadServer',
26 silly registry.get     'cache-control': 'max-age=300',
26 silly registry.get     'last-modified': 'Sat, 10 Mar 2018 22:25:42 GMT',
26 silly registry.get     etag: '"5aa45b66-28126"',
26 silly registry.get     'x-npm-region': 'US-East',
26 silly registry.get     'content-encoding': 'gzip',
26 silly registry.get     'content-length': '14643',
26 silly registry.get     'accept-ranges': 'bytes',
26 silly registry.get     date: 'Tue, 13 Mar 2018 13:01:41 GMT',
26 silly registry.get     via: '1.1 varnish',
26 silly registry.get     age: '7521',
26 silly registry.get     connection: 'close',
26 silly registry.get     'x-served-by': 'cache-bos8223-BOS',
26 silly registry.get     'x-cache': 'HIT',
26 silly registry.get     'x-cache-hits': '2',
26 silly registry.get     'x-timer': 'S1520946102.819348,VS0,VE1',
26 silly registry.get     vary: 'Accept-Encoding, Accept' } ]
27 silly addNameRange number 2 { name: 'electron', range: '*', hasData: true }
28 silly addNameRange versions [ 'electron',
28 silly addNameRange   [ '0.1.0',
28 silly addNameRange     '0.1.1',
28 silly addNameRange     '0.1.2',
28 silly addNameRange     '0.2.0',
28 silly addNameRange     '0.2.1',
28 silly addNameRange     '0.3.0',
28 silly addNameRange     '0.4.0',
28 silly addNameRange     '0.4.1',
28 silly addNameRange     '1.3.1',
28 silly addNameRange     '1.3.2',
28 silly addNameRange     '1.3.3',
28 silly addNameRange     '1.3.4',
28 silly addNameRange     '1.3.5',
28 silly addNameRange     '1.3.6',
28 silly addNameRange     '1.4.0',
28 silly addNameRange     '1.4.1',
28 silly addNameRange     '1.3.7',
28 silly addNameRange     '1.4.2',
28 silly addNameRange     '1.4.3',
28 silly addNameRange     '1.4.4',
28 silly addNameRange     '1.3.8',
28 silly addNameRange     '1.4.5',
28 silly addNameRange     '1.4.6',
28 silly addNameRange     '1.4.7',
28 silly addNameRange     '1.3.9',
28 silly addNameRange     '1.3.10',
28 silly addNameRange     '1.4.8',
28 silly addNameRange     '1.3.12',
28 silly addNameRange     '1.4.10',
28 silly addNameRange     '1.3.13',
28 silly addNameRange     '1.4.11',
28 silly addNameRange     '1.4.12',
28 silly addNameRange     '1.4.13',
28 silly addNameRange     '1.4.14',
28 silly addNameRange     '1.4.15',
28 silly addNameRange     '1.5.0',
28 silly addNameRange     '1.5.1',
28 silly addNameRange     '1.6.0',
28 silly addNameRange     '1.6.1',
28 silly addNameRange     '1.6.2',
28 silly addNameRange     '1.6.3',
28 silly addNameRange     '1.3.14',
28 silly addNameRange     '1.6.4',
28 silly addNameRange     '1.6.5',
28 silly addNameRange     '1.4.16',
28 silly addNameRange     '1.6.6',
28 silly addNameRange     '1.6.7',
28 silly addNameRange     '1.3.15',
28 silly addNameRange     '1.6.8',
28 silly addNameRange     '1.6.9',
28 silly addNameRange     '1.7.0',
28 silly addNameRange     '1.6.10',
28 silly addNameRange     '1.7.1',
28 silly addNameRange     '1.6.11',
28 silly addNameRange     '1.7.2',
28 silly addNameRange     '1.7.3',
28 silly addNameRange     '1.7.4',
28 silly addNameRange     '1.7.5',
28 silly addNameRange     '1.6.12',
28 silly addNameRange     '1.7.6',
28 silly addNameRange     '1.7.7',
28 silly addNameRange     '1.6.13',
28 silly addNameRange     '1.7.8',
28 silly addNameRange     '1.6.14',
28 silly addNameRange     '1.8.1',
28 silly addNameRange     '1.7.9',
28 silly addNameRange     '1.6.15',
28 silly addNameRange     '1.8.2-beta.1',
28 silly addNameRange     '1.8.2-beta.2',
28 silly addNameRange     '1.8.2-beta.3',
28 silly addNameRange     '1.7.10',
28 silly addNameRange     '1.7.11',
28 silly addNameRange     '1.6.16',
28 silly addNameRange     '1.8.2-beta.4',
28 silly addNameRange     '1.8.2-beta.5',
28 silly addNameRange     '1.7.12',
28 silly addNameRange     '1.6.17',
28 silly addNameRange     '1.8.2',
28 silly addNameRange     '2.0.0-beta.1',
28 silly addNameRange     '2.0.0-beta.2',
28 silly addNameRange     '1.8.3',
28 silly addNameRange     '2.0.0-beta.3' ] ]
29 verbose addNamed [ 'electron', '1.8.3' ]
30 verbose addNamed [ '1.8.3', '1.8.3' ]
31 silly lockFile f2844cce-electron-1-8-3 electron@1.8.3
32 verbose lock electron@1.8.3 /root/.npm/f2844cce-electron-1-8-3.lock
33 silly lockFile 9effb0fe--org-electron-electron-1-8-3-tgz https://registry.npmjs.org/electron/-/electron-1.8.3.tgz
34 verbose lock https://registry.npmjs.org/electron/-/electron-1.8.3.tgz /root/.npm/9effb0fe--org-electron-electron-1-8-3-tgz.lock
35 verbose addRemoteTarball [ 'https://registry.npmjs.org/electron/-/electron-1.8.3.tgz',
35 verbose addRemoteTarball   '001416ea3a25ce594e317cb5531bc41eadd22f7f' ]
36 info retry fetch attempt 1 at 1:01:41 PM
37 verbose fetch to= /tmp/npm-1144-dfd-ZV0u/registry.npmjs.org/electron/-/electron-1.8.3.tgz
38 http GET https://registry.npmjs.org/electron/-/electron-1.8.3.tgz
39 http 200 https://registry.npmjs.org/electron/-/electron-1.8.3.tgz
40 silly lockFile 9effb0fe--org-electron-electron-1-8-3-tgz https://registry.npmjs.org/electron/-/electron-1.8.3.tgz
41 silly lockFile 9effb0fe--org-electron-electron-1-8-3-tgz https://registry.npmjs.org/electron/-/electron-1.8.3.tgz
42 silly lockFile f2844cce-electron-1-8-3 electron@1.8.3
43 silly lockFile f2844cce-electron-1-8-3 electron@1.8.3
44 silly lockFile 89f56ea2-electron electron@
45 silly lockFile 89f56ea2-electron electron@
46 silly resolved [ { scripts:
46 silly resolved      { 'cache-clean': 'rm -rf ~/.electron && rm -rf dist',
46 silly resolved        postinstall: 'node install.js',
46 silly resolved        pretest: 'npm run cache-clean',
46 silly resolved        test: 'standard' },
46 silly resolved     bin: { electron: 'cli.js' },
46 silly resolved     main: 'index.js',
46 silly resolved     types: 'electron.d.ts',
46 silly resolved     dependencies:
46 silly resolved      { '@types/node': '^8.0.24',
46 silly resolved        'electron-download': '^3.0.1',
46 silly resolved        'extract-zip': '^1.0.3' },
46 silly resolved     devDependencies:
46 silly resolved      { 'home-path': '^0.1.1',
46 silly resolved        'path-exists': '^2.0.0',
46 silly resolved        standard: '^5.4.1' },
46 silly resolved     directories: { test: 'test' },
46 silly resolved     name: 'electron',
46 silly resolved     version: '1.8.3',
46 silly resolved     repository:
46 silly resolved      { type: 'git',
46 silly resolved        url: 'git+https://github.com/electron/electron.git' },
46 silly resolved     description: 'Build cross platform desktop apps with JavaScript, HTML, and CSS',
46 silly resolved     license: 'MIT',
46 silly resolved     author: { name: 'Electron Community' },
46 silly resolved     keywords: [ 'electron' ],
46 silly resolved     bugs: { url: 'https://github.com/electron/electron/issues' },
46 silly resolved     homepage: 'https://github.com/electron/electron#readme',
46 silly resolved     _id: 'electron@1.8.3',
46 silly resolved     _npmVersion: '5.6.0',
46 silly resolved     _nodeVersion: '8.9.4',
46 silly resolved     _npmUser: { name: 'electron', email: 'electron@github.com' },
46 silly resolved     dist:
46 silly resolved      { integrity: 'sha512-ZZYSPB9tLh0m4uZOTcQllv/U8ts3GaMyEkBTooBr5rO+xl0WfQlecUcPuyw6aqtrZfNKsqLprorXKgsFmwcI5w==',
46 silly resolved        shasum: '001416ea3a25ce594e317cb5531bc41eadd22f7f',
46 silly resolved        tarball: 'https://registry.npmjs.org/electron/-/electron-1.8.3.tgz',
46 silly resolved        fileCount: 7,
46 silly resolved        unpackedSize: 364373 },
46 silly resolved     maintainers: [ [Object], [Object] ],
46 silly resolved     _npmOperationalInternal:
46 silly resolved      { host: 's3://npm-registry-packages',
46 silly resolved        tmp: 'tmp/electron_1.8.3_1520300765788_0.3815120863908905' },
46 silly resolved     _shasum: '001416ea3a25ce594e317cb5531bc41eadd22f7f',
46 silly resolved     _from: 'electron@',
46 silly resolved     _resolved: 'https://registry.npmjs.org/electron/-/electron-1.8.3.tgz' } ]
47 info install electron@1.8.3 into /usr/local/lib
48 info installOne electron@1.8.3
49 verbose lib/node_modules/electron unbuild
50 verbose tar unpack /root/.npm/electron/1.8.3/package.tgz
51 silly lockFile 7046374e--local-lib-node-modules-electron tar:///usr/local/lib/node_modules/electron
52 verbose lock tar:///usr/local/lib/node_modules/electron /root/.npm/7046374e--local-lib-node-modules-electron.lock
53 silly lockFile 59e42d18-t-npm-electron-1-8-3-package-tgz tar:///root/.npm/electron/1.8.3/package.tgz
54 verbose lock tar:///root/.npm/electron/1.8.3/package.tgz /root/.npm/59e42d18-t-npm-electron-1-8-3-package-tgz.lock
55 silly gunzTarPerm modes [ '755', '644' ]
56 silly gunzTarPerm extractEntry package.json
57 silly gunzTarPerm extractEntry cli.js
58 silly gunzTarPerm extractEntry electron.d.ts
59 silly gunzTarPerm extractEntry index.js
60 silly gunzTarPerm extractEntry install.js
61 silly gunzTarPerm extractEntry LICENSE
62 silly gunzTarPerm extractEntry README.md
63 silly lockFile 7046374e--local-lib-node-modules-electron tar:///usr/local/lib/node_modules/electron
64 silly lockFile 7046374e--local-lib-node-modules-electron tar:///usr/local/lib/node_modules/electron
65 silly lockFile 59e42d18-t-npm-electron-1-8-3-package-tgz tar:///root/.npm/electron/1.8.3/package.tgz
66 silly lockFile 59e42d18-t-npm-electron-1-8-3-package-tgz tar:///root/.npm/electron/1.8.3/package.tgz
67 info preinstall electron@1.8.3
68 verbose readDependencies using package.json deps
69 verbose readDependencies using package.json deps
70 verbose cache add [ '@types/node@^8.0.24', null ]
71 verbose cache add name=undefined spec="@types/node@^8.0.24" args=["@types/node@^8.0.24",null]
72 verbose parsed url Url {
72 verbose parsed url   protocol: null,
72 verbose parsed url   slashes: null,
72 verbose parsed url   auth: null,
72 verbose parsed url   host: null,
72 verbose parsed url   port: null,
72 verbose parsed url   hostname: null,
72 verbose parsed url   hash: null,
72 verbose parsed url   search: null,
72 verbose parsed url   query: null,
72 verbose parsed url   pathname: '@types/node@%5E8.0.24',
72 verbose parsed url   path: '@types/node@%5E8.0.24',
72 verbose parsed url   href: '@types/node@%5E8.0.24' }
73 verbose cache add [ 'electron-download@^3.0.1', null ]
74 verbose cache add name=undefined spec="electron-download@^3.0.1" args=["electron-download@^3.0.1",null]
75 verbose parsed url Url {
75 verbose parsed url   protocol: null,
75 verbose parsed url   slashes: null,
75 verbose parsed url   auth: null,
75 verbose parsed url   host: null,
75 verbose parsed url   port: null,
75 verbose parsed url   hostname: null,
75 verbose parsed url   hash: null,
75 verbose parsed url   search: null,
75 verbose parsed url   query: null,
75 verbose parsed url   pathname: 'electron-download@%5E3.0.1',
75 verbose parsed url   path: 'electron-download@%5E3.0.1',
75 verbose parsed url   href: 'electron-download@%5E3.0.1' }
76 verbose cache add [ 'extract-zip@^1.0.3', null ]
77 verbose cache add name=undefined spec="extract-zip@^1.0.3" args=["extract-zip@^1.0.3",null]
78 verbose parsed url Url {
78 verbose parsed url   protocol: null,
78 verbose parsed url   slashes: null,
78 verbose parsed url   auth: null,
78 verbose parsed url   host: null,
78 verbose parsed url   port: null,
78 verbose parsed url   hostname: null,
78 verbose parsed url   hash: null,
78 verbose parsed url   search: null,
78 verbose parsed url   query: null,
78 verbose parsed url   pathname: 'extract-zip@%5E1.0.3',
78 verbose parsed url   path: 'extract-zip@%5E1.0.3',
78 verbose parsed url   href: 'extract-zip@%5E1.0.3' }
79 verbose cache add name="" spec="types/node@^8.0.24" args=["","types/node@^8.0.24"]
80 verbose parsed url Url {
80 verbose parsed url   protocol: null,
80 verbose parsed url   slashes: null,
80 verbose parsed url   auth: null,
80 verbose parsed url   host: null,
80 verbose parsed url   port: null,
80 verbose parsed url   hostname: null,
80 verbose parsed url   hash: null,
80 verbose parsed url   search: null,
80 verbose parsed url   query: null,
80 verbose parsed url   pathname: 'types/node@%5E8.0.24',
80 verbose parsed url   path: 'types/node@%5E8.0.24',
80 verbose parsed url   href: 'types/node@%5E8.0.24' }
81 verbose cache add name="electron-download" spec="^3.0.1" args=["electron-download","^3.0.1"]
82 verbose parsed url Url {
82 verbose parsed url   protocol: null,
82 verbose parsed url   slashes: null,
82 verbose parsed url   auth: null,
82 verbose parsed url   host: null,
82 verbose parsed url   port: null,
82 verbose parsed url   hostname: null,
82 verbose parsed url   hash: null,
82 verbose parsed url   search: null,
82 verbose parsed url   query: null,
82 verbose parsed url   pathname: '%5E3.0.1',
82 verbose parsed url   path: '%5E3.0.1',
82 verbose parsed url   href: '%5E3.0.1' }
83 verbose addNamed [ 'electron-download', '^3.0.1' ]
84 verbose addNamed [ null, '>=3.0.1 <4.0.0' ]
85 silly lockFile 8d1cab67-electron-download-3-0-1 electron-download@^3.0.1
86 verbose lock electron-download@^3.0.1 /root/.npm/8d1cab67-electron-download-3-0-1.lock
87 verbose cache add name="extract-zip" spec="^1.0.3" args=["extract-zip","^1.0.3"]
88 verbose parsed url Url {
88 verbose parsed url   protocol: null,
88 verbose parsed url   slashes: null,
88 verbose parsed url   auth: null,
88 verbose parsed url   host: null,
88 verbose parsed url   port: null,
88 verbose parsed url   hostname: null,
88 verbose parsed url   hash: null,
88 verbose parsed url   search: null,
88 verbose parsed url   query: null,
88 verbose parsed url   pathname: '%5E1.0.3',
88 verbose parsed url   path: '%5E1.0.3',
88 verbose parsed url   href: '%5E1.0.3' }
89 verbose addNamed [ 'extract-zip', '^1.0.3' ]
90 verbose addNamed [ null, '>=1.0.3 <2.0.0' ]
91 silly lockFile 9879f4ae-extract-zip-1-0-3 extract-zip@^1.0.3
92 verbose lock extract-zip@^1.0.3 /root/.npm/9879f4ae-extract-zip-1-0-3.lock
93 verbose cache add name="types/node" spec="^8.0.24" args=["types/node","^8.0.24"]
94 verbose parsed url Url {
94 verbose parsed url   protocol: null,
94 verbose parsed url   slashes: null,
94 verbose parsed url   auth: null,
94 verbose parsed url   host: null,
94 verbose parsed url   port: null,
94 verbose parsed url   hostname: null,
94 verbose parsed url   hash: null,
94 verbose parsed url   search: null,
94 verbose parsed url   query: null,
94 verbose parsed url   pathname: '%5E8.0.24',
94 verbose parsed url   path: '%5E8.0.24',
94 verbose parsed url   href: '%5E8.0.24' }
95 verbose addNamed [ 'types/node', '^8.0.24' ]
96 verbose addNamed [ null, '>=8.0.24 <9.0.0' ]
97 silly lockFile f348eb0d-types-node-8-0-24 types/node@^8.0.24
98 verbose lock types/node@^8.0.24 /root/.npm/f348eb0d-types-node-8-0-24.lock
99 silly addNameRange { name: 'electron-download',
99 silly addNameRange   range: '>=3.0.1 <4.0.0',
99 silly addNameRange   hasData: false }
100 silly addNameRange { name: 'extract-zip', range: '>=1.0.3 <2.0.0', hasData: false }
101 verbose request where is /electron-download
102 verbose request registry https://registry.npmjs.org/
103 verbose url raw /electron-download
104 verbose url resolving [ 'https://registry.npmjs.org/', './electron-download' ]
105 verbose url resolved https://registry.npmjs.org/electron-download
106 verbose request where is https://registry.npmjs.org/electron-download
107 info trying registry request attempt 1 at 1:01:42 PM
108 http GET https://registry.npmjs.org/electron-download
109 silly addNameRange { name: 'types/node', range: '>=8.0.24 <9.0.0', hasData: false }
110 verbose request where is /extract-zip
111 verbose request registry https://registry.npmjs.org/
112 verbose url raw /extract-zip
113 verbose url resolving [ 'https://registry.npmjs.org/', './extract-zip' ]
114 verbose url resolved https://registry.npmjs.org/extract-zip
115 verbose request where is https://registry.npmjs.org/extract-zip
116 info trying registry request attempt 1 at 1:01:42 PM
117 http GET https://registry.npmjs.org/extract-zip
118 verbose request where is /types/node
119 verbose request registry https://registry.npmjs.org/
120 verbose url raw /types/node
121 verbose url resolving [ 'https://registry.npmjs.org/', './types/node' ]
122 verbose url resolved https://registry.npmjs.org/types/node
123 verbose request where is https://registry.npmjs.org/types/node
124 info trying registry request attempt 1 at 1:01:42 PM
125 http GET https://registry.npmjs.org/types/node
126 http 200 https://registry.npmjs.org/extract-zip
127 silly registry.get cb [ 200,
127 silly registry.get   { 'content-type': 'application/json; charset=UTF-8',
127 silly registry.get     server: 'UploadServer',
127 silly registry.get     'cache-control': 'max-age=300',
127 silly registry.get     'last-modified': 'Tue, 16 Jan 2018 17:55:43 GMT',
127 silly registry.get     etag: '"5a5e3c9f-6938"',
127 silly registry.get     'x-npm-region': 'US-East',
127 silly registry.get     'content-encoding': 'gzip',
127 silly registry.get     'content-length': '3775',
127 silly registry.get     'accept-ranges': 'bytes',
127 silly registry.get     date: 'Tue, 13 Mar 2018 13:01:42 GMT',
127 silly registry.get     via: '1.1 varnish',
127 silly registry.get     age: '5214',
127 silly registry.get     connection: 'close',
127 silly registry.get     'x-served-by': 'cache-bos8230-BOS',
127 silly registry.get     'x-cache': 'HIT',
127 silly registry.get     'x-cache-hits': '1',
127 silly registry.get     'x-timer': 'S1520946103.671870,VS0,VE1',
127 silly registry.get     vary: 'Accept-Encoding, Accept' } ]
128 http 200 https://registry.npmjs.org/electron-download
129 silly registry.get cb [ 200,
129 silly registry.get   { 'content-type': 'application/json; charset=UTF-8',
129 silly registry.get     server: 'UploadServer',
129 silly registry.get     'cache-control': 'max-age=300',
129 silly registry.get     'last-modified': 'Tue, 27 Feb 2018 23:12:56 GMT',
129 silly registry.get     etag: '"5a95e5f8-c0fb"',
129 silly registry.get     'x-npm-region': 'US-East',
129 silly registry.get     'content-encoding': 'gzip',
129 silly registry.get     'content-length': '6301',
129 silly registry.get     'accept-ranges': 'bytes',
129 silly registry.get     date: 'Tue, 13 Mar 2018 13:01:42 GMT',
129 silly registry.get     via: '1.1 varnish',
129 silly registry.get     age: '7479',
129 silly registry.get     connection: 'close',
129 silly registry.get     'x-served-by': 'cache-bos8233-BOS',
129 silly registry.get     'x-cache': 'HIT',
129 silly registry.get     'x-cache-hits': '1',
129 silly registry.get     'x-timer': 'S1520946103.665601,VS0,VE1',
129 silly registry.get     vary: 'Accept-Encoding, Accept' } ]
130 silly addNameRange number 2 { name: 'extract-zip', range: '>=1.0.3 <2.0.0', hasData: true }
131 silly addNameRange versions [ 'extract-zip',
131 silly addNameRange   [ '1.0.0',
131 silly addNameRange     '1.0.1',
131 silly addNameRange     '1.0.2',
131 silly addNameRange     '1.0.3',
131 silly addNameRange     '1.1.0',
131 silly addNameRange     '1.1.1',
131 silly addNameRange     '1.1.2',
131 silly addNameRange     '1.2.0',
131 silly addNameRange     '1.3.0',
131 silly addNameRange     '1.4.0',
131 silly addNameRange     '1.4.1',
131 silly addNameRange     '1.5.0',
131 silly addNameRange     '1.6.0',
131 silly addNameRange     '1.6.1',
131 silly addNameRange     '1.6.2',
131 silly addNameRange     '1.6.3',
131 silly addNameRange     '1.6.4',
131 silly addNameRange     '1.6.5',
131 silly addNameRange     '1.6.6' ] ]
132 verbose addNamed [ 'extract-zip', '1.6.6' ]
133 verbose addNamed [ '1.6.6', '1.6.6' ]
134 silly lockFile 93baf6d1-extract-zip-1-6-6 extract-zip@1.6.6
135 verbose lock extract-zip@1.6.6 /root/.npm/93baf6d1-extract-zip-1-6-6.lock
136 silly addNameRange number 2 { name: 'electron-download',
136 silly addNameRange   range: '>=3.0.1 <4.0.0',
136 silly addNameRange   hasData: true }
137 silly addNameRange versions [ 'electron-download',
137 silly addNameRange   [ '1.0.0',
137 silly addNameRange     '1.0.1',
137 silly addNameRange     '1.0.2',
137 silly addNameRange     '1.0.3',
137 silly addNameRange     '1.0.4',
137 silly addNameRange     '1.0.5',
137 silly addNameRange     '1.0.6',
137 silly addNameRange     '1.0.7',
137 silly addNameRange     '1.0.8',
137 silly addNameRange     '1.1.0',
137 silly addNameRange     '1.2.0',
137 silly addNameRange     '1.3.0',
137 silly addNameRange     '1.4.0',
137 silly addNameRange     '1.4.1',
137 silly addNameRange     '2.0.0',
137 silly addNameRange     '2.1.0',
137 silly addNameRange     '2.1.1',
137 silly addNameRange     '2.1.2',
137 silly addNameRange     '2.2.0',
137 silly addNameRange     '2.2.1',
137 silly addNameRange     '3.0.0',
137 silly addNameRange     '3.0.1',
137 silly addNameRange     '3.0.2',
137 silly addNameRange     '3.1.0',
137 silly addNameRange     '3.2.0',
137 silly addNameRange     '3.3.0',
137 silly addNameRange     '4.0.0',
137 silly addNameRange     '4.1.0' ] ]
138 verbose addNamed [ 'electron-download', '3.3.0' ]
139 verbose addNamed [ '3.3.0', '3.3.0' ]
140 silly lockFile 176a5c80-electron-download-3-3-0 electron-download@3.3.0
141 verbose lock electron-download@3.3.0 /root/.npm/176a5c80-electron-download-3-3-0.lock
142 silly lockFile 4d1fa3ea-xtract-zip-extract-zip-1-6-6-tgz https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz
143 verbose lock https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz /root/.npm/4d1fa3ea-xtract-zip-extract-zip-1-6-6-tgz.lock
144 verbose addRemoteTarball [ 'https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz',
144 verbose addRemoteTarball   '1290ede8d20d0872b429fd3f351ca128ec5ef85c' ]
145 silly lockFile cbafc6af-load-electron-download-3-3-0-tgz https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz
146 verbose lock https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz /root/.npm/cbafc6af-load-electron-download-3-3-0-tgz.lock
147 verbose addRemoteTarball [ 'https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz',
147 verbose addRemoteTarball   '2cfd54d6966c019c4d49ad65fbe65cc9cdef68c8' ]
148 info retry fetch attempt 1 at 1:01:42 PM
149 verbose fetch to= /tmp/npm-1144-dfd-ZV0u/registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz
150 info retry fetch attempt 1 at 1:01:42 PM
151 verbose fetch to= /tmp/npm-1144-dfd-ZV0u/registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz
152 http GET https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz
153 http GET https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz
154 http 200 https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz
155 silly lockFile cbafc6af-load-electron-download-3-3-0-tgz https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz
156 silly lockFile cbafc6af-load-electron-download-3-3-0-tgz https://registry.npmjs.org/electron-download/-/electron-download-3.3.0.tgz
157 silly lockFile 176a5c80-electron-download-3-3-0 electron-download@3.3.0
158 silly lockFile 176a5c80-electron-download-3-3-0 electron-download@3.3.0
159 silly lockFile 8d1cab67-electron-download-3-0-1 electron-download@^3.0.1
160 silly lockFile 8d1cab67-electron-download-3-0-1 electron-download@^3.0.1
161 http 404 https://registry.npmjs.org/types/node
162 silly registry.get cb [ 404,
162 silly registry.get   { 'content-type': 'application/json',
162 silly registry.get     'cache-control': 'max-age=0',
162 silly registry.get     'content-length': '2',
162 silly registry.get     'accept-ranges': 'bytes',
162 silly registry.get     date: 'Tue, 13 Mar 2018 13:01:42 GMT',
162 silly registry.get     via: '1.1 varnish',
162 silly registry.get     age: '0',
162 silly registry.get     connection: 'close',
162 silly registry.get     'x-served-by': 'cache-bos8234-BOS',
162 silly registry.get     'x-cache': 'MISS',
162 silly registry.get     'x-cache-hits': '0',
162 silly registry.get     'x-timer': 'S1520946103.700079,VS0,VE123',
162 silly registry.get     vary: 'Accept-Encoding' } ]
163 http 200 https://registry.npmjs.org/extract-zip/-/extract-zip-1.6.6.tgz
164 silly lockFile f348eb0d-types-node-8-0-24 types/node@^8.0.24
165 silly lockFile f348eb0d-types-node-8-0-24 types/node@^8.0.24
166 verbose about to build /usr/local/lib/node_modules/electron
167 verbose lib/node_modules/electron unbuild
168 info preuninstall electron@1.8.3
169 info uninstall electron@1.8.3
170 verbose true,/usr/local/lib/node_modules,/usr/local/lib/node_modules unbuild electron@1.8.3
171 verbose /usr/local/bin,[object Object] binRoot
172 info postuninstall electron@1.8.3
173 error 404 Not Found
173 error 404
173 error 404 'types/node' is not in the npm registry.
173 error 404 You should bug the author to publish it
173 error 404 It was specified as a dependency of 'electron'
173 error 404
173 error 404 Note that you can also install from a
173 error 404 tarball, folder, or http url, or git url.
174 error System Linux 4.9.59-v7+
175 error command "/usr/bin/nodejs" "/usr/bin/npm" "-g" "install" "electron"
176 error cwd /home/pi
177 error node -v v4.8.2
178 error npm -v 1.4.21
179 error code E404
180 verbose exit [ 1, true ]

Link to comment
Share on other sites

tdiguy

I was able to find this: 

https://blog.marekkraus.sk/linux/how-to-make-electron-run-on-raspberry-pi/ 

Following that i had no errors.

I cant confirm right now because i dont have the pi connected to a tv and i am at work but i think its running:

 

pi@raspberrypi:~/emby-theater-pi $ ps -aux | grep electron
pi        5444  0.0  0.0   4376   536 pts/0    S+   13:20   0:00 grep --color=auto electron

 

If I can get either a nice simple remote like the mi box bluetooth remote to work well with this I think it will make a really nice low cost emby device. Pretty sure i have seen info online on how to use a bluetooth remote with the pi. 

Link to comment
Share on other sites

  • 3 weeks later...
darkassassin07

This has become a fairly long thread with several different sets of install instructions, not all of which work completely.

 

I figured id post what I have done to setup my rpi today, maybe someone will find it useful.

 

First things first, Install Raspbian

 

Once you have booted into Raspbian on your RPI open a Terminal and enter the following:

sudo apt-get update 
sudo apt-get dist-upgrade
sudo apt-get update

sudo apt-get install npm
sudo npm -g install electron@1.4.16
cd ~
git clone https://github.com/MediaBrowser/emby-theater-pi.git
To start Emby Theater, you can open terminal and run:

cd emby-theater-pi
electron .
Or you can navigate to /emby-theater-pi/ and run 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
As a work-around to the issue with dark video:

 

If you edit /emby-theater-pi/playbackhandler/playbackhandler.js

 

And change "var args = ["--alpha", "80"];" the value is a number between 0 and 254.

0 being completely black, and 254 the controls aren't visible over the video.

I find 200 to be pretty good.

 

I actually find this to be a handy feature. The tv I'm using is far too bright in a dim room.

 

 

 

 

Edit:

If you need audio to play from the analog output instead of only the hdmi, open the file 'playbackhandler.js' and directly after:

var args = ["--alpha", "180"];

 

 

Add the lines:

args.push("--adev");

args.push("both");

Edited by darkassassin07
  • Like 3
Link to comment
Share on other sites

darkassassin07

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

 

 

Because of the lack of audio via analog out, im using the web app atm via chromium.

To auto start that add this to the file instead:

@chromium-browser --start-fullscreen http://<your server url here>
Edited by darkassassin07
Link to comment
Share on other sites

tdiguy

I finally got a chance to test this but something must be off. After i type electron . cec-client or electron . i get a black screen and the only thing that shows up is the mouse cursor. I let it sit like this for 2 minutes before i figured nothing was going to happen.

Are there logs or something i can look at?

Link to comment
Share on other sites

cybergrimes

I just installed Raspian (Stretch w/Desktop) on a Pi3 I had laying around, ran the update commands but keep getting 'unable to locate package' when trying to install npm

 

never mind, ran sudo apt-get update again and it's installing npm now

Edited by cybergrimes
Link to comment
Share on other sites

darkassassin07

Added a second update line to my instructions.

I think I had ended up doing that twice as well.

Link to comment
Share on other sites

Up and running!

No grid guide for live TV?

 

Are you not able to locate it?

Link to comment
Share on other sites

cybergrimes

No, I tried changing the display from desktop / TV & horizontal/vertical.

I didn't see any change between horizontal/vertical, maybe I'll try restarting the app to see if that helps the layout update

Link to comment
Share on other sites

tdiguy

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

 

 

Because of the lack of audio via analog out, im using the web app atm via chromium.

To auto start that add this to the file instead:

@chromium-browser --start-fullscreen http://<your server url here>

Not sure if this is normal or not but for me to install electron without errors i had to use: sudo npm -g install electron@1.4.16 --unsafe-perm=true --allow-root

I am re-running my install since i cant figure out why running ET just gives me a black screen.

Ran out of time to test it tonight but now everything installed without errors.

Link to comment
Share on other sites

darkassassin07

That's odd, using the instructions above I had no errors during installation, and haven't had any issues with a black screen.

Link to comment
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...