amc and subtitles
amc and subtitles
Hello,
for some tv-shows i get subtitles by myself.
It would be easy to to name them und put them in the right folder if i could use amc.
But amc ignores files with the srt extension.
I haven't found a way to handle the subtitle like a media file.
I even don't need the download of artwork and stuff.
Just the rename/copy/move should work just like media files.
Thanks for any idea.
Dominik
for some tv-shows i get subtitles by myself.
It would be easy to to name them und put them in the right folder if i could use amc.
But amc ignores files with the srt extension.
I haven't found a way to handle the subtitle like a media file.
I even don't need the download of artwork and stuff.
Just the rename/copy/move should work just like media files.
Thanks for any idea.
Dominik
Re: amc and subtitles
How to 'Request Help'
viewtopic.php?f=8&t=1868
Logs that show that amc is NOT ignoring files with srt extension:
viewtopic.php?f=8&t=1868
Logs that show that amc is NOT ignoring files with srt extension:
Code: Select all
Locking /Users/reinhard/Test/OUTPUT/APP_DATA/logs/amc.log
Parameter: ut_dir = /Users/reinhard/Test/AMC-TEST
Parameter: ut_kind = multi
Input: /Users/reinhard/Test/AMC-TEST/Firefly - 1x01 - Serenity.eng.srt
Input: /Users/reinhard/Test/AMC-TEST/Firefly - 1x01 - Serenity.mkv
Group: [tvs:firefly] => [Firefly - 1x01 - Serenity.eng.srt, Firefly - 1x01 - Serenity.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Firefly]
Fetching episode data for [Firefly]
Auto-detected query: [Firefly]
Fetching episode data for [Firefly]
[COPY] Rename [/Users/reinhard/Test/AMC-TEST/Firefly - 1x01 - Serenity.eng.srt] to [/Users/reinhard/Test/TV Shows/Firefly/Season 01/Firefly - S01E01 - The Train Job.eng.srt]
[COPY] Rename [/Users/reinhard/Test/AMC-TEST/Firefly - 1x01 - Serenity.mkv] to [/Users/reinhard/Test/TV Shows/Firefly/Season 01/Firefly - S01E01 - The Train Job.mkv]
Processed 2 files
Done ヾ(@⌒ー⌒@)ノ
Re: amc and subtitles
Hello,
thanks for your reply.
Here is the command line call and the output.
As i mentioned i only have the subtitle file in the folder. No media file.
The media file was renamed and moved to the correct folder days ago.
The subtitle was release a few days later.
Thanks for your help.
thanks for your reply.
Here is the command line call and the output.
Code: Select all
[buliwyf@thor ~/Downloads] filebot -script dev:amc --output "/Volumes/data/TV Shows/" --log-file ~/Library/Logs/amc.log --action copy -non-strict "/Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt" --def excludeList=/Volumes/data/TV\ Shows/amc.txt
Locking /Users/buliwyf/Library/Logs/amc.log
Parameter: excludeList = /Volumes/data/TV Shows/amc.txt
Argument: /Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt
Using excludes from /Volumes/data/TV Shows/amc.txt (0)
Exclude: /Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt
No files selected for processing
Failure (°_°)
The media file was renamed and moved to the correct folder days ago.
The subtitle was release a few days later.
Thanks for your help.
Re: amc and subtitles
Does /Volumes/data/extracted contain any video files?
The amc script will only process subtitle files that are matched to a video file:
The amc script will only process subtitle files that are matched to a video file:
Code: Select all
// ignore subtitles files that are not stored in the same folder as the movie
input = input.findAll{ f -> !(f.isSubtitle() && !videoFolderSet.contains(f.parentFile)) }
Re: amc and subtitles
Hello,
thanks. I found this in the code too.
Is there any change this will change?
I would be nice for subtitles downloaded later.
A Lot ob subtitles are not available at the time of the download.
For now i have to download them, move them to the specific folder and rename them according to the file.
amc could do this with an ease by handling the subtitle file like a media file.
So you could have an "incoming" folder and whatever gets dropped in there will be handled bei amc and
renamed/copied/moved to the right place.
just an idea.
Thanks
thanks. I found this in the code too.
Is there any change this will change?
I would be nice for subtitles downloaded later.
A Lot ob subtitles are not available at the time of the download.
For now i have to download them, move them to the specific folder and rename them according to the file.
amc could do this with an ease by handling the subtitle file like a media file.
So you could have an "incoming" folder and whatever gets dropped in there will be handled bei amc and
renamed/copied/moved to the right place.
just an idea.
Thanks
Re: amc and subtitles
Thanks for the quick reply. Unfortunately I cannot test it until Wednesday evening.
I will post an update then.
I will post an update then.

Re: amc and subtitles
Hello there.
i tried it but i get a file not found exception for dev:name
and with dev:amc it still gets ignored
Am i doing anything wrong?
Dominik
i tried it but i get a file not found exception for dev:name
Code: Select all
[buliwyf@thor ~] filebot -script dev:name --output "/Users/buliwyf/Desktop" --log-file ~/Library/Logs/amc.log --action copy -non-strict "/Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt" --def excludeList=/Volumes/data/TV\ Shows/amc.txt
Locking /Users/buliwyf/Library/Logs/amc.log
FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/devel/name.groovy
java.io.FileNotFoundException: https://raw.githubusercontent.com/filebot/scripts/devel/name.groovy
at net.filebot.web.WebRequest.fetch(WebRequest.java:116)
at net.filebot.web.WebRequest.fetchIfModified(WebRequest.java:94)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:32)
at net.filebot.web.CachedResource.fetchData(CachedResource.java:11)
at net.filebot.web.AbstractCachedResource.fetch(AbstractCachedResource.java:133)
at net.filebot.web.AbstractCachedResource.get(AbstractCachedResource.java:78)
at net.filebot.cli.ArgumentProcessor$DefaultScriptProvider.fetchScript(ArgumentProcessor.java:201)
at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:82)
at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:109)
at net.filebot.Main.main(Main.java:183)
Failure (°_°)
Code: Select all
[buliwyf@thor ~] filebot -script dev:amc --output "/Users/buliwyf/Desktop" --log-file ~/Library/Logs/amc.log --action copy -non-strict "/Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt" --def excludeList=/Volumes/data/TV\ Shows/amc.txt
Locking /Users/buliwyf/Library/Logs/amc.log
Parameter: excludeList = /Volumes/data/TV Shows/amc.txt
Argument: /Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt
Using excludes from /Volumes/data/TV Shows/amc.txt (0)
Exclude: /Volumes/data/extracted/Constantine - S01E03 - The Devil's Vinyl.en.srt
No files selected for processing
Failure (°_°)
Dominik
Re: amc and subtitles
1.
dev:name syntax => dev:amc / dev:suball / dev:verify / etc
2.
Is there a video file called Constantine - S01E03 - The Devil's Vinyl in the same folder? The new code allows subtitles to be processed after the video file has been processed, but it'll still expect the video file to be there and matched.
dev:name syntax => dev:amc / dev:suball / dev:verify / etc
2.
Is there a video file called Constantine - S01E03 - The Devil's Vinyl in the same folder? The new code allows subtitles to be processed after the video file has been processed, but it'll still expect the video file to be there and matched.