feat: update emby device config and transcode

main v0.9.10
zijiren233 1 week ago
parent 540f928c45
commit 2373c1605e

@ -210,7 +210,7 @@ func getPlaybackInfo(ctx context.Context, aucd *EmbyUserCacheData, truePath stri
func processMediaSource(v *emby.MediaSourceInfo, movie *model.Movie, aucd *EmbyUserCacheData, truePath string, u *url.URL) (*EmbySource, error) {
source := &EmbySource{Name: v.Name}
if movie.MovieBase.VendorInfo.Emby.Transcode && v.TranscodingUrl != "" {
if v.TranscodingUrl != "" {
source.URL = fmt.Sprintf("%s/emby%s", aucd.Host, v.TranscodingUrl)
source.IsTranscode = true
} else if v.DirectPlayUrl != "" {

@ -1 +1 @@
Subproject commit 80da88d72e3242e1e63a953f19c6c53f3c106b74
Subproject commit dd9699a08558c2faac210827ed8e6c6d9dbfcaad
Loading…
Cancel
Save