finamp icon indicating copy to clipboard operation
finamp copied to clipboard

[Feature Request] Automatically Switch to Offline Mode

Open lukaslindnermusic opened this issue 1 year ago • 5 comments

Hey there 😊

Currently, when I am not within my Home Network, my VPN is disabled and I am opening the app while Offline Mode is disabled (or when I disable it directly within the app), I get a few of these (sorry, but) ugly Error messages: IMG_4565 Kopie

Would it be possible to add a connection progress message instead, directly with the option to switch into Offline Mode right away? Something like this maybe? IMG_4565_mockup

Or "We could not find your Jellyfin server. Please make sure...."

What do you think? 😊

lukaslindnermusic avatar Mar 03 '24 11:03 lukaslindnermusic

Not my personal use-case, but if you plan to add functionality to the new Redesigned Version for remembering different servers, you could also add a button to try a different connection.

lukaslindnermusic avatar Mar 03 '24 11:03 lukaslindnermusic

Or maybe something like that: IMG_4565_2

For me, I use Tailscale VPN to connect to my NAS which runs Jellyfin. I set up the server connection with the machine name instead of an ip address, because Tailscale has this amazing feature called Magic DNS which automatically links the machine name to the VPN ip address instead of the home network ip address when Tailscale is connected. Therefore, when I'm out of home, I just have to connect to Tailscale (you even can automate this with Apple Shortcuts) and everything is working. However, I mostly use Offline Mode to avoid latency that depends on my current network connection.

Sometimes, I forget to enable the Tailscale VPN connection before I disable Offline Mode and then I get bombarded with these error messages 😅Therefore, I think such a message like in my photoshop mockup would be a nice-to-have improvement.

lukaslindnermusic avatar Mar 03 '24 11:03 lukaslindnermusic

Thanks for the suggestion! Yeah, I also though about some dialog that offers to enable offline mode in the past, but I haven't gotten around to it yet.
Multi-server support is planned (although I'm not sure how much work that will be with regards to the new download system), so the "switch server" option is a nice idea!

Additionally (kinda related), I'm planning to introduce a "local address" that can be used when connected to specific wifi networks, so you can have a fast connection (e.g. for downloads) at home, but fall back to the internet connection. That is a personal use case, so probably it won't be an improvement for you, but please let me know what you think nonetheless!

Chaphasilor avatar Mar 08 '24 18:03 Chaphasilor

Hi 😊 Thanks for your reply!

While not relevant for my personal usecase, I think a separate Local and Remote address is a great idea! 👍

You changed the title to „automatically switch to offline mode“. I personally would prefer to have buttons with the choice between „Retry“ and „Offline Mode“, because I sometimes indeed want to connect directly but just forget to enable the VPN. 😅🙈

lukaslindnermusic avatar Mar 09 '24 14:03 lukaslindnermusic

Okay nice.
Yeah the title is supposed to reflect that, although it's more of a "semi-automatic" option. There might be a setting to switch to offline mode after x failed connection attempt, but the default would probably be to prompt the user...

Chaphasilor avatar Mar 09 '24 20:03 Chaphasilor