Plex/Web: Pretty URLs with pushState

Because hashbangs make URLs ugly, and giant hex strings make me sad.

 

Also, rather than IDs, could names be used, falling back on - or similar when there are duplicated names? Once again, /sections/4/details/5074 makes me sad.

 

To sum it up:

Makes me sad: /web/index.html#!/servers/f6d20f5a827fb55a91b4e6747bd19f81053b422c/sections/4/details/5074

Makes me happy: /web/Home_NAS/Music/Artist/Key_Sounds_Label

Same degree of precision in there, but far prettier.

 

This all would also improve http://forums.plexapp.com/index.php/topic/63393-generate-plexweb-urls-with-voidable-tokens-usable-for-only-one-media-item/

Early 2021 clean-up: duplicate (I suppose)