Skip to content

Commit 2373c16

Browse files
committed
feat: update emby device config and transcode
1 parent 540f928 commit 2373c16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/cache/emby.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func getPlaybackInfo(ctx context.Context, aucd *EmbyUserCacheData, truePath stri
210210
func processMediaSource(v *emby.MediaSourceInfo, movie *model.Movie, aucd *EmbyUserCacheData, truePath string, u *url.URL) (*EmbySource, error) {
211211
source := &EmbySource{Name: v.Name}
212212

213-
if movie.MovieBase.VendorInfo.Emby.Transcode && v.TranscodingUrl != "" {
213+
if v.TranscodingUrl != "" {
214214
source.URL = fmt.Sprintf("%s/emby%s", aucd.Host, v.TranscodingUrl)
215215
source.IsTranscode = true
216216
} else if v.DirectPlayUrl != "" {

vendors

0 commit comments

Comments
 (0)