Git Product home page Git Product logo

emby-theater-electron's Introduction

Emby Server

Emby Server is a personal media server with apps on just about every device.

It features a REST-based API with built-in documention to facilitate client development. We also have client libraries for our API to enable rapid development.

Emby Apps

New Users

If you're a new user looking to install Emby Server, please head over to emby.media

Developer Info

Api Docs

How to Build a Server Plugin

Visit our community:

http://emby.media/community

Images

Android Android Html5 iOS iOS Emby Theater Emby Theater Windows Phone Roku iOS Dashboard iOS iOS

emby-theater-electron's People

Contributors

dependabot[bot] avatar hatharry avatar heksesang avatar keysersoze1 avatar lukepulverenti avatar randomevents avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emby-theater-electron's Issues

Playback not starting on Ubuntu 21.10

Hi. I Have the same Issue as described in #91: I can't get Emby to start playing any of my movies or tv-shows. In the GUI I just see the spinner taking endless rounds. And in the Terminal I see the following:

Initializing cec-client...

{
  cecExePath: 'cec-client',
  cecEmitter: EventEmitter {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined
  },
  cecHdmiPort: 'null'
}
UDP Client listening on 0.0.0.0:44242
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 '/mnt/emby-bucket/tvshows/***'

Note: Path truncated for posting this Issue.

Playback in Web-App or Android-App works fine.

I used Commands described "Installation on Linux" Page together with emby-theater-deb_3.0.15_amd64.deb.

mpv player cannot play

May I ask whether your mpv uses https://github.com/Kagami/mpv.js/ this library, I use your mpv-arm64.node this file can not be played in my code, it shows that the plug-in cannot be loaded, please ask apt-get install libmpv1 libavformat-dev and gcc -Wl,--no-as-needed -shared -lavformat -o /path/to/libffmpeg.so these two commands are not, but I still can't run after I run

Arrow key stops working

Very often I won't be able to use the arrow key to navigate through my collection. I end up having to search for what I want or select something on the screen that doesn't require scrolling.

Filter Actors/Persons

The emby webinterface as well as the android client provide a the possibility to show movies/tvshows of a certain actor. Choosing a certain kind of media gives then the possibility to further filter the results.
The latter (further filtering with an actor chosen) is not possible in this version of emby theater. I cannot say whether the same issue exists for the windows version (have no testing system here).
I assume it has just been overlooked, as further filtering is in general implemented and working just as in the webinterface. Also, choosing media of just an actor is possible. Nevertheless, it would be nice to have both combined in emby theater electron as well.

Can’t play video on macOS

Hi, I build this app to use on macOS. everything works fine but just can’t play videos. It will only show an endless loading circle. But if I set an external player, everything works fine. Is there a way to fix this? Thanks.

How to run?

Ok so I have been looking at Electron for a while now but haven't had the time to actually play around with it yet. The apps that were made with it that I tried are awesome though so I am really curious how the emby app is. Anyway how would I run the app from this repo?
I don't see any releases yet so I guess I still have to build it. I am a dev myself so pointing me in the right direction should get me going. Oh and I would be happy to help out with testing and stuff!

Files fail to pass validity check

I have tried to install Emby Theater through Pamac an yay and always end up with the below. I'm running EndeavourOS which is a Arch based distro.

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

  1 emby-theater-bin                 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 4
:: PKGBUILD up to date, Skipping (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 04:55:42 PM PDT)
==> Retrieving sources...
  -> Found emby-theater_3.0.12_amd64.deb
  -> 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 ~]$ 

player is separate from ui

I'm using i3wm on arch linux with the latest git and when i play a file the video plays as a separate window with the ui just showing black where the video should be.

Emby Theater Snap cannot be started

Hello, I installed the snap for Emby Theater but I see no launcher available in the app grid in Ubuntu. How can I start the application?

Emby theater is installed
imagen

The app grid shows no Emby Theater launcher
imagen

I tried those commands in the console but they don't work either.
imagen

Consider using lzo compression for the snap package

Hello, I'd like to suggest that the snapcraft.yaml file includes the option to use lzo compression for the application. That way, the boot time for the application will be improved, compared to the default compression used.

Unix smb paths

Currently, the player tries to access \\192.xx.xx.xx\share\videofile on macOS, which obviously won't work there, even if it is mounted.

