You don't need to manually edit the filenames though, you just need to match the file with the episode/movie yourself:
https://www.youtube.com/watch?v=btNSv7AnMMw
![Image](http://app.filebot.net/getting-started/images/episodes.png)
Code: Select all
filebot -script fn:amc --output "F:/not sorted" --log-file amc.log --action test --conflict override -non-strict --def deleteAfterExtract=y subtitles=en unsorted=y excludeList=amc.txt "ut_dir=%3/%2" "ut_kind=multi" "ut_title=%2" "ut_label=%L"
Code: Select all
Parameter: deleteAfterExtract = y
Parameter: subtitles = en
Parameter: unsorted = y
Parameter: excludeList = amc.txt
Parameter: ut_dir = %3/%2
Parameter: ut_kind = multi
Parameter: ut_title = %2
Parameter: ut_label = %L
Using excludes: F:\not sorted\amc.txt (0)
No files selected for processing
Failure (┬░_┬░)
Divc09 wrote:Code: Select all
Parameter: ut_dir = %3/%2 Parameter: ut_kind = multi Parameter: ut_title = %2 Parameter: ut_label = %L
rednoah wrote:Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in a new console window and see what happens. You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first.
It's always helpful to check the exact command utorrent ends up executing in the Logger tab. It'll look something like this:Code: Select all
[2013-03-05 20:44:24] Executing: filebot -script fn:amc --output "D:/Organized Media" --log-file amc.log --action duplicate --conflict override -non-strict --def "ut_dir=D:\Media\Avatar" "ut_file=" "ut_kind=multi" "ut_title=Avatar" "ut_label=" "ut_state=5"
Code: Select all
#!/bin/bash
filebot -script fn:amc --output "path to media" --log-file amc.log --action copy --conflict override -non-strict --def "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"ls
Code: Select all
Run script [fn:amc] at [Fri Oct 28 19:09:36 EDT 2016]
Parameter: ut_dir = /
Parameter: ut_kind = multi
Parameter: ut_title = ls
Illegal usage: bad file arguments or ut_dir/ut_file parameters
Failure (°_°)
This script must be called by Transmission (but it's not) because the TR_* environment variables must be set (but they aren't).rednoah wrote:Troubleshooting
If something is not working, first read the Notes above, then just run the command manually in a new console window and see what happens. You CANNOT run the command without replacing the VARIABLES. The variables have to be replaced with actual values first.
Is it maybe because it should now be --def kodi=127.0.0.1 instead? Or should it stay as xbmc?"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --output "F:" --def "seriesFormat=F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}" "movieFormat=F:/Films/{n}" --log-file amc.log --action copy --conflict override -non-strict --def music=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def xbmc=127.0.0.1
Code: Select all
C:\Users\Russ>filebot -script fn:sysinfo
FileBot 4.7.2 (r4178)
JNA Native: 4.0.1
MediaInfo: 0.7.78
7-Zip-JBinding: 9.20
Chromaprint: 1.1.0
Extended Attributes: OK
Script Bundle: 2016-10-31 (r448)
Groovy: 2.4.7
JRE: Java(TM) SE Runtime Environment 1.8.0_91
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 8 Core / 1 GB Max Memory / 54 MB Used Memory
OS: Windows 7 (amd64)
Package: MSI
Data: C:\Users\Russ\AppData\Roaming\FileBot
Done ?(?????)?
And hit enter, nothing happens or shows up. It just goes back to the command prompt."C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --output "F:" --def "seriesFormat=F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}" "movieFormat=F:/Films/{n}" --log-file amc.log --action copy --conflict override -non-strict --def music=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def xbmc=127.0.0.1
Code: Select all
C:\Users\Russ>"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output "F:
" --def "seriesFormat=F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}" "movi
eFormat=F:/Films/{n}" --log-file amc.log --action copy --conflict override -non-
strict --def music=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_
file=%F" "ut_dir=%D" --def xbmc=127.0.0.1
Locking C:\Users\Russ\AppData\Roaming\FileBot\logs\amc.log
Run script [fn:amc] at [Tue Nov 01 18:33:30 CET 2016]
Parameter: seriesFormat = F:/TV/{n}/{'Season '+s}/{n} - {sxe} - {t}{'.'+lang}
Parameter: movieFormat = F:/Films/{n}
Parameter: music = y
Parameter: ut_label = %L
Parameter: ut_state = %S
Parameter: ut_title = %N
Parameter: ut_kind = %K
Parameter: ut_file = %F
Parameter: ut_dir = %D
Parameter: xbmc = 127.0.0.1
Bad ut_label value: %L
Bad ut_state value: %S
Bad ut_title value: %N
Bad ut_kind value: %K
Bad ut_file value: %F
Bad ut_dir value: %D
Illegal usage: no input
Failure (┬░_┬░)
READ THIS LINK.rednoah wrote:Read this while you're at it: viewtopic.php?f=4&t=4239
If you want to use command-line tools, then you at least need to learn how to use (as opposed to program) command-line tools. Please read Cmdline and Argument Passing.rednoah wrote:Accidentally escaping arguments (filebot -rename "C:\files\" --action test)
Code: Select all
Locking C:\Users\Russ\AppData\Roaming\FileBot\logs\amc.log
Code: Select all
wget -O FileBot.zip https://app.filebot.net/download.php?type=portable
unzip FileBot.zip
./filebot.sh -version
Code: Select all
[~] # wget -O FileBot.zip https://app.filebot.net/download.php?type=portable
--2016-11-06 23:08:15-- https://app.filebot.net/download.php?type=portable
Resolving app.filebot.net (app.filebot.net)... 104.27.153.61, 104.27.152.61, 2400:cb00:2048:1::681b:993d, ...
Connecting to app.filebot.net (app.filebot.net)|104.27.153.61|:443... connected.
ERROR: cannot verify app.filebot.net's certificate, issued by ‘/C=GB/ST=Greater Manchester/L=Salford/O=COMODO CA Limited/CN=COMODO ECC Domain Validation Secure Server CA 2’:
Unable to locally verify the issuer's authority.
To connect to app.filebot.net insecurely, use `--no-check-certificate'.
[~] # unzip FileBot.zip