Logs in each individual media folder

Any questions? Need some help?
Post Reply
vanhouten035
Posts: 5
Joined: 11 Apr 2016, 12:23

Logs in each individual media folder

Post by vanhouten035 »

Hey,

I was wondering if it's possible to create a cmd log from the file that is being processed and being put right next to the media file.
This would make it easier for me to identify what subititle file has been fetched for the media file.

Not sure if it is possible, just wondering if it is and if you guys could help me with it.

P.S
I'm not a great scripter I'm affraid. :roll:

System: Windows 7 64bit.

Code: Select all

filebot -script fn:amc --output "D:\Plex\Plex Media" --log-file amc.log --log-file "D:\Plex\Logs\log.txt" --conflict skip --action copy "D:\Plex\Gedownloade torrents" --def excludeList=amc.txt -non-strict --def clean=y subtitles=nl,en
filebot -script fn:replace --def "e=.nld.srt" "r=.nl.srt" "D:\Plex\Plex Media"
filebot -script fn:replace --def "e=.eng.srt" "r=.en.srt" "D:\Plex\Plex Media"
--def plex=host:XXXXXXXXXX
This is the current .bat file which will run after a media torrent has finished downloading.

So basicly what I'm asking:
If a media file is being processed and will end up in this folder:
D:\Plex\Plex Media\Movies\Crimson Peak (2015)
Would it be possible to create a log file of the cmd being used to process this file in this folder aswell?
So like this:
D:\Plex\Plex Media\Movies\Crimson Peak (2015)\log.txt
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Logs in each individual media folder

Post by rednoah »

1.
Sorry, the --log-file logs is all you get. But based on those logs you could probably generate the per-subtitle-file logs you want. You could pay me to make a script for you if you really want it, but I ain't cheap. ;)


2.
Why force 2-letter language codes? I'm pretty sure Plex prefers 3-letter language codes.
:idea: Please read the FAQ and How to Request Help.
vanhouten035
Posts: 5
Joined: 11 Apr 2016, 12:23

Re: Logs in each individual media folder

Post by vanhouten035 »

rednoah wrote:1.
Sorry, the --log-file logs is all you get. But based on those logs you could probably generate the per-subtitle-file logs you want. You could pay me to make a script for you if you really want it, but I ain't cheap. ;)


2.
Why force 2-letter language codes? I'm pretty sure Plex prefers 3-letter language codes.
Thanks for the quick reply!
1. Naah, it was just a small thing which would enable me to check what subtitle has been downloaded if it was out of sync. So I could avoid that one when downloading it manually.
2. I was pretty sure myself that Plex only supported 2-letter language codes out of experience... but you got me in doubt.... Let me get back to you in a few XD
Last edited by vanhouten035 on 11 Apr 2016, 13:30, edited 1 time in total.
vanhouten035
Posts: 5
Joined: 11 Apr 2016, 12:23

Re: Logs in each individual media folder

Post by vanhouten035 »

Seems like it supports both! :)
vanhouten035
Posts: 5
Joined: 11 Apr 2016, 12:23

Re: Logs in each individual media folder

Post by vanhouten035 »

I was wrong. Just tested it thoroughly. Plex will recognize the subtitle. But instead of the language name it will show as unknown.
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Logs in each individual media folder

Post by rednoah »

I guess Plex uses the B standard.

Code: Select all

ISO 639-1	nl
ISO 639-2	dut (B), nld (T)
Can you try it it works with *.dut.srt files?
:idea: Please read the FAQ and How to Request Help.
Post Reply