Fix transcodingURL (#760)
This commit is contained in:
parent
2a51598004
commit
37911723a3
|
@ -21,7 +21,7 @@ extension MediaSourceInfo {
|
|||
let streamType: StreamType
|
||||
|
||||
if let transcodingURL, !Defaults[.Experimental.forceDirectPlay] {
|
||||
guard let fullTranscodeURL = URL(string: "".appending(transcodingURL))
|
||||
guard let fullTranscodeURL = URL(string: transcodingURL, relativeTo: userSession.server.currentURL)
|
||||
else { throw JellyfinAPIError("Unable to construct transcoded url") }
|
||||
playbackURL = fullTranscodeURL
|
||||
streamType = .transcode
|
||||
|
|
Loading…
Reference in New Issue