Skip to content

Commit

Permalink
feat: update emby device config and transcode
Browse files Browse the repository at this point in the history
  • Loading branch information
zijiren233 committed Feb 19, 2025
1 parent 540f928 commit 2373c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cache/emby.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "" {
Expand Down
2 changes: 1 addition & 1 deletion vendors

0 comments on commit 2373c16

Please sign in to comment.