Git Product home page Git Product logo

com.github.iwalton3.jellyfin-media-player's Introduction

Jellyfin Media Player - Linux Flatpak

Based on Plex Media Player Flatpak which is available under the terms of the GPLv3 license.

com.github.iwalton3.jellyfin-media-player's People

Contributors

flathubbot avatar iwalton3 avatar maxr1998 avatar oppzippy avatar ranisalt avatar tilosp avatar tingping avatar tracenji avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

com.github.iwalton3.jellyfin-media-player's Issues

Restore Wayland support in the flatpak

(using the jellyfin-media-player repo template as I initially started to fill it there)

Describe the bug
I am using sway. jellyfin-media-player used to work perfectly on wayland, and has for a lot of time (I'd say at least a year, if not two).
Wayland support seems to have relatively recently (couple months) been disabled for no apparent reason, which made it stop working on my machine.

I do have QT_QPA_PLATFORM=wayland-egl in my environment. I've been watching Qt apps steadily adopt wayland over time, this is the first time any program drops wayland compatibility.

%  com.github.iwalton3.jellyfin-media-player
Failed to create wl_display (No such file or directory)
qt.qpa.wayland: Failed to initialize EGL display 3001
qt.qpa.plugin: Could not load the Qt platform plugin "wayland-egl" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

I can work around by setting QT_QPA_PLATFORM=xcb, but that's one step further from reducing my reliance on x, with all the privacy and security issue that entails. Moreover, wayland is a good fit for embedded systems and media centers, and a kiosk compositor such as https://github.com/Hjdskes/cage can be used together with jellyfin-media-player, though it now requires xwayland as well.

Right before posting that report, I found 381bd4a and can confirm that enabling socket=wayland (can be done easily with flatseal) restores the functionality.

A clear and concise description of what the bug is.

To Reproduce

  1. Run a wayland compositor (sway can be ran inside an X11 compositor, for instance)
  2. export QT_QPA_PLATFORM=wayland-egl
  3. Launch jellyfin-media-player
  4. jellyfin-media-player refuses to launch

Expected behavior
jellyfin-media-player should launch just fine, as it had been until now. Especially when the backend is forced through an environment variable. If you experience issues with wayland, the preference order can be changed.

Desktop (please complete the following information):

  • OS: Arch
  • Installation Method: flatpak

Additional context

MPV background config option no longer works after 1.10.0 update, Flatpak Specific

i use the MPV config option background=#D0D0D0 to reduce uneven wear on my oled monitor
after updating to version 1.10.0, this option no longer works, tried with mpv.conf and the Manual MPV Configuration in client settings

this seems to be a Flatpak only issue, as if i install the debian bookworm version of 1.10.0 in distrobox, the background option works as expected
other MPV options may be affected as well, i have not tested any other options

Hardware Decoding showing a black/glitched screen

Enabling Hardware Decoding on jellyfin causes the video to not play right, this only started to happen after the latest flatpak update that "Switch runtime-version to 5.15-21.08" (64e6e7159fbbaf2ab26436a5edf7f3576c1699e95b1491f404a0232bf09bda27),
going back to "Up version to 1.7.0." (c9a49d6e87b6553f3218e6440c7ada1303abfde8849bcf9f604157af438662bb) fixes this issue

image
image

some content plays fine
image

log jellyfinmediaplayer.log

CPU: 11th Gen Intel i5-1135G7 (8) @ 4.200GHz
GPU: Intel TigerLake-LP GT2 [Iris Xe Graphics]

Notice regarding org.kde.Platform branch 5.15-22.08 being end-of-life

Not a bug, but unsure where else to raise it: as per the title, Ubuntu 24.04 beta and Jellyfin Flatpak gives a notice about:

Info: runtime org.kde.Platform branch 5.15-22.08 is end-of-life, with reason:
We strongly recommend moving to the latest Qt 5.15-based stable version of the Platform and SDK
Info: applications using this runtime:
com.github.iwalton3.jellyfin-media-player

Jellyfin Media Player Flatpak is unable to access (non local?) Jellyfin servers

Whenever I attempt to access my server or Jellyfin's demo server, the Jellyfin Media Player client is unable to connect, with the error:
We're unable to connect to the selected server right now. Please ensure it is running and try again.
I'm not sure if it is able to access local servers either, as I haven't been able to test this just yet, but I do know that the Jellyfin Media Player .deb is perfectly capable of accessing non-local servers. Maybe this is a flatpak permission issue?

To reproduce, give this a shot with Jellyfin's demo instance, https://demo.jellyfin.org.

EDIT: For some reason this only seems to be an issue on my laptop running openSUSE Tumbleweed. I have another laptop running Linux Mint that doesn't have this bug. And yes, both are running the Flatpak. Extremely weird.

Video playback stuttering after latest update

Hi, I just updated the jellyfin-media-player flatpak and now all video playback freezes, even on lower resolution content where I used to have no issues.
Was something changed that broke the player?

"Error loading client, this is bad and should not happen ... Actual error: [0]"

Hi!

I installed flatpak and JMP on a fresh install of Raspberry Pi OS Bookworm arm64 (6.1.0-rpi6-rpi-2712) on a Raspberry Pi 5 8GB, and the JMP window shows the above message when I run it with # flatpak run com.github.iwalton3.jellyfin-media-player.

I don't understand what's wrong, can someone point me in the right direction? Is it looking for files in /app? I don't have that dir.

Here's the log:

2023-11-10 12:53:01.353 [info] unknown @ 0 - Starting Jellyfin Media Player version: 1.9.1 build date: 2023-04-24
2023-11-10 12:53:01.353 [info] unknown @ 0 -   Running on: KDE Flatpak runtime [6.1.0-rpi6-rpi-2712] arch arm64
2023-11-10 12:53:01.353 [info] unknown @ 0 -   Qt Version: 5.15.9 [arm64-little_endian-lp64]
2023-11-10 12:53:01.379 [warning] unknown @ 0 - QObject::connect(SettingsSection, Unknown): invalid nullptr parameter
2023-11-10 12:53:01.381 [info] unknown @ 0 - Component: settings inited
2023-11-10 12:53:01.382 [info] unknown @ 0 - Loading inputmaps from: ":/inputmaps"
2023-11-10 12:53:01.475 [warning] unknown @ 0 - Missing element 'idmatcher' from mapping file: ":/inputmaps/dualshock4-xbox-emulate.json"
2023-11-10 12:53:01.482 [info] unknown @ 0 - Loading inputmaps from: "/home/joso/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/inputmaps"
2023-11-10 12:53:01.482 [info] unknown @ 0 - Successfully inited input: Keyboard
2023-11-10 12:53:01.482 [info] LocalJsonServer::listen @ 34 - Listening to socket: "/tmp/jmp_inputSocket_joso.sock"
2023-11-10 12:53:01.482 [info] unknown @ 0 - Successfully inited input: socket
2023-11-10 12:53:01.675 [info] unknown @ 0 - SDL found  0  joysticks
2023-11-10 12:53:01.675 [info] unknown @ 0 - Successfully inited input: SDL
2023-11-10 12:53:01.675 [critical] unknown @ 0 - LIRC Socket Error :  QLocalSocket::ServerNotFoundError
2023-11-10 12:53:01.675 [warning] unknown @ 0 - Failed to init input: LIRC
2023-11-10 12:53:01.675 [info] unknown @ 0 - Component: input inited
2023-11-10 12:53:01.675 [info] unknown @ 0 - Component: system inited
2023-11-10 12:53:01.675 [critical] unknown @ 0 - Failed to init component: display
2023-11-10 12:53:01.696 [debug] unknown @ 0 - Updated possible values for: "device" to (QVariant(QVariantMap, QMap(("title", QVariant(QString, "Autoselect device"))("value", QVariant(QString, "auto")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Built-in Audio Digital Stereo (HDMI)"))("value", QVariant(QString, "pulse/alsa_output.platform-107c701400.hdmi.hdmi-stereo")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default (alsa)"))("value", QVariant(QString, "alsa")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Open Sound System"))("value", QVariant(QString, "alsa/oss")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Plugin for channel upmix (4,6,8)"))("value", QVariant(QString, "alsa/upmix")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Plugin for channel downmix (stereo) with a simple spacialization"))("value", QVariant(QString, "alsa/vdownmix")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-0, MAI PCM i2s-hifi-0/Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault:CARD=vc4hdmi0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-0, MAI PCM i2s-hifi-0/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=vc4hdmi0,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-0/USB Stream Output"))("value", QVariant(QString, "alsa/usbstream:CARD=vc4hdmi0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-1, MAI PCM i2s-hifi-0/Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault:CARD=vc4hdmi1")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-1, MAI PCM i2s-hifi-0/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=vc4hdmi1,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-1/USB Stream Output"))("value", QVariant(QString, "alsa/usbstream:CARD=vc4hdmi1")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default (jack)"))("value", QVariant(QString, "jack")))))
2023-11-10 12:53:01.696 [debug] unknown @ 0 - Audio devices removed: QSet()
2023-11-10 12:53:01.696 [debug] unknown @ 0 - Audio devices added: QSet("pulse/alsa_output.platform-107c701400.hdmi.hdmi-stereo", "alsa/sysdefault:CARD=vc4hdmi1", "alsa/usbstream:CARD=vc4hdmi0", "alsa/oss", "alsa/usbstream:CARD=vc4hdmi1", "alsa", "alsa/vdownmix", "alsa/upmix", "jack", "auto", "alsa/hdmi:CARD=vc4hdmi1,DEV=0", "alsa/hdmi:CARD=vc4hdmi0,DEV=0", "alsa/sysdefault", "alsa/sysdefault:CARD=vc4hdmi0")
2023-11-10 12:53:01.696 [debug] unknown @ 0 - Audio device selected: "auto"
2023-11-10 12:53:01.696 [info] unknown @ 0 - Audio Config - device: auto, channel layout: 2.0, passthrough codecs: none, ac3 transcoding: no
2023-11-10 12:53:01.697 [info] unknown @ 0 - Display index: -1
2023-11-10 12:53:01.697 [info] unknown @ 0 - Display index: -1
2023-11-10 12:53:01.697 [info] unknown @ 0 - Codec "mpeg2video" present
2023-11-10 12:53:01.697 [info] unknown @ 0 - Codec "vc1" present
2023-11-10 12:53:01.714 [info] unknown @ 0 - Present codecs: aasc aic alias_pix agm amv anm ansi apng arbc argo asv1 asv2 aura aura2 avrp avrn avs avui ayuv bethsoftvid bfi binkvideo bitpacked bmp bmv_video brender_pix c93 cavs cdgraphics cdtoons cdxl cfhd cinepak clearvideo cljr cllc cpia cri camstudio cyuv dds dfa dirac dnxhd dpx dsicinvideo dvvideo dxa dxtory dxv eacmv eamad eatgq eatgv eatqi 8bps escape124 escape130 exr ffv1 ffvhuff fic fits flashsv flashsv2 flic flv fmvc 4xm fraps frwu g2m gdv gem gif h261 h263 h263i h263p h263_v4l2m2m h264 h264_v4l2m2m hap hevc hevc_v4l2m2m hnm4video hq_hqa hqx huffyuv hymt idcinvideo iff imm4 imm5 indeo2 indeo3 indeo4 indeo5 interplayvideo ipu jpeg2000 jpegls jv kgv1 kmvc lagarith loco lscr m101 magicyuv mdec mimic mjpeg mjpegb mmvideo mobiclip motionpixels mpeg1video mpeg2video mpeg4 mpeg4_v4l2m2m mpegvideo mpeg1_v4l2m2m mpeg2_v4l2m2m msa1 mscc msmpeg4v1 msmpeg4v2 msmpeg4 msp2 msrle mss1 mss2 msvideo1 mszh mts2 mv30 mvc1 mvc2 mvdv mvha mwsc mxpeg notchlc nuv paf_video pam pbm pcx pfm pgm pgmyuv pgx phm photocd pictor pixlet png ppm prores prosumer psd ptx qdraw qoi qpeg qtrle r10k r210 rasc rawvideo rl2 roqvideo rpza rscc rv10 rv20 rv30 rv40 sanm scpr screenpresso sga sgi sgirle sheervideo simbiosis_imx smackvid smc smvjpeg snow sp5x speedhq srgc sunrast svq1 svq3 targa targa_y216 tdsc theora thp tiertexseqvideo tiff tmv truemotion1 truemotion2 truemotion2rt camtasia tscc2 txd ultimotion utvideo v210 v210x v308 v408 v410 vb vbn vble vc1 vc1image vc1_v4l2m2m vcr1 vmdvideo vmnc vp3 vp4 vp5 vp6 vp6a vp6f vp7 vp8 vp8_v4l2m2m vp9 vp9_v4l2m2m vqavideo webp wcmv wrapped_avframe wmv1 wmv2 wmv3 wmv3image wnv1 xan_wc3 xan_wc4 xbm xface xl xpm xwd y41p ylc yop yuv4 012v zerocodec zlib zmbv libdav1d bintext xbin idf av1 comfortnoise dvaudio 8svx_exp 8svx_fib s302m speex aac aac_fixed aac_latm ac3 ac3_fixed acelp.kelvin alac als amrnb amrwb ape aptx aptx_hd atrac1 atrac3 atrac3al atrac3plus atrac3plusal atrac9 binkaudio_dct binkaudio_rdft bmv_audio cook dca dfpwm dolby_e dsd_lsbf dsd_msbf dsd_lsbf_planar dsd_msbf_planar dsicinaudio dss_sp dst eac3 evrc fastaudio wavesynth flac g723_1 g729 gsm gsm_ms hca hcom iac ilbc imc interplayacm mace3 mace6 metasound mlp mp1 mp1float mp2 mp2float mp3float mp3 mp3adufloat mp3adu mp3on4float mp3on4 mpc7 mpc8 msnsiren nellymoser on2avc opus paf_audio qcelp qdm2 qdmc real_144 real_288 ralf sbc shorten sipr siren smackaud sonic tak truehd truespeech tta twinvq vmdaudio vorbis wavpack wmalossless wmapro wmav1 wmav2 wmavoice ws_snd1 xma1 xma2 pcm_alaw pcm_bluray pcm_dvd pcm_f16le pcm_f24le pcm_f32be pcm_f32le pcm_f64be pcm_f64le pcm_lxf pcm_mulaw pcm_s8 pcm_s8_planar pcm_s16be pcm_s16be_planar pcm_s16le pcm_s16le_planar pcm_s24be pcm_s24daud pcm_s24le pcm_s24le_planar pcm_s32be pcm_s32le pcm_s32le_planar pcm_s64be pcm_s64le pcm_sga pcm_u8 pcm_u16be pcm_u16le pcm_u24be pcm_u24le pcm_u32be pcm_u32le pcm_vidc derf_dpcm gremlin_dpcm interplay_dpcm roq_dpcm sdx2_dpcm sol_dpcm xan_dpcm adpcm_4xm adpcm_adx adpcm_afc adpcm_agm adpcm_aica adpcm_argo adpcm_ct adpcm_dtk adpcm_ea adpcm_ea_maxis_xa adpcm_ea_r1 adpcm_ea_r2 adpcm_ea_r3 adpcm_ea_xas g722 g726 g726le adpcm_ima_acorn adpcm_ima_amv adpcm_ima_alp adpcm_ima_apc adpcm_ima_apm adpcm_ima_cunning adpcm_ima_dat4 adpcm_ima_dk3 adpcm_ima_dk4 adpcm_ima_ea_eacs adpcm_ima_ea_sead adpcm_ima_iss adpcm_ima_moflex adpcm_ima_mtf adpcm_ima_oki adpcm_ima_qt adpcm_ima_rad adpcm_ima_ssi adpcm_ima_smjpeg adpcm_ima_wav adpcm_ima_ws adpcm_ms adpcm_mtaf adpcm_psx adpcm_sbpro_2 adpcm_sbpro_3 adpcm_sbpro_4 adpcm_swf adpcm_thp adpcm_thp_le adpcm_vima adpcm_xa adpcm_yamaha adpcm_zork
2023-11-10 12:53:01.714 [info] unknown @ 0 - Component: player inited
2023-11-10 12:53:01.714 [info] unknown @ 0 - Component: power inited
2023-11-10 12:53:01.714 [warning] unknown @ 0 - Could not find a taskbar component matching this platform. Taskbar functions disabled.
2023-11-10 12:53:01.714 [info] unknown @ 0 - Component: taskbar inited
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: player mapped to PlayerComponent::userCommand
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method with an argument.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: poweroff mapped to PowerComponent::PowerOff
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: reboot mapped to PowerComponent::Reboot
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: suspend mapped to PowerComponent::Suspend
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: cycle_setting mapped to SettingsComponent::cycleSettingCommand
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method with an argument.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: set_setting mapped to SettingsComponent::setSettingCommand
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method with an argument.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: crash! mapped to SystemComponent::crashApp
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: script mapped to SystemComponent::runUserScript
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method with an argument.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Adding host command: message mapped to SystemComponent::hostMessage
2023-11-10 12:53:01.714 [debug] unknown @ 0 - Host command maps to method with an argument.
2023-11-10 12:53:01.714 [debug] unknown @ 0 - ()
2023-11-10 12:53:01.714 [warning] unknown @ 0 - QtWebEngine::initialize() called with QCoreApplication object already created and should be call before. This is depreciated and may fail in the future.
2023-11-10 12:53:01.775 [warning] unknown @ 0 - Attribute Qt::AA_ShareOpenGLContexts must be set before QCoreApplication is created.
2023-11-10 12:53:01.829 [debug] unknown @ 0 - Adding host command: close mapped to KonvergoWindow::close
2023-11-10 12:53:01.829 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.829 [debug] unknown @ 0 - Adding host command: toggleDebug mapped to KonvergoWindow::toggleDebug
2023-11-10 12:53:01.829 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.829 [debug] unknown @ 0 - Adding host command: reload mapped to KonvergoWindow::reloadWeb
2023-11-10 12:53:01.829 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Adding host command: fullscreen mapped to KonvergoWindow::toggleFullscreen
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Adding host command: minimize mapped to KonvergoWindow::minimizeWindow
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Adding host command: switchMode mapped to KonvergoWindow::toggleWebMode
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Host command maps to method without arguments.
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Restoring geo: QRect(0,0 1280x720)
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Window state when saving geometry: QWindow::Hidden
2023-11-10 12:53:01.830 [debug] unknown @ 0 - Saving window geometry: QRect(0,0 1280x720)
2023-11-10 12:53:01.845 [debug] unknown @ 0 - QWindow visibility set to QWindow::Windowed
2023-11-10 12:53:01.863 [debug] unknown @ 0 - Restoring geo: QRect(0,0 1280x720)
2023-11-10 12:53:01.863 [debug] unknown @ 0 - Window state when saving geometry: QWindow::Windowed
2023-11-10 12:53:01.863 [debug] unknown @ 0 - Saving window geometry: QRect(0,0 1280x720)
2023-11-10 12:53:01.892 [debug] unknown @ 0 - Screen 0 QScreen(0x5555dcf52410, name="HDMI-A-1") QRect(0,0 3840x2160) QRect(0,0 3840x2160) active: true selected: false
2023-11-10 12:53:01.892 [debug] unknown @ 0 - Updated possible values for: "forceFSScreen" to (QVariant(QVariantMap, QMap(("title", QVariant(QString, "Auto"))("value", QVariant(QString, "")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "0,0 3839x2159 (HDMI-A-1) *"))("value", QVariant(QString, "HDMI-A-1")))))
2023-11-10 12:53:01.991 [debug] unknown @ 0 - Using web-client URL:  "file:////app/share/jellyfinmediaplayer/web-client/desktop/index.html"
2023-11-10 12:53:01.991 [debug] unknown @ 0 - "Using path for extension: /app/share/jellyfinmediaplayer/web-client/extension/"
2023-11-10 12:53:01.992 [debug] unknown @ 0 - Found flatpak os-release file
2023-11-10 12:53:02.000 [debug] unknown @ 0 - Adding component: input to webchannel
2023-11-10 12:53:02.000 [debug] unknown @ 0 - Adding component: player to webchannel
2023-11-10 12:53:02.000 [debug] unknown @ 0 - Adding component: power to webchannel
2023-11-10 12:53:02.000 [debug] unknown @ 0 - Adding component: settings to webchannel
2023-11-10 12:53:02.000 [debug] unknown @ 0 - Adding component: system to webchannel
2023-11-10 12:53:02.000 [debug] unknown @ 0 - Adding component: taskbar to webchannel
2023-11-10 12:53:02.000 [info] unknown @ 0 - Setting log level to: "debug"
2023-11-10 12:53:02.004 [debug] unknown @ 0 - Updated possible values for: "device" to (QVariant(QVariantMap, QMap(("title", QVariant(QString, "Autoselect device"))("value", QVariant(QString, "auto")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Built-in Audio Digital Stereo (HDMI)"))("value", QVariant(QString, "pulse/alsa_output.platform-107c701400.hdmi.hdmi-stereo")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default (alsa)"))("value", QVariant(QString, "alsa")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Open Sound System"))("value", QVariant(QString, "alsa/oss")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Plugin for channel upmix (4,6,8)"))("value", QVariant(QString, "alsa/upmix")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Plugin for channel downmix (stereo) with a simple spacialization"))("value", QVariant(QString, "alsa/vdownmix")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-0, MAI PCM i2s-hifi-0/Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault:CARD=vc4hdmi0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-0, MAI PCM i2s-hifi-0/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=vc4hdmi0,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-0/USB Stream Output"))("value", QVariant(QString, "alsa/usbstream:CARD=vc4hdmi0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-1, MAI PCM i2s-hifi-0/Default Audio Device"))("value", QVariant(QString, "alsa/sysdefault:CARD=vc4hdmi1")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-1, MAI PCM i2s-hifi-0/HDMI Audio Output"))("value", QVariant(QString, "alsa/hdmi:CARD=vc4hdmi1,DEV=0")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "vc4-hdmi-1/USB Stream Output"))("value", QVariant(QString, "alsa/usbstream:CARD=vc4hdmi1")))), QVariant(QVariantMap, QMap(("title", QVariant(QString, "Default (jack)"))("value", QVariant(QString, "jack")))))
2023-11-10 12:53:02.004 [debug] unknown @ 0 - Audio devices removed: QSet()
2023-11-10 12:53:02.004 [debug] unknown @ 0 - Audio devices added: QSet()
2023-11-10 12:53:02.004 [debug] unknown @ 0 - Audio device selected: "auto"
2023-11-10 12:53:02.004 [warning] unknown @ 0 - cplayer: Warning: option --hwdec-preload was replaced with --opengl-hwdec-interop and might be removed in the future.
2023-11-10 12:53:02.004 [warning] unknown @ 0 - cplayer: Warning: option --opengl-hwdec-interop was replaced with --gpu-hwdec-interop and might be removed in the future.
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: mpv 0.35.1 Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:  built on UNKNOWN
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: FFmpeg library versions:
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:    libavutil       57.28.100
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:    libavcodec      59.37.100
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:    libavformat     59.27.100
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:    libswscale      6.7.100
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:    libavfilter     8.44.100
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:    libswresample   4.7.100
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: FFmpeg version: 5.1.2
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer:
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: Configuration: waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date --disable-manpage-build --enable-vaapi --enable-pulse --enable-alsa --disable-tv --enable-uchardet
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: List of enabled features: alsa asm av-channel-layout cplugins debug-build dmabuf-interop-gl dmabuf-wayland drm drm-is-kms egl egl-drm egl-helpers ffmpeg gbm gbm.h gl gl-wayland glibc-thread-name glob glob-posix gpl iconv jack jpeg jpegxl lcms2 libarchive libass libavdevice libdl libm libmpv-shared librt linux-fstatfs linux-input-event-codes lua luajit memfd_create optimize pipewire plain-gl posix posix-or-mingw pthreads pulse stdatomic uchardet vaapi vaapi-drm vaapi-egl vaapi-wayland vector vt.h wayland wayland-protocols wayland-protocols-1-24 zlib
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: Waiting for scripts...
2023-11-10 12:53:02.004 [debug] unknown @ 0 - ao/pipewire: Headers version: 0.3.67
2023-11-10 12:53:02.004 [debug] unknown @ 0 - ao/pipewire: Library version: 0.3.69
2023-11-10 12:53:02.004 [warning] unknown @ 0 - ao/pipewire: Could not connect to context '(null)': Host is down
2023-11-10 12:53:02.004 [debug] unknown @ 0 - ao/pulse: Library version: 16.0.0
2023-11-10 12:53:02.004 [debug] unknown @ 0 - ao/pulse: Proto: 35
2023-11-10 12:53:02.004 [debug] unknown @ 0 - ao/pulse: Server proto: 4294967295
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: Set property: audio-exclusive=false -> 1
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: Set property: audio-device="auto" -> 1
2023-11-10 12:53:02.004 [warning] unknown @ 0 - cplayer: Warning: option --af-defaults is deprecated and might be removed in the future (use --af + enable/disable flags).
2023-11-10 12:53:02.004 [critical] unknown @ 0 - cplayer: Option af-defaults: lavrresample doesn't exist.
2023-11-10 12:53:02.004 [debug] unknown @ 0 - cplayer: Set property: af-defaults="lavrresample:normalize=yes:o=[surround_mix_level=1]" -> -4
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: audio-spdif="" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: audio-channels="2.0" -> 1
2023-11-10 12:53:02.005 [warning] unknown @ 0 - cplayer: Option af-del: -del is deprecated! Use -remove (removes by content instead of by index).
2023-11-10 12:53:02.005 [warning] unknown @ 0 - cplayer: Option af-del: item label @ac3 not found.
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: sub-scale=1.000000 -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: sub-color="#EEEEEE" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: sub-border-color="#000000" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: sub-align-x="center" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: sub-pos=100 -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: video-sync="audio" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: hwdec="auto-copy" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: videotoolbox-format="nv12" -> -3
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: deinterlace="no" -> 1
2023-11-10 12:53:02.005 [warning] unknown @ 0 - cplayer: Setting the display-fps property is deprecated; set the override-display-fps property instead.
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: display-fps=0.000000 -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Done loading scripts.
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: audio-delay=0.000000 -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: cache=76800 -> -4
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
2023-11-10 12:53:02.005 [warning] unknown @ 0 - cplayer: Warning: property 'video-aspect' is deprecated, refer to 'video-params/aspect' and 'video-aspect-override'.
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: video-aspect="-1" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - osd/libass: libass API version: 0x1700000
2023-11-10 12:53:02.005 [debug] unknown @ 0 - osd/libass: libass source: tarball: 0.17.0
2023-11-10 12:53:02.005 [debug] unknown @ 0 - osd/libass: Shaper: FriBidi 1.0.12 (SIMPLE) HarfBuzz-ng 5.2.0 (COMPLEX)
2023-11-10 12:53:02.005 [debug] unknown @ 0 - osd/libass: Setting up fonts...
2023-11-10 12:53:02.005 [debug] unknown @ 0 - osd/libass: Using font provider fontconfig
2023-11-10 12:53:02.005 [debug] unknown @ 0 - osd/libass: Done.
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: video-unscaled=false -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: video-aspect="-1" -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: keepaspect=true -> 1
2023-11-10 12:53:02.005 [debug] unknown @ 0 - cplayer: Set property: panscan=0.000000 -> 1
2023-11-10 12:53:02.005 [warning] unknown @ 0 - Could not find a taskbar component matching this platform. Taskbar functions disabled.
2023-11-10 12:53:02.011 [debug] unknown @ 0 - resize event: QSize(1280, 720)
2023-11-10 12:53:02.013 [debug] unknown @ 0 - cplayer: Set property: vo="libmpv" -> 1
2023-11-10 12:53:02.038 [debug] unknown @ 0 - libmpv_render: GL_VERSION='OpenGL ES 3.2 Mesa 23.1.9 (git-acb5ee278a)'
2023-11-10 12:53:02.038 [debug] unknown @ 0 - libmpv_render: Detected GLES 3.2.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: GL_VENDOR='Mesa'
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: GL_RENDERER='llvmpipe (LLVM 15.0.7, 128 bits)'
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: GL_SHADING_LANGUAGE_VERSION='OpenGL ES GLSL ES 3.20'
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loaded extension GL_EXT_texture_norm16.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loaded extension GL_EXT_disjoint_timer_query.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loaded extension GL_EXT_buffer_storage.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Detected suspected software renderer.
2023-11-10 12:53:02.039 [warning] unknown @ 0 - libmpv_render: Suspected software renderer or indirect context.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: GL_*_swap_control extension missing.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Testing FBO format rgba16f
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Using FBO format rgba16f.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Disabling HDR peak computation (one or more of the following is not supported: compute shaders=0, SSBO=1).
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: No advanced processing required. Enabling dumb mode.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loading hwdec driver 'vaapi'
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render/vaapi: VAAPI hwdec only works with OpenGL or Vulkan backends.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loading failed.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loading hwdec driver 'drmprime-overlay'
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render/drmprime-overlay: Failed to retrieve DRM fd from native display.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loading failed.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loading hwdec driver 'drmprime'
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render/drmprime: drmprime hwdec requires at least one dmabuf interop backend.
2023-11-10 12:53:02.039 [debug] unknown @ 0 - libmpv_render: Loading failed.
2023-11-10 12:53:02.171 [debug] unknown @ 0 - cplayer: Set property: audio-device="auto" -> 1
2023-11-10 12:53:02.518 [debug] onLoadingChanged @ 181 - WebEngineLoadRequest starting: file:///app/share/jellyfinmediaplayer/web-client/desktop/index.html
2023-11-10 12:53:02.535 [debug] onLoadingChanged @ 189 - WebEngineLoadRequest failure: file:///app/share/jellyfinmediaplayer/web-client/desktop/index.html error code: 0

Verify ownership on beta.flathub.org

We're preparing for the launch of beta.flathub.org, and would like to see your app verified as maintained by its developers. Currently, I've marked it as such manually, but it would be preferred to use one of the verification features. This can be initiated by logging it at https://beta.flathub.org/login with a GitHub account, pressing "Developer Settings" and following the instructions there.

Black screen with wayland+NVIDIA

Issue appeared after #4: black screen, a lot of repeating errors in log

Logs

[2:53:0104/132356.685028:ERROR:gpu_channel_manager.cc(753)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[2:53:0104/132356.685034:ERROR:shared_image_stub.cc(470)] SharedImageStub: unable to create context
[2:53:0104/132356.685041:ERROR:gpu_channel.cc(449)] GpuChannel: Failed to create SharedImageStub
[2:53:0104/132356.685226:ERROR:gl_context_egl.cc(259)] eglCreateContext failed with error EGL_BAD_CONTEXT

Environment

KDE neon 5.26
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
NVIDIA Driver version: 525.60.11-0ubuntu0.22.04.1

Workaround

sudo flatpak update --commit=a0a2bdf3b8fb29b373a32a23496c922beb40d32c95e51ffac329af2d4cfeaf5c com.github.iwalton3.jellyfin-media-player

See also

Enable cropdetect filter

this flatpak build does not include the cropdetect filter, this makes certain MPV scripts i and other people might want to run not work (such as a dynamic autocrop filter)

please build the flatpak with the cropdetect filter enabled if at all possible, i do not see a reason it should not be because the MPV flatpak does ship with this filter enabled

Crash on startup

I'm using PopOS 22.04. The app crashes on startup with the following log:

Gtk-Message: 13:38:37.885: Failed to load module "canberra-gtk-module"
Gtk-Message: 13:38:37.886: Failed to load module "canberra-gtk-module"
qt.qpa.qgnomeplatform: Could not find color scheme  ""
Qt: Session management error: Could not open network socket
libpng warning: iCCP: known incorrect sRGB profile
Listening to socket: "/tmp/jmp_pmpUniqueApplication_adi.sock"
Signal handlers installed successfully.
Logging to  /home/adi/.var/app/com.github.iwalton3.jellyfin-media-player/data/jellyfinmediaplayer/logs/jellyfinmediaplayer.log
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: radeonsi
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
[2:40:1212/133838.226540:ERROR:address_tracker_linux.cc(214)] Could not bind NETLINK socket: Address already in use (98)```

Installation of jellyfin media player does not work: Error: Nothing matches com.github.iwalton3.jellyfin-media-player in remote flathub

Hi,

I tried to install the jellyfin media player via flatpak, but get the following error:
Error: Nothing matches com.github.iwalton3.jellyfin-media-player in remote flathub

What I did:
I installed flatpak as recommended on raspberry pi 4 (see https://www.flatpak.org/setup/Raspberry%20Pi%20OS/):

Then I tried to install jellyfin media player:

  • flatpak install flathub com.github.iwalton3.jellyfin-media-player

Note that the directories

'/var/lib/flatpak/exports/share'
'/home/pi/.local/share/flatpak/exports/share'

are not in the search path set by the XDG_DATA_DIRS environment variable, so
applications installed by Flatpak may not appear on your desktop until the
session is restarted.

Looking for matches...
Error: Nothing matches com.github.iwalton3.jellyfin-media-player in remote flathub

crash at start playing video

Hi, I installed this app for viewing some video on my jellyfin server. I installed it on a Samsung tablet(sm-t550) with a gnome/posh system on it.
The app start without any problems and navigate to the library of the server but every time I try to start play some video it crashes brutally, here some logs:

samsung_gt510:~$ uname -a
Linux samsung_gt510 5.18.0-msm8916 #1 SMP PREEMPT Mon Jun 6 07:16:41 UTC 2022 aarch64 Linux

samsung_gt510:~$ arch
aarch64

samsung_gt510:~$ free
              total        used        free      shared  buff/cache   available
Mem:        1405696      606980      242764      105544      555952      622652
Swap:             0           0           0

samsung_gt510:~$ df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/mapper/mmcblk0p28p2
                         10.9G      4.7G      5.7G  45% /
/dev/dm-0               225.7M     33.2M    180.4M  16% /boot
tmpfs                   274.6M      1.5M    273.1M   1% /run
dev                      10.0M         0     10.0M   0% /dev
shm                     686.4M      2.0M    684.4M   0% /dev/shm
none                    686.4M         0    686.4M   0% /lib/firmware/msm-firmware-loader
/dev/mmcblk0p1           64.0M     12.5M     51.4M  20% /lib/firmware/msm-firmware-loader/mnt/apnhlos
/dev/mmcblk0p2           64.0M     13.6M     50.3M  21% /lib/firmware/msm-firmware-loader/mnt/modem
tmpfs                     4.0M         0      4.0M   0% /sys/fs/cgroup
tmpfs                   137.3M     24.0K    137.3M   0% /run/user/10000


samsung_gt510:~$ apk info flatpak
flatpak-1.12.7-r0 description:
Application deployment framework for desktop apps

flatpak-1.12.7-r0 webpage:
https://flatpak.org/

flatpak-1.12.7-r0 installed size:
4008 KiB

samsung_gt510:~$ flatpak list
Name                                          Application ID                                              Version             Branch            Installation
Rnote                                         com.github.flxzt.rnote                                      0.5.4               stable            system
Jellyfin Media Player                         com.github.iwalton3.jellyfin-media-player                   1.7.1               stable            system
Mesa                                          org.freedesktop.Platform.GL.default                         21.3.9              21.08             system
Mesa                                          org.freedesktop.Platform.GL.default                         mesa-22.1.7         22.08             system
Déjà Dup Backups                              org.gnome.DejaDup                                           43.4                stable            system
Logs                                          org.gnome.Logs                                              3.34.0              stable            system
GNOME Application Platform version 42         org.gnome.Platform                                                              42                system
Adwaita theme                                 org.kde.KStyle.Adwaita                                                          5.15-21.08        system
KDE Application Platform                      org.kde.Platform                                                                5.15-21.08        system
QGnomePlatform                                org.kde.PlatformTheme.QGnomePlatform                                            5.15-21.08        system
QtSNI                                         org.kde.PlatformTheme.QtSNI                                                     5.15-21.08        system
QGnomePlatform-decoration                     org.kde.WaylandDecoration.QGnomePlatform-decoration                             5.15-21.08        system

I attached a log file, is there a way to get it working? thx
log_jellyfin.txt

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.