2021-04-04 06:48:27 +00:00
|
|
|
# Jellyfin Media Player
|
|
|
|
|
2021-04-14 02:15:47 +00:00
|
|
|
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](https://github.com/plexinc/plex-media-player).
|
2021-04-04 06:48:27 +00:00
|
|
|
|
2021-04-14 02:15:47 +00:00
|
|
|
![Screenshot of Jellyfin Media Player](https://raw.githubusercontent.com/iwalton3/mpv-shim-misc-docs/master/images/jmp-player-win.png)
|
|
|
|
|
|
|
|
Downloads:
|
|
|
|
- [Windows, Mac, and Linux Releases](https://github.com/jellyfin/jellyfin-media-player/releases)
|
|
|
|
- [Flathub (Linux)](https://flathub.org/apps/details/com.github.iwalton3.jellyfin-media-player)
|
|
|
|
|
|
|
|
Related Documents:
|
2021-04-04 06:48:27 +00:00
|
|
|
- Corresponding web client: [Repo](https://github.com/iwalton3/jellyfin-web-jmp/) [Release](https://github.com/iwalton3/jellyfin-web-jmp/releases/)
|
2021-04-04 06:55:42 +00:00
|
|
|
- API Docs in [client-api.md](https://github.com/iwalton3/jellyfin-media-player/blob/master/client-api.md)
|
2021-04-21 02:09:47 +00:00
|
|
|
- Tip: For help building, look at the GitHub Actions file!
|
2021-04-04 06:48:27 +00:00
|
|
|
|
|
|
|
## Building at a glance (Linux)
|
|
|
|
|
|
|
|
```bash
|
2021-04-15 21:51:56 +00:00
|
|
|
sudo apt install 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
|
2021-04-04 06:48:27 +00:00
|
|
|
mkdir jmp; cd jmp
|
|
|
|
git clone https://github.com/mpv-player/mpv-build.git
|
|
|
|
cd mpv-build
|
|
|
|
echo --enable-libmpv-shared > mpv_options
|
|
|
|
echo --disable-cplayer >> mpv_options
|
|
|
|
./rebuild -j4
|
|
|
|
sudo ./install
|
|
|
|
sudo ldconfig
|
|
|
|
cd ~/jmp/
|
2021-04-04 06:55:42 +00:00
|
|
|
git clone git://github.com/iwalton3/jellyfin-media-player
|
2021-04-04 08:24:04 +00:00
|
|
|
cd jellyfin-media-player
|
2021-04-04 06:48:27 +00:00
|
|
|
mkdir build
|
|
|
|
cd build
|
2021-04-20 04:33:42 +00:00
|
|
|
wget https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-1.7.2-2/dist.zip
|
2021-04-04 06:48:27 +00:00
|
|
|
unzip dist.zip
|
2021-04-06 03:24:39 +00:00
|
|
|
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr/local/ ..
|
2021-04-04 06:48:27 +00:00
|
|
|
make -j4
|
|
|
|
sudo make install
|
|
|
|
rm -rf ~/jmp/
|
|
|
|
```
|
|
|
|
|
2021-04-04 18:53:45 +00:00
|
|
|
## Building for Windows
|
|
|
|
|
|
|
|
Please install:
|
|
|
|
- [cmake](https://cmake.org/download/) - cmake-3.20.0-windows-x86_64.msi
|
|
|
|
- Add cmake to the path.
|
|
|
|
- [ninja](https://github.com/ninja-build/ninja/releases)
|
|
|
|
- Place this in the build directory.
|
2021-04-08 21:17:15 +00:00
|
|
|
- [QT](https://www.qt.io/download-thank-you?hsLang=en)
|
|
|
|
- This package is huge. You also need to make a QT account...
|
|
|
|
- Check "MSVC 2019 64-bit" and "Qt WebEngine" under QT 5.15.2.
|
|
|
|
- [VS2019 Build Tools](https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019)
|
2021-04-04 18:53:45 +00:00
|
|
|
- Again this will use a lot of disk space. The installer is small though.
|
|
|
|
- [libmpv1](https://sourceforge.net/projects/mpv-player-windows/files/libmpv/)
|
|
|
|
- Place the contents in the build directory, in a subfolder called `mpv`.
|
|
|
|
- Move the contents of the `include` folder to an `mpv` folder inside the `include` folder.
|
|
|
|
- Move the `mpv-1.dll` to `mpv.dll`.
|
2021-04-04 19:54:50 +00:00
|
|
|
- [WIX](https://wixtoolset.org/releases/v3.11.2/stable)
|
2021-04-04 18:53:45 +00:00
|
|
|
|
|
|
|
You need to run these commands in git bash.
|
|
|
|
|
|
|
|
```bash
|
|
|
|
git clone https://github.com/iwalton3/jellyfin-media-player
|
|
|
|
cd jellyfin-media-player
|
|
|
|
mkdir build && cd build
|
2021-04-20 04:33:42 +00:00
|
|
|
curl -L https://github.com/iwalton3/jellyfin-web-jmp/releases/download/jwc-10.7.2-2/dist.zip > dist.zip
|
2021-04-04 18:53:45 +00:00
|
|
|
unzip dist.zip
|
|
|
|
```
|
|
|
|
|
2021-04-08 21:17:15 +00:00
|
|
|
Open the "x86_x64 Cross Tools Command Prompt for VS 2019". `cd` to the `build` directory. Run:
|
2021-04-04 18:53:45 +00:00
|
|
|
|
|
|
|
```
|
2021-04-04 19:54:50 +00:00
|
|
|
set PATH=%PATH%;C:\Program Files (x86)\WiX Toolset v3.11\bin
|
2021-04-08 21:17:15 +00:00
|
|
|
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 ..
|
2021-04-04 19:54:50 +00:00
|
|
|
lib /def:mpv\mpv.def /out:mpv\mpv.dll.lib /MACHINE:X64
|
2021-04-04 18:53:45 +00:00
|
|
|
ninja
|
|
|
|
ninja windows_package
|
|
|
|
```
|
|
|
|
|
2021-04-21 21:11:05 +00:00
|
|
|
## Log File Location
|
|
|
|
|
|
|
|
- Windows: `%LOCALAPPDATA%\JellyfinMediaPlayer\logs`
|
|
|
|
- Linux: `~/.local/share/jellyfinmediaplayer/logs/`
|
|
|
|
- Linux (Flatpak): `~/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/logs/`
|
|
|
|
- macOS: `~/Library/Logs/Jellyfin Media Player/`
|
|
|
|
|
|
|
|
## Config File Location
|
|
|
|
|
|
|
|
The main configuration file is called `jellyfinmediaplayer.conf`. You can also add a `mpv.conf` to configure MPV directly.
|
|
|
|
|
|
|
|
- Windows: `%LOCALAPPDATA%\JellyfinMediaPlayer\`
|
|
|
|
- Linux: `~/.local/share/jellyfinmediaplayer/`
|
|
|
|
- Linux (Flatpak): `~/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/`
|
|
|
|
- macOS: `~/Library/Application Support/Jellyfin Media Player/`
|
|
|
|
|
2015-10-13 12:08:09 +00:00
|
|
|
## License
|
|
|
|
|
2021-04-04 06:48:27 +00:00
|
|
|
Jellyfin Media Player is licensed under GPL v2. See the ``LICENSE`` file.
|
2015-10-13 12:08:09 +00:00
|
|
|
Licenses of dependencies are summarized under ``resources/misc/licenses.txt``.
|
|
|
|
This file can also be printed at runtime when using the ``--licenses`` option.
|