No systray presents itself when running plex-mpv-shim, although the program works fine. According to console logs, a timeout is reached in pystray after roughly 20 seconds.
Running arch (6.1.44-lts) with up-to-date mpv and plex-mpv-shim, as well as pystray and tk. Error presents itself both in standard xfce and in i3+polybar.
> plex-mpv-shim
2023-08-10 14:18:25,927 [ INFO] conf: Loaded settings from json: /home/mauricioquintela/.config/plex-mpv-shim/conf.json
2023-08-10 14:18:26,329 [ INFO] player: Using libmpv1 playback backend.
2023-08-10 14:18:26,396 [ INFO] root: Started GDM service
2023-08-10 14:18:26,398 [ INFO] client: Started HTTP server
2023-08-10 14:18:26,427 [ DEBUG] PIL.PngImagePlugin: STREAM b'IHDR' 16 13
2023-08-10 14:18:26,427 [ DEBUG] PIL.PngImagePlugin: STREAM b'zTXt' 41 1315
2023-08-10 14:18:26,427 [ DEBUG] PIL.PngImagePlugin: STREAM b'bKGD' 1368 6
2023-08-10 14:18:26,428 [ DEBUG] PIL.PngImagePlugin: b'bKGD' 1368 6 (unknown)
2023-08-10 14:18:26,428 [ DEBUG] PIL.PngImagePlugin: STREAM b'pHYs' 1386 9
2023-08-10 14:18:26,428 [ DEBUG] PIL.PngImagePlugin: STREAM b'tIME' 1407 7
2023-08-10 14:18:26,428 [ DEBUG] PIL.PngImagePlugin: b'tIME' 1407 7 (unknown)
2023-08-10 14:18:26,428 [ DEBUG] PIL.PngImagePlugin: STREAM b'IDAT' 1426 612
Process STrayProcess-1:
Traceback (most recent call last):
File "/usr/lib/python3.11/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.11/site-packages/plex_mpv_shim/gui_mgr.py", line 246, in run
icon.run(setup=setup)
File "/usr/lib/python3.11/site-packages/pystray/_base.py", line 212, in run
self._run()
File "/usr/lib/python3.11/site-packages/pystray/_util/gtk.py", line 70, in _run
self._initialize()
File "/usr/lib/python3.11/site-packages/pystray/_util/gtk.py", line 94, in _initialize
self._notifier = notify_dbus.Notifier()
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/pystray/_util/notify_dbus.py", line 40, in __init__
self._notify = Gio.DBusProxy.new_sync(
^^^^^^^^^^^^^^^^^^^^^^^
gi.repository.GLib.GError: g-io-error-quark: Error calling StartServiceByName for org.freedesktop.Notifications: Timeout was reached (24)
No systray presents itself when running plex-mpv-shim, although the program works fine. According to console logs, a timeout is reached in pystray after roughly 20 seconds.
Running arch (6.1.44-lts) with up-to-date mpv and plex-mpv-shim, as well as pystray and tk. Error presents itself both in standard xfce and in i3+polybar.