Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Reconnect to server" option? #410

Open
intelfx opened this issue Aug 18, 2024 · 0 comments
Open

"Reconnect to server" option? #410

intelfx opened this issue Aug 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@intelfx
Copy link

intelfx commented Aug 18, 2024

Is your feature request related to a problem? Please describe.

The MPV Shim sometimes loses connection to the Jellyfin server, or the Jellyfin server wedges up and needs to be restarted, or the connection is lost physically, or any combination of these three. In either case, MPV Shim loses connection to the server and there is no way to reestablish this connection other than to restart the MPV Shim, which gets real old real fast.

Describe the solution you'd like

I'd like if there was a GUI "Server Configuration" window button or a systray menu option in the MPV Shim to reconnect to either 1) the last connected/attempted server or 2) to the given server.

Ideally, it could be complemented with a timer (with e.g. exponential backoff) to retry connecting automatically in the background. (In case a timer is added, it should be overridable with an explicit action, e.g. "Reconnect right now".)

Describe alternatives you've considered

  • restarting MPV Shim by hand every time I end up mistakenly launching a movie in the web browser
  • writing a standalone hack that would ping the Jellyfin server and auto-restart MPV Shim every time a ping fails and succeeds again

Additional context

It would be also very nice if the tray icon could change (e.g. to a greyed-out) depending on the connection status, and it would be likewise very nice if the auto-reconnect/reconnect-to-last functionality was available from the tray menu rather than strictly from the server configuration window.

@intelfx intelfx added the enhancement New feature or request label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant