mirror of
https://github.com/truewhile/MeBox.git
synced 2026-10-11 07:46:37 +08:00
Fix scraping workflows subscriptions bot and recycle bin
This commit is contained in:
@@ -167,7 +167,7 @@ func WriteMediaNFO(m *model.Media) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
dst := nfoPath(m.Path)
|
||||
dst := nfoPath(resolveMappedDestinationPath(m.Path))
|
||||
if err := os.WriteFile(dst, []byte(xml.Header+string(out)+"\n"), 0o644); err != nil { // #nosec G306 -- NFO sidecars must remain readable by media players.
|
||||
return "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user