Jump to content

Deep link to switch the active server (emby://items doesn’t change server context)


Recommended Posts

danergo
Posted

Folks,

I have two servers configured in the Emby for Android app (com.mb.android), and I’d like to open the app directly on a specific server from my own app with a single tap.

Following your earlier posts, I’m using:

Quote

am start -a android.intent.action.VIEW -d "emby://items/SERVER_ID/ITEM_ID" -p com.mb.android

This works fine for opening an item. It also works with just the server ID and no item ID. However, the app doesn’t actually switch its active server:

  • After the link opens, pressing Back returns to the home screen of the server I was on before, not the one from the link.
  • The settings (gear icon) also show the previous server’s settings.
  • If the target server is unreachable, the app silently opens another reachable server I used before, instead of reporting that the requested server isn’t available.

So the deep link opens content from the target server, but the app’s current-server context stays on the old one. That makes navigation confusing.

Feature request: could you add a deep link that properly switches the active server? For example:

Quote

emby://server/{SERVER_ID}

It would make the target server the current one (home screen, back navigation, settings) and show an error if that server can’t be reached. Ideally, emby://items/{SERVER_ID}/{ITEM_ID} would switch the active server the same way.

This would be really useful for launchers, automation apps (Tasker etc.) and anyone with more than one server.

Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...