Yep. Series folder “Darker Than Black [tvdb-80042]” inside library root/grouping folder “Darker Than Black”
Now it exit but should let single folder in grouping folder pass so your folder structure trigger a bug
Grouping folders skip , unless single series folder ### [return]
Here is without any tests the possible fix: (considering any transparent and season folder at the end, test if grouping folders as reverse_path has more than one entries, then if folder at root has more than 1 subfolders)
parent_dir = os.path.dirname(os.path.join(root, reverse_path[-1])) # folder at root fullpath
parent_dir_nb = len([file for dir in os.listdir(parent_dir) if os.path.isdir(os.path.join(parent_dir, dir))]) #How many folders in folder at root
if len(reverse_path)>1 and parent_dir_nb>1 and "Plex Versions" not in parent_dir and "Optimized for " not in parent_dir:
Please test and update (no plex dance since in grouping folder so plex cache not used for folder content)