Im trying to wrap my head around using --q / --filter to match a tv show. It seems like there is something Im missing here.
As you can see, the script has issues finding the right show when not using any filters
Code: Select all
Run script [fn:amc] at [Fri Nov 15 08:17:41 CET 2024]
Parameter: movieFormat = O:/{vf =~ /2160p|4K/ ? '4K' : genres =~ /Family|Children|Animation/ ? 'Barnfilm' : 'X264-10'}/{n.upperInitial()} ({y})/{n.upperInitial()} ({y})
Parameter: seriesFormat = O:/{genres =~ /Children/ ? 'Barn-TV' : 'TV-12'}/{n.upperInitial()}/S{s.pad(2)}/{n.upperInitial()} - {s00e00} - {t}
Parameter: seriesDB = TheTVDB
Parameter: movieDB = TheMovieDB
Parameter: skipExtract = y
Parameter: excludeList = C:\TV-IN\Filebot\amc.txt
Parameter: subtitles = swe,eng
Parameter: unsorted = y
Parameter: clean = y
Parameter: plex = *****
Argument[0]: C:\TV-IN\TV
Use excludes: C:\TV-IN\Filebot\amc.txt (0)
Input: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv
Group files by movie or series
Group: {Series=The Bachelor (2002)} => [bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv]
Get [Swedish] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv (Swedish)
Get [English] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv (English)
Rename episodes using [TheTVDB] with [Airdate Order]
Lookup via [The Bachelor] [bachelor sverige]
Fetching episode data for [The Bachelor]
* The Bachelor [70869] | 296 episodes | 1x01-07 .. 2x01-08 .. 3x01-09 .. 4x01-10 .. 5x01-09 .. 6x01-10 .. 7x01-09 .. 8x01-08 .. 9x01-08 .. 10x01-09 .. 11x01-10 .. 12x01-09 .. 13x01-11 .. 14x01-10 .. 15x01-12 .. 16x01-12 .. 17x01-13 .. 18x01-12 .. 19x01-13 .. 20x01-12 .. 21x01-13 .. 22x01-12 .. 23x01-12 .. 24x01-12 .. 25x01-12 .. 26x01-12 .. 27x01-11 .. 28x01-11
Fetching episode data for [Bachelor Sverige]
* Bachelor Sverige [318197] | 201 episodes | 1x01-20 .. 2x01-15 .. 3x01-14 .. 4x01-23 .. 5x01-13 .. 6x01-40 .. 7x01-40 .. 8x01-36
* The Bachelor [70869] | 296 episodes | 1x01-07 .. 2x01-08 .. 3x01-09 .. 4x01-10 .. 5x01-09 .. 6x01-10 .. 7x01-09 .. 8x01-08 .. 9x01-08 .. 10x01-09 .. 11x01-10 .. 12x01-09 .. 13x01-11 .. 14x01-10 .. 15x01-12 .. 16x01-12 .. 17x01-13 .. 18x01-12 .. 19x01-13 .. 20x01-12 .. 21x01-13 .. 22x01-12 .. 23x01-12 .. 24x01-12 .. 25x01-12 .. 26x01-12 .. 27x01-11 .. 28x01-11
Multiple options for ambiguous file path: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv: [The Bachelor, Bachelor Sverige]
* Consider using -non-strict to enable advanced auto-selection
* Consider using --filter "id in [70869]" or --q "The Bachelor" to select one specific series
* Consider using --mode interactive to enable interactive mode
Failed to identify or process any files
Code: Select all
* Consider using --filter "id in [70869]" or --q "The Bachelor" to select one specific series
Code: Select all
https://www.thetvdb.com/series/318197-show
Code: Select all
movieFormat=O:/{vf =~ /2160p|4K/ ? '4K' : genres =~ /Family|Children|Animation/ ? 'Barnfilm' : 'X264-10'}/{n.upperInitial()} ({y})/{n.upperInitial()} ({y})
seriesFormat=O:/{genres =~ /Children/ ? 'Barn-TV' : 'TV-12'}/{n.upperInitial()}/S{s.pad(2)}/{n.upperInitial()} - {s00e00} - {t}
seriesDB=TheTVDB
movieDB=TheMovieDB
--q "Bachelor Sverige"
Code: Select all
Run script [fn:amc] at [Fri Nov 15 08:22:21 CET 2024]
Parameter: movieFormat = O:/{vf =~ /2160p|4K/ ? '4K' : genres =~ /Family|Children|Animation/ ? 'Barnfilm' : 'X264-10'}/{n.upperInitial()} ({y})/{n.upperInitial()} ({y})
Parameter: seriesFormat = O:/{genres =~ /Children/ ? 'Barn-TV' : 'TV-12'}/{n.upperInitial()}/S{s.pad(2)}/{n.upperInitial()} - {s00e00} - {t}
Parameter: seriesDB = TheTVDB
Parameter: movieDB = TheMovieDB
Parameter: skipExtract = y
Parameter: excludeList = C:\TV-IN\Filebot\amc.txt
Parameter: subtitles = swe,eng
Parameter: unsorted = y
Parameter: clean = y
Parameter: plex = *****
Argument[0]: C:\TV-IN\TV
Use excludes: C:\TV-IN\Filebot\amc.txt (0)
Input: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv
Group files by movie or series
Group: {Series=The Bachelor (2002)} => [bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv]
Get [Swedish] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv (Swedish)
Get [English] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv (English)
Rename episodes using [TheTVDB] with [Airdate Order]
Lookup via [The Bachelor] [bachelor sverige]
Fetching episode data for [The Bachelor]
* The Bachelor [70869] | 296 episodes | 1x01-07 .. 2x01-08 .. 3x01-09 .. 4x01-10 .. 5x01-09 .. 6x01-10 .. 7x01-09 .. 8x01-08 .. 9x01-08 .. 10x01-09 .. 11x01-10 .. 12x01-09 .. 13x01-11 .. 14x01-10 .. 15x01-12 .. 16x01-12 .. 17x01-13 .. 18x01-12 .. 19x01-13 .. 20x01-12 .. 21x01-13 .. 22x01-12 .. 23x01-12 .. 24x01-12 .. 25x01-12 .. 26x01-12 .. 27x01-11 .. 28x01-11
Fetching episode data for [Bachelor Sverige]
* Bachelor Sverige [318197] | 201 episodes | 1x01-20 .. 2x01-15 .. 3x01-14 .. 4x01-23 .. 5x01-13 .. 6x01-40 .. 7x01-40 .. 8x01-36
* The Bachelor [70869] | 296 episodes | 1x01-07 .. 2x01-08 .. 3x01-09 .. 4x01-10 .. 5x01-09 .. 6x01-10 .. 7x01-09 .. 8x01-08 .. 9x01-08 .. 10x01-09 .. 11x01-10 .. 12x01-09 .. 13x01-11 .. 14x01-10 .. 15x01-12 .. 16x01-12 .. 17x01-13 .. 18x01-12 .. 19x01-13 .. 20x01-12 .. 21x01-13 .. 22x01-12 .. 23x01-12 .. 24x01-12 .. 25x01-12 .. 26x01-12 .. 27x01-11 .. 28x01-11
Apply filter [--filter "id in [318197]"] on [513] options
Exclude [The Bachelor - 1x01 - Week One]
...
Exclude [Bachelor Sverige - 8x31 - 31]
...
[0] options remaining
* Consider using --filter "true" to disable your filter if your filter has unexpectedly excluded all potential matches
Failed to identify or process any files
Code: Select all
Exclude [Bachelor Sverige - 8x31 - 31]
Code: Select all
movieFormat=O:/{vf =~ /2160p|4K/ ? '4K' : genres =~ /Family|Children|Animation/ ? 'Barnfilm' : 'X264-10'}/{n.upperInitial()} ({y})/{n.upperInitial()} ({y})
seriesFormat=O:/{genres =~ /Children/ ? 'Barn-TV' : 'TV-12'}/{n.upperInitial()}/S{s.pad(2)}/{n.upperInitial()} - {s00e00} - {t}
seriesDB=TheTVDB
movieDB=TheMovieDB
--filter "318197"
Code: Select all
Run script [fn:amc] at [Fri Nov 15 08:52:06 CET 2024]
Parameter: movieFormat = O:/{vf =~ /2160p|4K/ ? '4K' : genres =~ /Family|Children|Animation/ ? 'Barnfilm' : 'X264-10'}/{n.upperInitial()} ({y})/{n.upperInitial()} ({y})
Parameter: seriesFormat = O:/{genres =~ /Children/ ? 'Barn-TV' : 'TV-12'}/{n.upperInitial()}/S{s.pad(2)}/{n.upperInitial()} - {s00e00} - {t}
Parameter: seriesDB = TheTVDB
Parameter: movieDB = TheMovieDB
Parameter: skipExtract = y
Parameter: excludeList = C:\TV-IN\Filebot\amc.txt
Parameter: subtitles = swe,eng
Parameter: unsorted = y
Parameter: clean = y
Parameter: plex = *****
Argument[0]: C:\TV-IN\TV
Use excludes: C:\TV-IN\Filebot\amc.txt (0)
Input: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv
Group files by movie or series
Group: {Series=The Bachelor (2002)} => [bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv]
Get [Swedish] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv (Swedish)
Get [English] subtitles for 1 file
Looking up subtitles by hash via OpenSubtitles
No subtitles: C:\TV-IN\TV\Bachelor.Sverige.S08E31.SWEDiSH.1080p.WEB.h264-OLLONBORRE\bachelor.sverige.s08e31.swedish.1080p.web.h264-ollonborre.mkv (English)
Rename episodes using [TheTVDB] with [Airdate Order]
Lookup via [The Bachelor] [bachelor sverige]
Fetching episode data for [The Bachelor]
* The Bachelor [70869] | 296 episodes | 1x01-07 .. 2x01-08 .. 3x01-09 .. 4x01-10 .. 5x01-09 .. 6x01-10 .. 7x01-09 .. 8x01-08 .. 9x01-08 .. 10x01-09 .. 11x01-10 .. 12x01-09 .. 13x01-11 .. 14x01-10 .. 15x01-12 .. 16x01-12 .. 17x01-13 .. 18x01-12 .. 19x01-13 .. 20x01-12 .. 21x01-13 .. 22x01-12 .. 23x01-12 .. 24x01-12 .. 25x01-12 .. 26x01-12 .. 27x01-11 .. 28x01-11
Fetching episode data for [Bachelor Sverige]
* Bachelor Sverige [318197] | 201 episodes | 1x01-20 .. 2x01-15 .. 3x01-14 .. 4x01-23 .. 5x01-13 .. 6x01-40 .. 7x01-40 .. 8x01-36
* The Bachelor [70869] | 296 episodes | 1x01-07 .. 2x01-08 .. 3x01-09 .. 4x01-10 .. 5x01-09 .. 6x01-10 .. 7x01-09 .. 8x01-08 .. 9x01-08 .. 10x01-09 .. 11x01-10 .. 12x01-09 .. 13x01-11 .. 14x01-10 .. 15x01-12 .. 16x01-12 .. 17x01-13 .. 18x01-12 .. 19x01-13 .. 20x01-12 .. 21x01-13 .. 22x01-12 .. 23x01-12 .. 24x01-12 .. 25x01-12 .. 26x01-12 .. 27x01-11 .. 28x01-11
Apply filter [--filter "318197"] on [513] options
Exclude [The Bachelor - 1x01 - Week One]
...
Exclude [Bachelor Sverige - 8x30 - 30]
Exclude [Bachelor Sverige - 8x31 - 31]
Exclude [Bachelor Sverige - 8x32 - 32]
Exclude [Bachelor Sverige - 8x33 - 33]
Exclude [Bachelor Sverige - 8x34 - 34]
Exclude [Bachelor Sverige - 8x35 - 35]
Exclude [Bachelor Sverige - 8x36 - 36]
[0] options remaining
* Consider using --filter "true" to disable your filter if your filter has unexpectedly excluded all potential matches
Failed to identify or process any files
Code: Select all
Exclude [Bachelor Sverige - 8x31 - 31]
https://imgur.com/a/BETvhjE
What im I missing here? Please push me in the right direction.
Thanks!