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