Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- args.getFiles{ it.isVideo() && parseEpisodeNumber(it) && detectSeriesName(it) }.groupBy{ detectSeriesName(it) }.each{ series, files ->
- fetchEpisodeList(query:series, format:'{n}\t{sxe}\t{t}')?.collect{ it.split('\t') }.each{ elf ->
- if (!(elf[0] == series && files.find{ parseEpisodeNumber(elf[1]) == parseEpisodeNumber(it)}) && parseEpisodeNumber(elf[1]).season > 0) {
- println elf.join(' - ')
- }
- }
- }
Add Comment
Please, Sign In to add comment