mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-16 20:12:22 +03:00
Add UpdatedAt to transcoding cache key
This commit is contained in:
parent
0403ec2a07
commit
d877928f11
@ -40,7 +40,7 @@ type streamJob struct {
|
||||
}
|
||||
|
||||
func (j *streamJob) String() string {
|
||||
return fmt.Sprintf("%s.%d.%s", j.mf.ID, j.bitRate, j.format)
|
||||
return fmt.Sprintf("%s.%s.%d.%s", j.mf.ID, j.mf.UpdatedAt.Format(time.RFC3339Nano), j.bitRate, j.format)
|
||||
}
|
||||
|
||||
func (ms *mediaStreamer) NewStream(ctx context.Context, id string, reqFormat string, reqBitRate int) (*Stream, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user