Search found 3 matches

by Diablobait
27 May 2020, 03:52
Forum: Help and Support
Topic: Courses
Replies: 5
Views: 3158

Re: Courses


your "structure" is not what you said = fail

{def ss = f.parentFile.name.replaceAll(/.+(\d+$)/,'$1'); fn.replaceAll(/(\d+).\s(.+)/, {match -> match[2] + '/' + 'Season ' + ss.pad(2) + '/' + match[2] + ' - S' + ss.pad(2) + 'E' + match[1].pad(2)})}


Works good except after Season 9 start again ...
by Diablobait
26 May 2020, 20:13
Forum: Help and Support
Topic: Courses
Replies: 5
Views: 3158

Re: Courses


must be a real show or i don't think plex "can identify"

but if you wanna rename you can use this format (in F2 mode/plain file mode https://www.filebot.net/forums/viewtopic.php?t=2072 ):
{def ss = f.parentFile.name.replaceAll(/.+(\d+$)/,'$1'); fn.replaceAll(/(\d+).\s(\w+\s)(\d+$)/, {match ...
by Diablobait
26 May 2020, 15:42
Forum: Help and Support
Topic: Courses
Replies: 5
Views: 3158

Courses

Hello i have a few courses with this structure:

Course Name:
Lesson name 1:
1. Course 1.mp4
1. Course 1.srt
2. Course 2.mp4
2. Course 2.srt
Lesson name 2:
1. Course 1.mp4
1. Course 1.srt
2. Course 2.mp4
2. Course 2.srt

Some way to rename so plex can identify as tvshow? Something like ...