Skip to content

Document the Plexamp URL format - #4

Open
epheterson wants to merge 2 commits into
spiercey:mainfrom
epheterson:document-the-url-format
Open

Document the Plexamp URL format#4
epheterson wants to merge 2 commits into
spiercey:mainfrom
epheterson:document-the-url-format

Conversation

@epheterson

Copy link
Copy Markdown

The README covers writing a tag but not what ends up on it, so building a link from Plex ids means working it out from scratch. This writes the format down.

Playback is not a link to an item, it is a player command, and it needs a play queue: given a key alone Plexamp answers "can't start playback, try again". That is also why the URL does not fit an NTAG213, since it carries a queue id, a machine identifier and an address.

Browsing is a different shape and takes the global plex://<kind>/<id> guid with no server named, which is why a ratingKey on a browse URL silently opens the wrong item.

Adds PLEXAMP-URLS.md: both shapes, albums, tracks, artists and playlists, the dead ends, and what is not verified. The host swap to localhost:32500 in main.py is what made it solvable, since it shows the path is a Plexamp API path rather than a Plex Media Server one.

The README explains how to write a tag but not what ends up on it, so building
a link from Plex ids means reverse engineering it. This writes the format down:
playback is a player command that needs a play queue, browsing is a different
shape that takes the global id, and the dead ends are listed so nobody repeats
them.
A second link in one session opens Plexamp without moving it; relaunching and
tapping again always lands correctly. Says that rather than the vaguer
'sometimes it misses', since it is reproducible and worth designing around.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant