have some quite weird behavior here and I'm not able to reproduce the error I'm seeing in the logs:
Console Output: Select all
[2024-03-12 20:35:29.596] Rename episodes using [TheMovieDB] with [Airdate Order]
[2024-03-12 20:35:32.469] Lookup via [] [234201]
[2024-03-12 20:35:32.470] Fetching episode data for [234201]
[2024-03-12 20:35:33.187] * Sexuell verfügbar [234201] | 5 episodes | 1x01-05
[2024-03-12 20:35:33.454] Lookup via [] [234201]
[2024-03-12 20:35:33.454] Fetching episode data for [234201]
[2024-03-12 20:35:33.455] * Sexuell verfügbar [234201] | 5 episodes | 1x01-05
[2024-03-12 20:35:33.457] Lookup via [] [234201]
[2024-03-12 20:35:33.458] * Sexuell verfügbar [234201] | 5 episodes | 1x01-05
[2024-03-12 20:35:33.461] Lookup via [] [234201]
[2024-03-12 20:35:33.461] Fetching episode data for [234201]
[2024-03-12 20:35:33.461] * Sexuell verfügbar [234201] | 5 episodes | 1x01-05
[2024-03-12 20:35:33.464] Lookup via [] [234201]
[2024-03-12 20:35:33.464] Fetching episode data for [234201]
[2024-03-12 20:35:33.464] * Sexuell verfügbar [234201] | 5 episodes | 1x01-05
[2024-03-12 20:35:35.287] Binding "genres": undefined
net.filebot.format.SuppressedThrowables: Expression yields empty value: Binding "genres": undefined
at net.filebot.format.ExpressionFormat.format(Unknown Source)
at net.filebot.format.ExpressionFormat.format(Unknown Source)
at net.filebot.cli.CmdlineOperations.formatMatch(Unknown Source)
at net.filebot.cli.CmdlineOperations.getRenameMap(Unknown Source)
at net.filebot.cli.CmdlineOperations.renameSeries(Unknown Source)
at net.filebot.cli.CmdlineOperations.rename(Unknown Source)
at net.filebot.cli.ArgumentProcessor.runCommand(Unknown Source)
at net.filebot.cli.ArgumentProcessor.run(Unknown Source)
at net.filebot.Main.main(Unknown Source)
Caused by: net.filebot.format.BindingException: Binding "genres": undefined
at net.filebot.format.MediaBindingBean.undefined(Unknown Source)
at net.filebot.format.ExpressionBindings$MethodBinding.invoke(Unknown Source)
at net.filebot.format.ExpressionBindings.get(Unknown Source)
at net.filebot.format.ExpressionFileFormat$1.get(Unknown Source)
at Script1.run(Script1.groovy:2)
at Script.run(Script:3)
at net.filebot.format.ExpressionEngine.evaluateScriptlet(Unknown Source)
... 9 more
[2024-03-12 20:35:35.289] Error (o_O)
[2024-03-12 20:37:13.008] Rename episodes using [TheTVDB] with [Airdate Order]
[2024-03-12 20:37:15.775] Lookup via [] [447198]
[2024-03-12 20:37:15.777] Fetching episode data for [447198]
[2024-03-12 20:37:17.364] * Sexuell verfügbar [447198] | 5 episodes | 1x01-05
[2024-03-12 20:37:17.647] Lookup via [] [447198]
[2024-03-12 20:37:17.647] Fetching episode data for [447198]
[2024-03-12 20:37:17.648] * Sexuell verfügbar [447198] | 5 episodes | 1x01-05
[2024-03-12 20:37:17.651] Lookup via [] [447198]
[2024-03-12 20:37:17.651] Fetching episode data for [447198]
[2024-03-12 20:37:17.651] * Sexuell verfügbar [447198] | 5 episodes | 1x01-05
[2024-03-12 20:37:17.654] Lookup via [] [447198]
[2024-03-12 20:37:17.654] Fetching episode data for [447198]
[2024-03-12 20:37:17.655] * Sexuell verfügbar [447198] | 5 episodes | 1x01-05
[2024-03-12 20:37:17.657] Lookup via [] [447198]
[2024-03-12 20:37:17.657] Fetching episode data for [447198]
[2024-03-12 20:37:17.658] * Sexuell verfügbar [447198] | 5 episodes | 1x01-05
[2024-03-12 20:37:21.105] [MOVE] from [/glftpd/site/incoming/at_sl/serie/Sexuell.verfuegbar.S01E01.Miki.und.Ben.GERMAN.720p.WEB.x264-TMSF/tmsf-sexuellverfuegbar-s01e01-720p.mkv] to [/glftpd/site/sorted/1080p/serie/allgemein/s/sexuell.verfügbar.2024/s01/sexuell.verfügbar.2024.s01e01.720p.x264.aac.2ch.de.mkv]
[2024-03-12 20:37:21.130] [MOVE] from [/glftpd/site/incoming/at_sl/serie/Sexuell.verfuegbar.S01E02.Du.musst.kaempfen.GERMAN.720p.WEB.x264-TMSF/tmsf-sexuellverfuegbar-s01e02-720p.mkv] to [/glftpd/site/sorted/1080p/serie/allgemein/s/sexuell.verfügbar.2024/s01/sexuell.verfügbar.2024.s01e02.720p.x264.aac.2ch.de.mkv]
[2024-03-12 20:37:21.130] [MOVE] from [/glftpd/site/incoming/at_sl/serie/Sexuell.verfuegbar.S01E03.Lady.Sheriffs.GERMAN.720p.WEB.x264-TMSF/tmsf-sexuellverfuegbar-s01e03-720p.mkv] to [/glftpd/site/sorted/1080p/serie/allgemein/s/sexuell.verfügbar.2024/s01/sexuell.verfügbar.2024.s01e03.720p.x264.aac.2ch.de.mkv]
[2024-03-12 20:37:21.130] [MOVE] from [/glftpd/site/incoming/at_sl/serie/Sexuell.verfuegbar.S01E04.Porno.Girls.GERMAN.720p.WEB.x264-TMSF/tmsf-sexuellverfuegbar-s01e04-720p.mkv] to [/glftpd/site/sorted/1080p/serie/allgemein/s/sexuell.verfügbar.2024/s01/sexuell.verfügbar.2024.s01e04.720p.x264.aac.2ch.de.mkv]
[2024-03-12 20:37:21.131] [MOVE] from [/glftpd/site/incoming/at_sl/serie/Sexuell.verfuegbar.S01E05.Liebe.und.Zeit.GERMAN.720p.WEB.x264-TMSF/tmsf-sexuellverfuegbar-s01e05-720p.mkv] to [/glftpd/site/sorted/1080p/serie/allgemein/s/sexuell.verfügbar.2024/s01/sexuell.verfügbar.2024.s01e05.720p.x264.aac.2ch.de.mkv]
[2024-03-12 20:37:21.143] Processed 5 files
Format: Select all
((none{genre} == true ? 'kein_genre' : (genre.replace(csv("/scripts/fb/media.list/media.genre.list.csv"))))+"/"+
((n.match(/.*-*|\d*/) ? (n.substring(0,1)) : (localize.deu.n.clean().substring(0,1))).toLowerCase())+"/"+
((n.match(/.*-*|\d*/) ? (localize.deu.n.lower().space('.')) : (localize.deu.n.clean())).lower().space('.'))+"."+y+"/"+
(episode.special ? 'specials' : 's'+s.pad(2))+"/"+
allOf
{(n.match(/.*-*|\d*/) ? (localize.deu.n.lower().space('.')) : (localize.deu.n.clean())).lower().space('.')}{y}{s00e00}
{vf.match(/480[pP]|576[pP]|720[pP]|1080[pP]|2160[pP]/)}{bitdepth == 10 ? '10bit' : null}{vc}{ac}{af}{any{audioLanguages[0].ISO2}{'und'}}
.join('.').space('.').lower().removeAll(','))
Questions:
As my none{genre} condition doesn't seem to cover the case that this binding is 'undefined' which seems to be something different than being 'empty' (?)...in which other way am I suppose to catch those cases? I tried with any {genre} but in the case it's indeed empty this should also fail which is the reason i chose the none route.
How can one and the same filebot operation with the same variables (like files, used format, used arguments, same DB etc) fail at a given moment and minutes later it works flawlessly?
This isnt a once in a lifetime occurance/statistical anomaly. Got several cases in my logfiles if some one is interested
Any input is appreciated. Cheers