ddurdle 75 Posted March 3, 2018 Posted March 3, 2018 KODI implemented a feature many years ago where it takes any URL passed to it (via plugin or STRM) that has a | in it and treats anything after the | as headers that should be passed along with the request For example: http://domain/path/video.mp4|authorization:userid=49384 KODI, when it makes the request would pass: GET http://domain/path/video.mp4|authorization authorization: userid=49384 Likewise would be true for cookies, etc. Is it possible to implement the same with Emby, someway? 7
Untoten 306 Posted March 7, 2018 Posted March 7, 2018 (edited) Are you talking about proxy/header auth? If so, not yet, that is a form of SSO, I have made a mega thread for centralized auth. They now have a beta for LDAP out, but SSO of any type will probably be a bit longer.If you can, please show support on the mega thread by liking the first post @@jinxy88, @@fneves, @ddurdle:https://emby.media/community/index.php?/topic/26495-centralized-authentication-functionality-ldapssohtml-headerradius-development-started/page-1@@ebr duplicate Edited March 7, 2018 by Untoten
fneves 6 Posted March 7, 2018 Posted March 7, 2018 @@Untoten I think @@ddurdle just want to pass headers to the request, it could be auth but something else too. 1
Untoten 306 Posted March 7, 2018 Posted March 7, 2018 @@Untoten I think @@ddurdle just want to pass headers to the request, it could be auth but something else too. What do you mean 'pass headers'? You can do that always, with any proxy. I thought he was asking for auth purposes since he included the user id in the example.
fneves 6 Posted March 7, 2018 Posted March 7, 2018 Not if you want to create custom URLs inside a strm file with your custom headers. But I'm not sure if that's the case, just trying to chime in as it's probably not the same case as yours. Btw: I upvoted your feature, it'll be handy, thanks for being persistent hehe
ddurdle 75 Posted March 7, 2018 Author Posted March 7, 2018 (edited) Authorization was just one example. I need it more for cookie support. I have some content that will only playback when the user passes back a cookie along with the request. Not an issue with KODI since they built in this kind of support for KODI accepting a '|' in a URL to be reinterpreted that anything after the '|' should be as headers that should be passed along with the request Edited March 7, 2018 by ddurdle
olympus1 46 Posted September 4, 2022 Posted September 4, 2022 (edited) upvote... since this was requested years ago, is it supported today? Parsing headers when you play a https/http file is very important and it is required by most http links today (for cookies, for a specific required user agent, for authorization etc). Edited September 4, 2022 by olympus1
Luke 42077 Posted September 4, 2022 Posted September 4, 2022 Not yet but that should be easy enough to add. 1
MaxMax 0 Posted May 11, 2023 Posted May 11, 2023 Hi, is this possible to add headers to a strm file??
Luke 42077 Posted May 11, 2023 Posted May 11, 2023 28 minutes ago, MaxMax said: Hi, is this possible to add headers to a strm file?? Hi, not yet, sorry. 1
jathe 9 Posted July 10, 2023 Posted July 10, 2023 Still waitting for this feature.. Headers should be the most important thing on STRM files. 1
fivewen 0 Posted July 22, 2023 Posted July 22, 2023 Upvote! Is this at least being worked on? Really hoping this gets supported.
mrsfrog 1 Posted February 11, 2025 Posted February 11, 2025 Still waiting This is somewhat detrimental to using STRM files now, we need to be able to pass params like useragent, etc in the headers on the request 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now