$ flatpak run com.github.iwalton3.jellyfin-mpv-shim
2024-05-31 07:52:32,673 [ INFO] player: Using libmpv1 playback backend.
Tk_Init error: no display name and no $DISPLAY environment variable
Process PreferencesWindowProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/app/lib/python3.11/site-packages/jellyfin_mpv_shim/gui_mgr.py", line 279, in run
root = tk.Tk()
^^^^^^^
File "/app/lib/python3.11/site-packages/tkinter/__init__.py", line 2270, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
_tkinter.TclError: no display name and no $DISPLAY environment variable
(jellyfin-mpv-shim:21): Gtk-CRITICAL **: 07:52:33.064: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
Desktop (please complete the following information):
Describe the bug
To Reproduce
Desktop (please complete the following information):
Error Messages Please provide logs, as they are often needed for me to understand and quickly troubleshoot the issue. You can read instructions for how to do so here: https://github.com/iwalton3/jellyfin-mpv-shim/wiki/Sending-Logs