mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 05:56:10 +05:00
formatting
This commit is contained in:
@@ -121,7 +121,7 @@ func findFileNamesakes(files []*state.TorrentFileStat, file *state.TorrentFileSt
|
|||||||
var namesakes []*state.TorrentFileStat
|
var namesakes []*state.TorrentFileStat
|
||||||
for _, f := range files {
|
for _, f := range files {
|
||||||
if strings.Contains(f.Path, name) { //external tracks always include name of videofile
|
if strings.Contains(f.Path, name) { //external tracks always include name of videofile
|
||||||
if (f != file) { //exclude itself
|
if f != file { //exclude itself
|
||||||
namesakes = append(namesakes, f)
|
namesakes = append(namesakes, f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user