How do I double-quote argument values that contains double-quote characters themselves?
Posted: 12 Sep 2023, 23:45
trying to make a all in one Scripting
can anyone help me with this or maybe have one to show me?
my code im try to get to working but it not working
im get this
can anyone help me with this or maybe have one to show me?
my code im try to get to working but it not working
Code: Select all
"C:\Program Files\FileBot\filebot.exe" -script fn:amc --action duplicate --conflict skip -non-strict "X:\Plex Collection\need work" --output "X:/Media" --def movieFormat="X:/Media/Movies/{anime ? "Anime Movies" : genres.contains('Animation') ? "Animation Movies" : "Movies"}/{n} ({y})/{fn}" seriesFormat="X:/Media/Series/{anime ? "Anime" : genres.contains('Animation') ? "TV Shows Animation" : "TV Shows"}/{ny}/{episode.special ? 'Specials' : 'Season 0'+s}/{fn}" animeFormat="X:/Media/Anime/{anime ? "Anime" : genres.contains('Animation') ? "TV Shows Animation" : "TV Shows"}/{ny}/{episode.special ? 'Specials' : 'Season 0'+s}/{fn}" musicFormat="X:/Media/Audio/{ ~plex } --log-file amc.log --def excludeList=amc.excludes --def unsorted=y music=y artwork=y "ut_label=%L" "ut_title=%N" "ut_kind=multi" "ut_dir=%F"
Code: Select all
[PSA] Important Discussion of Changes effective as of 28 Apr 2023:
https://www.filebot.net/forums/viewtopic.php?t=13406
Parameter: movieFormat = X:/Media/Movies/{anime ? Anime
Argument[0]: X:\Plex Collection\need work
Argument[1]: File does not exist: X:\\Movies : genres.contains('Animation') ? Animation
Argument[2]: File does not exist: X:\\Movies : Movies}\{n} ({y})\{fn}
Argument[3]: File does not exist: X:\\seriesFormat=X:\Media\Series\{anime ? Anime : genres.contains('Animation') ? TV
Argument[4]: File does not exist: X:\\Shows
Argument[5]: File does not exist: X:\\Animation : TV
Argument[6]: File does not exist: X:\\Shows}\{ny}\{episode.special ? 'Specials' : 'Season 0'+s}\{fn}
Argument[7]: File does not exist: X:\\animeFormat=X:\Media\Anime\{anime ? Anime : genres.contains('Animation') ? TV
Argument[8]: File does not exist: X:\\Shows
Argument[9]: File does not exist: X:\\Animation : TV
Argument[10]: File does not exist: X:\\Shows}\{ny}\{episode.special ? 'Specials' : 'Season 0'+s}\{fn}
Argument[11]: File does not exist: X:\\musicFormat=X:\Media\Audio\{ ~plex } --log-file amc.log --def excludeList=amc.excludes --def unsorted=y music=y artwork=y ut_label=N ut_kind=multi ut_dir=F
File does not exist: X:\\Movies : genres.contains('Animation') ? Animation
File does not exist: X:\\Movies : Movies}\{n} ({y})\{fn}
File does not exist: X:\\seriesFormat=X:\Media\Series\{anime ? Anime : genres.contains('Animation') ? TV
File does not exist: X:\\Shows
File does not exist: X:\\Animation : TV
File does not exist: X:\\Shows}\{ny}\{episode.special ? 'Specials' : 'Season 0'+s}\{fn}
File does not exist: X:\\animeFormat=X:\Media\Anime\{anime ? Anime : genres.contains('Animation') ? TV
File does not exist: X:\\Shows
File does not exist: X:\\Animation : TV
File does not exist: X:\\Shows}\{ny}\{episode.special ? 'Specials' : 'Season 0'+s}\{fn}
File does not exist: X:\\musicFormat=X:\Media\Audio\{ ~plex } --log-file amc.log --def excludeList=amc.excludes --
Failure (?_?)??