This commit is contained in:
truewhile
2026-09-01 22:43:30 +08:00
parent 165eee7b36
commit d3233a62c0
6 changed files with 267 additions and 20 deletions
+3
View File
@@ -31,6 +31,9 @@ func (e *EmbyService) PlaybackInfo(ctx context.Context, mediaID, userID string)
if out == nil {
return nil, ErrEmbyRemoteNotFound
}
if err := e.mergeRemoteUserData(ctx, userID, out); err != nil {
return nil, err
}
out["PlaySessionId"] = fmt.Sprintf("remote-%s-%d", mountID, time.Now().Unix())
return out, nil
}