Sonarr version (exact version): 3.0.1.467 Mono version (if Sonarr is not running on Windows): OS: Windows 10 Debug logs: NA (Make sure debug logging is enabled in settings and post the full log to hastebin/pastebin/dropbox/google drive or something similar, do not post them directly here. Post in .txt not .doc, .rtf or some other formatted document) Description of issue: I have just migrated from v2 of Sonarr to v3 and in the process are setting up new naming formats etc.
In my new setup I have {Release Group} as part of my naming structure which is fine for new releases however if I rename one of my old releases instead of leaving the {Release Group} blank it either adds Sonarr as below
or if the series name has a “-” in it whatever is after the “-” gets added is there any way to stop this from happening when trying to rename old files?
Sonarr uses the ‘Sonarr’ default to avoid weird filenames like Series.Title.S01E01.x264-.mkv.
But you can use {.Release Group} instead of .{Release Group}. Prefixes/Suffixes embedded in the token are omitted if the value itself is empty.
For the Release Group there is special logic that omits the ‘Sonarr’ default if such an embedded prefix/suffix is present.
So {Series.Title}.S{season:00}E{episode:00}-{Release Group}
generates Series.Title.S01E01-Sonarr.mkv instead of Series.Title.S01E01-.mkv
but {Series.Title}.S{season:00}E{episode:00}{-Release Group}
generates Series.Title.S01E01.mkv
Thanks for that I have just tried this and works great, seems you have thought of everything after all
I just did another test against one of the other cases that was causing an issue with the above and that is where there is a “-” in the file name, such as the example below:-
Season 1\Dr.Ken.S01E05.Halloween-Aversary.WEBDL-1080p.mkv
Season 1\Dr.Ken.S01E05.Halloween-Aversary.WEBDL-1080p.Aversary.mkv
yes, my trick was only for avoiding the ‘Sonarr’ release group, not the parser issue.
It’s not supposed to accept anything that’s followed by WEBDL or 720p/1080p, stuff like that. So it’s kinda a bug. I’ve filed it as https://github.com/Sonarr/Sonarr/issues/3097