Sonarr v3 renaming bug

Sonarr version (exact version) : 3.0.3.687
Mono version (if Sonarr is not running on Windows) : 5.20.1.34
OS : Debian
Description of issue:

So I modified my standard episode format to this:

{Series TitleYear} - S{season:00}E{episode:00} - {Episode Title} - [{Quality Title}] [{Mediainfo AudioCodec} {Mediainfo AudioChannels}ch {MediaInfo AudioLanguages}] [{Mediainfo VideoCodec} {Mediainfo VideoBitDepth}bit] - {Release Group}

And I noticed two issues.

  1. It doesn’t show the audio languages in the preview below the field like so:

I also don’t think it’s appending the audio languages correctly in the resulting filenames.

  1. I renamed all my files and everything was working properly except for the fact that it changed all release groups to “Sonarr”, bummer! Does this mean Sonarr didn’t detect the original release groups for my files? My old standard episode naming format was:

{Series Title} - S{season:00}E{episode:00} - {Episode Title} - [{Quality Title} - {Release Group}]

Are these both v3 bugs?

Likely just a preview issue.

It either is or it isn’t, what do the logs show?

Yes, it failed to detect them, it’s not a bug.

Ok.

Here are the logs for one renamed file:

20-1-13 01:26:48.4|Debug|RenameEpisodeFileService|Renaming episode file: [339] Season 03/Gotham - S03E11 - Mad City- Beware the Green-Eyed Monster [Bluray-1080p - ROVERS].mp4
20-1-13 01:26:48.4|Debug|EpisodeFileMovingService|Renaming episode file: [339] Season 03/Gotham - S03E11 - Mad City- Beware the Green-Eyed Monster [Bluray-1080p - ROVERS].mp4 to /storage/shows/Gotham/Season 03/Gotham (2014) - S03E11 - Mad City - Beware the Green-Eyed Monster - [Bluray-1080p] [AAC 2.0ch ] [x264 8bit] - Eyed.mp4
20-1-13 01:26:48.4|Debug|DiskTransferService|Move [/storage/shows/Gotham/Season 03/Gotham - S03E11 - Mad City- Beware the Green-Eyed Monster [Bluray-1080p - ROVERS].mp4] > [/storage/shows/Gotham/Season 03/Gotham (2014) - S03E11 - Mad City - Beware the Green-Eyed Monster - [Bluray-1080p] [AAC 2.0ch ] [x264 8bit] - Eyed.mp4]
20-1-13 01:26:48.4|Debug|UpdateEpisodeFileService|Date of file [/storage/shows/Gotham/Season 03/Gotham (2014) - S03E11 - Mad City - Beware the Green-Eyed Monster - [Bluray-1080p] [AAC 2.0ch ] [x264 8bit] - Eyed.mp4] changed from '11/28/2016 12:00:00 PM' to '11/28/2016 8:00:00 PM'
20-1-13 01:26:48.4|Debug|DiskProvider|Setting permissions: 0664 on /storage/shows/Gotham/Season 03/Gotham (2014) - S03E11 - Mad City - Beware the Green-Eyed Monster - [Bluray-1080p] [AAC 2.0ch ] [x264 8bit] - Eyed.mp4
20-1-13 01:26:48.5|Debug|RenameEpisodeFileService|Renamed episode file: [339] Season 03/Gotham (2014) - S03E11 - Mad City - Beware the Green-Eyed Monster - [Bluray-1080p] [AAC 2.0ch ] [x264 8bit] - Eyed.mp4

You see it doesn’t list the media audio languages. Or does it not list it when it’s in English?

Looked to be sure, it won’t include the language if it’s only English.

Ok, that explains it then. As for the preview bug, it looks like to be an issue even with v2.

I’m still seeing the rename bug. Most of my Arrow episodes were updated. Here’s the logs of one of the episodes:

https://pastebin.com/zntesPe4

Looks like Sonarr really cannot parse the release group. Why? I’m assuming it should be AMZN. How is Sonarr’s logic in trying to determine the release group anyway?

What rename bug? So far neither thing you mentioned has been a bug.

Release group parsing is quite restrictive, typically following the pattern -RlsGroup (at the end) or [RlsGroup] (mainly anime), deviations from that won’t likely be parsed or parsed incorrectly.

Ok, it is not a bug then.

Why was release group parsing set to be restrictive?

Because there’s a lower boundary after which any release “name” becomes unparsable crap? Scene releases at least follow a pretty strict naming convention. Anime sort of does, it seems (I don’t have a lot of experience with it). Anything else is just the Wild West, and it’s not easy to write code to understand all the crazy names that people put out there…
There’s also the compulsive behavior some people have, where they add brackets or other fancy separators for no reason (imho), to the file names to make them look “pretty”, as if it’s still 1995 and people play files by browsing their hand-curated directories and double-clicking them. I haven’t seen any of my series folders in years, since people invented decent media portals like Plex, Kodi and others…

/rant over, sorry :wink:

That makes sense, thanks :slight_smile:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.