Closed IIeTp closed 3 years ago
Working as designed
Supported naming
So you can add to plex server the custom scanner, but not change the folder names ? That is tricky... i guess i could support S0x as folder season but it is messy, not following guidelines and needing a redesign of the logic so i leave this bug report open for when i have time
So you can add to plex server the custom scanner, but not change the folder names ? That is tricky...
Exactly. As with read-only access.
Could I motivate additionally by donating you? Would that help? Tell me how much. I could create a theme on my torrent tracker with a donation theme. All interested could invest in the project. Especially if you could add to the code so that the listed examples work as needed. Bilateral cooperation. We improve the scanner thanks to feedback and paypal.
Impacted series folder:
Is it because downloaded files are torrent sourced and cannot be renamed as they are being shared? If so, the folders could have been renamed at the download launch time...
Supporting season folders in series name is doable but
Donation would help definitely, but i need to have the issue corrected before accepting as i have little free time. BDrip folders working as expected btw?
Notes for me:
I wrote you additional information in the mail. Also, you can use this repository to improve your scanner
I haven't forgotten this request, but it requires two opposite behaviour:
If TheTVDB is the agent and no season folder is detected, we could read the season off the series folder, but that is a first for a scanner to check the agent version to change the behaviour... Lines for seasons detection
Here is my concise attempt to be inserted Line 550:
match = cic(r'^(?P<show>.*?)[ _\.][sS](?P<season>\d{1,2}).*$').search(reverse_path[-1])
if not folder_season and Dict(PLEX_LIBRARY, root, 'agent')=='com.plexapp.agents.thetvdb' and match and match.group('season'):
reverse_path[-1], folder_season = clean_string(match.group('show')), int(match.group('season'))
Log.info("[Debug] folder_season: {}, match: {}, agent: {}, show {}".format( folder_season, match, Dict(PLEX_LIBRARY, root, 'agent'), reverse_path[-1] ))
@IIeTp Any feedback on the code correction pasted above?
Greetings! I have a large library of TV shows, I have no access to change the names, so I ask for help. If you agree to help, I know where the donations link. Most seasons are defined as the first. Examples in the logs. _root_W -UNLIMITED-serials-bdremux-teamhd.filelist.log _root_W -UNLIMITED-serials-bdremux-teamhd.scanner.log Agents.of.S.H.I.E.L.D.S01.BDRemux.1080p.2xRus.Eng.HDCLUB.filelist.log Agents.of.S.H.I.E.L.D.S01.BDRemux.1080p.2xRus.Eng.HDCLUB.scanner.log Agents.of.S.H.I.E.L.D.S02.BDRemux.1080p.2xRus.Eng.HDCLUB.filelist.log Agents.of.S.H.I.E.L.D.S02.BDRemux.1080p.2xRus.Eng.HDCLUB.scanner.log Breaking Bad S01 BDRemux.filelist.log Breaking Bad S01 BDRemux.scanner.log Breaking Bad S03 BDRemux.filelist.log Breaking Bad S03 BDRemux.scanner.log