On Linux smb://192.xx.xx.xx/share/videofile would most likely work, and I presume it will be the same with macOS, since macOS also uses SAMBA under the hood and is Unix Like as well.

Playback broken on Fedora 32

Hello,

The playback of any file is currently broken on the latest Fedora.
To reproduce :

git clone https://github.com/MediaBrowser/emby-theater-electron.git
cd emby-theater-electron
npm install
npm start

The app itself works fine, but trying to play any file ends up with a spinning circle on top of the media's art.
Nothing is logged, appart from the app trying to access the file locally (I've tried creating the file locally, but it doesn't play either) :

emby-theater-electron on  HEAD [!] is 📦 v3.0.12 via ⬢ v12.16.3 via 🐍 v3.8.0 (romain) took 5s 
❯ npm start

> [email protected] start /tmp/emby-fix-fedo/emby-theater-electron
> electron main.js

(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
  }
}
UDP Client listening on 0.0.0.0:47149
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/tvshow/Malcolm in the Middle/Malcolm in the Middle - 3x20 - Jury Duty.avi'

Playing a file still works in branch 3.0.11, but the GUI on top of MPV is having issues (turning black when moving the mouse, etc ..)
I've also noticed that doing the following :

git checkout 3.0.11
npm install
git checkout 3.0.12
npm install

Doesn't fix the issue, but instead of a spinning wheel on top of the media art, we get an empty player GUI :
image

