PlexExternalPlayer icon indicating copy to clipboard operation
PlexExternalPlayer copied to clipboard

Save and load remote mapping settings between the updates

Open enchained opened this issue 7 years ago • 2 comments

Currently the script auto-updating by default and erasing all user-made changes, like mappings, to the code.

I suggest that on the first ever script launch user would be prompted for those settings (not sure how to handle options best in a userscript though). Then it will be stored in local storage and retrieved again after every update. Also this probably should be accessible and editable from plex settings page for better usability.

And there could be multiple mappings for multiple servers/media paths/mount paths.

What do you think? It looks easy to implement at the first glance, I could try to make a pull request sometime in the future.

enchained avatar Feb 14 '18 17:02 enchained

Its probably something for the agent rather than storing state in the browser. If it doesn't find a file then it asks if you want to add a mapping or similar?

Kayomani avatar Feb 14 '18 18:02 Kayomani

Hmm, that totally makes sense, didn't even think of it, cause I don't have any experience with C#. Mapping would be so much user-friendly if made with system "select the folder" interface.

enchained avatar Feb 14 '18 19:02 enchained