Kristian Vos a4b6ce05e3 Save window geometry even when maximized, undo restoring window geometry from last screen to fix bug on Hyprland | il y a 1 an | |
---|---|---|
.github | il y a 1 an | |
.vscode | il y a 1 an | |
CMakeModules | il y a 1 an | |
bundle | il y a 2 ans | |
debian | il y a 1 an | |
deployment | il y a 1 an | |
external | il y a 1 an | |
native | il y a 1 an | |
resources | il y a 1 an | |
scripts | il y a 3 ans | |
src | il y a 1 an | |
.clang-format | il y a 9 ans | |
.clang-tidy | il y a 8 ans | |
.gitignore | il y a 3 ans | |
CMakeLists.txt | il y a 1 an | |
LICENSE | il y a 9 ans | |
README.md | il y a 1 an | |
client-api.md | il y a 3 ans | |
debian-webclient-rules | il y a 1 an | |
download_webclient.sh | il y a 1 an | |
for-web-developers.md | il y a 1 an |
Desktop client using jellyfin-web with embedded MPV player. Supports Windows, Mac OS, and Linux. Media plays within the same window using the jellyfin-web interface unlike Jellyfin Desktop. Supports audio passthrough. Based on Plex Media Player.
Downloads:
Related Documents:
To download the latest stable release, get the lattest version tag from the latest releases page and append the following to your pull command during the build phase for JMP "--branch $VERSIONTAG --single-branch"
Example:
git clone https://github.com/jellyfin/jellyfin-media-player.git --branch v1.9.1 --single-branch
Install dependancies:
sudo apt install build-essential autoconf automake libtool libharfbuzz-dev libfreetype6-dev libfontconfig1-dev libx11-dev libxrandr-dev libvdpau-dev libva-dev mesa-common-dev libegl1-mesa-dev yasm libasound2-dev libpulse-dev libuchardet-dev zlib1g-dev libfribidi-dev git libgnutls28-dev libgl1-mesa-dev libsdl2-dev cmake wget python g++ qtwebengine5-dev qtquickcontrols2-5-dev libqt5x11extras5-dev libcec-dev qml-module-qtquick-controls qml-module-qtwebengine qml-module-qtwebchannel qtbase5-private-dev curl unzip
Build commands for Ubuntu:
mkdir ~/jmp; cd ~/jmp
git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
echo -Dlibmpv=true > mpv_options
echo -Dpipewire=disabled >> mpv_options # hopefully temporary
./rebuild -j4
sudo ./install
sudo ln -s /usr/local/lib/x86_64-linux-gnu/libmpv.so /usr/local/lib/x86_64-linux-gnu/libmpv.so.1
sudo ln -sf /usr/local/lib/x86_64-linux-gnu/libmpv.so /usr/local/lib/libmpv.so.2
sudo ldconfig
cd ~/jmp/
git clone https://github.com/jellyfin/jellyfin-media-player.git
cd jellyfin-media-player
./download_webclient.sh
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local/ ..
make -j4
sudo make install
rm -rf ~/jmp/
Install dependancies:
sudo dnf install autoconf automake libtool freetype-devel libXrandr-devel libvdpau-devel libva-devel mesa-libGL-devel libdrm-devel libX11-devel mesa-libEGL-devel yasm alsa-lib pulseaudio-libs-devel zlib-devel fribidi-devel git gnutls-devel mesa-libGLU-devel SDL2-devel cmake wget python g++ qt-devel libcec-devel qt5-qtbase-devel curl unzip qt5-qtwebchannel-devel qt5-qtwebengine-devel qt5-qtx11extras-devel mpv.x86_64 qwt-qt5-devel.x86_64 qt5-qtbase.x86_64 meson.noarch ninja-build.x86_64 qt5-qtbase-private-devel mpv-libs.x86_64
Build commands for Fedora:
Note, the only real differences here is that libraries are in diffrent directories on Fedora systems.
mkdir ~/jmp; cd ~/jmp
git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build/
echo -Dlibmpv=true > mpv_options
echo -Dpipewire=disabled >> mpv_options # hopefully temporary
./rebuild -j4
sudo ./install
sudo mkdir /usr/local/lib/x86_64-linux-gnu
sudo ln -s /usr/local/lib64/libmpv.so /usr/local/lib/x86_64-linux-gnu/libmpv.so.1
sudo ln -s /usr/local/lib64/libmpv.so /usr/local/lib/x86_64-linux-gnu/libmpv.so
sudo ldconfig
cd ~/jmp/
git clone https://github.com/jellyfin/jellyfin-media-player.git
cd jellyfin-media-player/
./download_webclient.sh
cd build/
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local/ ..
make -j4
sudo make install
Please install:
mpv
.include
folder to an mpv
folder inside the include
folder.mpv-1.dll
to mpv.dll
.You need to run these commands in git bash.
git clone https://github.com/jellyfin/jellyfin-media-player
cd jellyfin-media-player
./download_webclient.sh
cd build
Open the "x86_x64 Cross Tools Command Prompt for VS 2019". cd
to the build
directory. Run:
set PATH=%PATH%;C:\Program Files (x86)\WiX Toolset v3.11\bin
cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=output -DCMAKE_MAKE_PROGRAM=ninja.exe -DQTROOT=C:/Qt/5.15.2/msvc2019_64 -DMPV_INCLUDE_DIR=mpv/include -DMPV_LIBRARY=mpv/mpv.dll -DCMAKE_INSTALL_PREFIX=output ..
lib /def:mpv\mpv.def /out:mpv\mpv.dll.lib /MACHINE:X64
ninja
ninja windows_package
Install QT 5.15.2, remember to check Qt WebEngine
.
Then run the following commands (replace with your QT installation location):
brew install mpv ninja
./download_webclient.sh
cd build
cmake -GNinja -DQTROOT=<QT_DIR> -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=output ..
ninja install
To create redistributable bundle, some library paths need to be fixed. At the project root directory, run:
python3 ./scripts/fix-install-names.py ./build/output/Jellyfin\ Media\ Player.app
%LOCALAPPDATA%\JellyfinMediaPlayer\logs
~/.local/share/jellyfinmediaplayer/logs/
~/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/logs/
~/Library/Logs/Jellyfin Media Player/
The main configuration file is called jellyfinmediaplayer.conf
. You can also add a mpv.conf
to configure MPV directly.
%LOCALAPPDATA%\JellyfinMediaPlayer\
~/.local/share/jellyfinmediaplayer/
~/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/
~/Library/Application Support/Jellyfin Media Player/
To get browser devtools, use remote debugging.
--remote-debugging-port=9222
.chrome://inspect/#devices
.If you have problems:
localhost:9222
is in the list under "Configure...".--remote-debugging-port=9222
is specified correctly.Jellyfin Media Player is licensed under GPL v2. See the LICENSE
file.
Licenses of dependencies are summarized under resources/misc/licenses.txt
.
This file can also be printed at runtime when using the --licenses
option.
You can enable experimental support for Jellyscrub and Skip Intro in client settings. These are included for convenience only and is not an endorsement or long-term commitment to ensure functionality. See src/native
for details on what the plugins modify code-wise.
If you build MPV from source, you currently need to disable pipewire or else the client will segfault.