I decided to switch up my tactics a bit.
I noticed that the rTorrent docker container I am using contained curl. So I setup filebot-node and I am trying to test generating requests from rTorrent docker to the filebot docker via curl
Code: Select all
docker run -it --name=filebot-node -e PUID=1000 -e PGID=1000 -v /home/XXXX/Downloads:/Downloads -v /home/XXXX/Share:/Share -v /home/XXXX/.filebot:/data -p 5452:5452 rednoah/filebot:node
I executed a request from the webui and saw this in the log
Code: Select all
Mon Oct 23 2017 16:41:54 GMT+0000 (UTC)
GET: /tasks
------------------------------------------
Mon Oct 23 2017 16:41:55 GMT+0000 (UTC)
GET: /execute?_dc=1508776915700&fn=amc&input=%2FDownloads%2FTV%2FVice.Principals.S02E06.720p.WEB.H264-STRiFE&label=tv&action=copy&output=%2FShare&filter=&subtitles=eng&lang=en&conflict=auto&music=no&unsorted=no&ignore=&minLengthMS=&minFileSize=&excludeList=%2Fdata%2Famc_exclude.txt&movieFormat=%7Bplex%7D&seriesFormat=TV%2F%7Bplex.tail%7D&animeFormat=%7Bplex%7D&musicFormat=%7Bplex%7D&unsortedFormat=&exec=&plex=&kodi=&pushover=XXXXXX&pushbullet=&channel=fn&log=all
------------------------------------------
Mon Oct 23 2017 16:41:55 GMT+0000 (UTC)
GET: /tasks
------------------------------------------
I know that _dc is the unix time stamp, but I figured that was an optional parameter.
In order to test if my plan would work I ran this command in a regular terminal window
Code: Select all
curl "127.0.0.1:5452/filebot/execute?fn=amc&input=%2FDownloads%2FTV%2FVice.Principals.S02E06.720p.WEB.H264-STRiFE&label=tv&action=copy&output=%2FShare&filter=&subtitles=eng&lang=en&conflict=auto&music=no&unsorted=no&ignore=&minLengthMS=&minFileSize=&excludeList=%2Fdata%2Famc_exclude.txt&movieFormat=%7Bplex%7D&seriesFormat=TV%2F%7Bplex.tail%7D&animeFormat=%7Bplex%7D&musicFormat=%7Bplex%7D&unsortedFormat=&exec=&plex=&kodi=&pushover=XXXXXX&pushbullet=&channel=fn&log=all"
When looking at the log afterwards , this is what I see,
however nothing seems to happen. My excludes file is empty, so I'm not sure what is happening. The webui also doesn't update when doing this, but I didn't expect it to really.
Code: Select all
Mon Oct 23 2017 16:56:04 GMT+0000 (UTC)
GET: /filebot/execute?fn=amc&input=%2FDownloads%2FTV%2FVice.Principals.S02E06.720p.WEB.H264-STRiFE&label=tv&action=copy&output=%2FShare&filter=&subtitles=eng&lang=en&conflict=auto&music=no&unsorted=no&ignore=&minLengthMS=&minFileSize=&excludeList=%2Fdata%2Famc_exclude.txt&movieFormat=%7Bplex%7D&seriesFormat=TV%2F%7Bplex.tail%7D&animeFormat=%7Bplex%7D&musicFormat=%7Bplex%7D&unsortedFormat=&exec=&plex=&kodi=&pushover=XXXXXX&pushbullet=&channel=fn&log=all