Reply to thread

Hey devs,


I'm hard at work with my new MyPlexMedia plugin at the moment and ran into the following problem:


1. PlexMediaServer uses HTTP basic authentication for stream requests

2. MediaPortals internal g_Player is absolutely capable of playing the plex stream types

3. Problem is when I try to play stream via "g_Player.PlayAudioStream(streamUrl)" it throws an error because plex needs authentication headers before sending the content over!

4. The quick fix was to use the same technique as the Trailers plugin: a local HttpProxy but this requires elevated privileges (start MediaPortal as administrator) as the HttpListener needs to be registered...


So the question is: Is there a way to override any of the BasePlayers to allow for HTTP authentication?


regards,

Anthrax


PS: I strumbled through /trunk/mediaportal/Core/Player/ for hours yesterday :(


Top Bottom