mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #3874] [MERGED] Fix MergeVersions() #9742
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/3874
Author: @danieladov
Created: 8/10/2020
Status: ✅ Merged
Merged: 9/3/2020
Merged by: @anthonylavado
Base:
master← Head:master📝 Commits (2)
c7b5bc5Fix MergeVersions()2f9b482Merge branch 'master' into master📊 Changes
1 file changed (+11 additions, -8 deletions)
View changed files
📝
Jellyfin.Api/Controllers/VideosController.cs(+11 -8)📄 Description
Merging two times the same videos adds a repeated (I mean literally the same video) to the linkedAlternateVersions list so mediaSourceCount gives an incorrect number, checking if the video is already in the linkedAlternateVersions list solves the problem
Changes
Check if the video is already in the linkedAlternateVersions list
Rename a list with a better name
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.