OpenVoiceOS / ovos-ocp-audio-plugin

Apache License 2.0
4 stars 6 forks source link

Strip tokens from URIs #118

Open mikejgray opened 6 months ago

mikejgray commented 6 months ago

For Plex, and likely some other URIs, there are tokens that get added:

https://192-168-86-60.4ed47cc43e8e4fb3b428b18a225184b0.plex.direct:32400/audio/:/transcode/universal/start.m3u8?path=%2Flibrary%2Fmetadata%2F9706&mediaIndex=0&partIndex=0&fastSeek=1&copyts=1&offset=0&X-Plex-Platform=Chrome&X-Plex-Token=SECRET

That token then gets blasted across all of the different logs associated with OCP. Ideally, it would get stripped out and not be visible in the logs.