The same issues happens when building an AppImage (#90) , and running it on any platform.

Raspberry Pi 3, jerky playback, low FPS, sluggish interface menu

Recent update of Emby Theatre for Raspberry Pi results in playback being slow and jerky, probably 3 or 4 FPS estimate.

Also worth noting the interface is very sluggish to respond too to commands when browsing the menus, this issue appears to be a general device interface issue rather than playback specific, as everything is slow and clunky.

Image used: 2021-03-31-emby-theater-rasp.img from: https://emby.media/emby-theater-rpi.html

This Raspberry Pi 3 previously worked fine on Kodi (Libreelec & OSMC), and RasPlex. It is connected to the network by Ethernet for this Emby Theatre test.

Thanks, Scott

Application not appearing in window list/alt-tab list

I just installed the application using the amd64 deb installer file, and when I run the application, it runs fine, but doesn't show up in anything but the System Monitor. If it ends up behind another window, I have to end up individually minimizing windows until I can click back into it. Otherwise, it installed and ran just fine, and even managed to register in my launcher menu.

I tried reinstalling it, restarting my display manager, and even restarted my computer outright, to no avail. I also tested a few other electron apps, but couldn't reproduce the issue, so it's not an issue with electron apps in general.

I apologize if this seems vague, but I've never run into this issue before. Definitely a new one for me. Not even fully sure how to troubleshoot this properly.

Running Linux Mint 19 with Cinnamon 3.8.9

AppImage in Release

Hi Luke

i recently discovered with Electron builder, you can build directly an AppImage
not sure how to manage this with your package.json included in emby-theater

https://howtoelectron.app/a-complete-guide-to-packaging-your-electron-app/

look like there is no "dist" index in json file and adding it remain an error when doing npm run dist

I wonder if you can help to add AppImage format into Release ...
I built previous release from .deb x64 but 3.0.6 has only sources... and my actual AppImage build from the .deb are running into some issue (black screen when playing movies)

thanks as usual (Stephane from Qnap)

emby-theater-rpi_3.0.12.zip launches to Debian login screen

Just tried the RPI image on a Pi 3, and it just boots to the Debian 10 login screen, does not launch the electron emby theatre.

I am now stuck, as I don't know the credentials for the Debian user to log in and try to manually launch ET, or set the config up.

Thanks, Scott.

Update to electron >28 to enable native wayland support and fix NVIDIA issues.

NVIDIA has several issues with xwayland apps. The most annoying issue is the flashing window. To avoid this bug you need to run the app in native wayland using ozone-platform.

Your current electron version is unable to read the --ozone-platform so it will run always in xwayland.

Please update to electron 28 or newer and set emby-theater --ozone-platform-hint=auto as default.

Playback doesn't work on Debian 12+

Since upgrading from Debian 11.7 to Debian 12.0, I have been unable to play any files (audio/video) using the Emby Theater app. The issue persists after upgrading to Debian 12.1. While I can still use the browser to playback my files, it unfortunately doesn't work as well with my remote.

I've tested this with a fresh install of Debian 12.0 and Debian 12.1 and run into the same problems with both Mate and KDE using amd64 and the install instructions from https://emby.media/emby-theater-linux.html#deb.

The application will open and I can log into my Emby server. However, if I try to playback any files it just hangs on the loading screen indefinitely. If I run the emby-theater command from console, the output for this is:

/usr/bin/emby-theater: 10: ldconfig: not found
readlink: missing operand
Try 'readlink --help' for more information.
/usr/bin/emby-theater: 10: [: -gt: unexpected operator
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Initializing cec-client...

{
  cecExePath: 'cec-client',
  cecEmitter: EventEmitter {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined
  },
  cecHdmiPort: 'null'
}
cec-client exited with code 1
UDP Client listening on 0.0.0.0:48454
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 '\\192.168.1.10\media\Archer (2009)\S01E03 - Diversity Hire.mkv'

If I build and run Emby Theater from this github, I face the same issue with slightly different output:

> [email protected] start
> electron main.js

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Initializing cec-client...

{
  cecExePath: 'cec-client',
  cecEmitter: EventEmitter {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined,
    [Symbol(kCapture)]: false
  },
  cecHdmiPort: 'null'
}
ERROR: cec-client not installed, running without cec functionality.

cec-client exited with code -2
UDP Client listening on 0.0.0.0:52628
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 '\\192.168.1.10\media\Archer%20(2009)\S01E03%20-%20Diversity%20Hire.mkv'

Here's output from a Debian 11.7 instance that was set up in the same way:

/usr/bin/emby-theater: 10: ldconfig: not found
readlink: missing operand
Try 'readlink --help' for more information.
/usr/bin/emby-theater: 10: [: -gt: unexpected operator
Initializing cec-client...

{
  cecExePath: 'cec-client',
  cecEmitter: EventEmitter {
    _events: [Object: null prototype] {},
    _eventsCount: 0,
    _maxListeners: undefined
  },
  cecHdmiPort: 'null'
}
UDP Client listening on 0.0.0.0:57039
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 '\\192.168.1.10\media\Archer (2009)\S01E03 - Diversity Hire.mkv'

Please let me know if there is any other information you require.

Get Current Media Info.

Hi Guys,

I am looking at adding Discord Rich Presence support to emby.
I have been looking at videohandler.js and found some events that I might be able to attach discord rich presence to:
videohandler.js#L7-L35

I just want to know if there is a way to get the current playing media info?
I am looking to try and implement this myself but I just need some pointers to get the current playing media name/time-left.

Any help is greatly appreciated.

Regards,
Adam.

Package will not install on Debian

$ cat /etc/debian_version 
buster/sid


$ sudo apt install -f ./emby-theater_3.0.6_amd64.deb 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'emby-theater' instead of './emby-theater_3.0.6_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 emby-theater : Depends: libgconf2-4 but it is not installable

Running sudo apt install libgconf2 returns:

$ sudo apt install libgconf2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libgconf2-4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  gconf-gsettings-backend:i386 gconf-gsettings-backend

E: Package 'libgconf2-4' has no installation candidate

Request: Use VLC as player

Hey!

I use Emby a lot for school lessons atm. I use playback speed 1.8x most of the time.
I find that playback speed is done better with VLC then MPV.

Is it possible to choose VLC as player or not?

Thanks!

Refactor to typescript

Hello

I think this electron app could become something, but I suppose there is a few things to do.

At first, I'd strongly suggest switching to using TypeScript, since I reckon that using plain JS for a code base is simply not up to the current reality of JS development.

Also allot of the libs used are either very outdated or their repos are even archived on github.

Flatpak repository or FlatHub publication

I think it'd be a good idea to either publish this app on Flathub or create Emby Theater repository which could be added to package management tools to be able to easily install and update this app on our devices.

command-line switches: fullscreen mode and resolution

Apparently there are two program args at the moment: user-data path and path of cec-client. It would be nice to have additionally command-line switches for

  • fullscreen mode and
  • resolution.

Use-case
I start Emby with xinit on a desktopless linux on startup. The default resolution is 720x480px. It would be nice to start Emby per one-liner, rather than by editing ~/.config/Electron/windowstate.json.

Also parsing double hyphen options like

electron main.js --fullscreen

would be nice (for example with the help of the yargs package).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.