Not finding subtitles

Support for Synology NAS, QNAP NAS and other Embedded Linux systems
Post Reply
ward0
Posts: 14
Joined: 09 Apr 2016, 10:58

Not finding subtitles

Post by ward0 »

Hello,

I don't know if you follow up on github but i'l post here aswell.

https://github.com/filebot/filebot-node/issues/6

Logging:

Run script [fn:amc] at [Sat Apr 09 11:30:08 GMT+01:00 2016] Parameter: ut_label = movie Parameter: music = y Parameter: unsorted = y Parameter: artwork = y Parameter: subtitles = nld Parameter: deleteAfterExtract = y Parameter: pushbullet = ***** Parameter: excludeList = .excludes Argument: /volume1/MOVIES/COUCH Creating excludes: /volume1/DUTCH/.excludes Input: /volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)/Star.Wars.Episode.VII.The.Force.Awakens.2015.720p.BluRay.x264-Replica.mkv Input: /volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]/Steve.Jobs.2015.720p.BluRay.x264-DRONES.mkv Exclude: /volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]/steve.jobs.2015.720p.bluray.x264-drones.jpg Exclude: /volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)/rep-starwarstheforceawakens.720p.bluray.x264.jpg Exclude: /volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)/Star.Wars.Episode.VII.The.Force.Awakens.2015.720p.BluRay.x264-Replica.nfo Group: [mov:star wars the force awakens 2015] => [Star.Wars.Episode.VII.The.Force.Awakens.2015.720p.BluRay.x264-Replica.mkv] Group: [mov:steve jobs 2015] => [Steve.Jobs.2015.720p.BluRay.x264-DRONES.mkv] Get [Dutch] subtitles for 1 files Looking up subtitles by hash via OpenSubtitles No matching subtitles found: /volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)/Star.Wars.Episode.VII.The.Force.Awakens.2015.720p.BluRay.x264-Replica.mkv Rename movies using [TheMovieDB] Stripping invalid characters from new path: Movies/Star Wars: The Force Awakens (2015)/Star Wars: The Force Awakens (2015) [HARDLINK] Rename [/volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)/Star.Wars.Episode.VII.The.Force.Awakens.2015.720p.BluRay.x264-Replica.mkv] to [/volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)/Star Wars The Force Awakens (2015).mkv] Processed 1 files Fetching movie artwork for [Star Wars: The Force Awakens (2015)] to [/volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)] Generate Movie NFO: Star Wars: The Force Awakens [140607] MediaInfoException: Unable to load arm native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary Fetching /volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)/poster.jpg => {category: posters, width: 1000, height: 1500, language: en, url: http://image.tmdb.org/t/p/original/vZpB ... uGwDzJ.jpg} Fetching /volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)/fanart.jpg => {category: backdrops, width: 1920, height: 1080, language: en, url: http://image.tmdb.org/t/p/original/zQjs ... 0KVFxY.jpg} Fetching /volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)/clearart.png => {type=hdmovieclearart, id=126615, url=http://assets.fanart.tv/fanart/movies/1 ... eecb49.png, lang=en, likes=23} Fetching /volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)/logo.png => {type=hdmovielogo, id=88346, url=http://assets.fanart.tv/fanart/movies/1 ... b10aa1.png, lang=en, likes=22} Fetching /volume1/DUTCH/Movies/Star Wars The Force Awakens (2015)/disc.png => {type=moviedisc, id=122612, url=http://assets.fanart.tv/fanart/movies/1 ... faa838.png, lang=en, likes=20, disc=1, disc_type=bluray} Get [Dutch] subtitles for 1 files Looking up subtitles by hash via OpenSubtitles No matching subtitles found: /volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]/Steve.Jobs.2015.720p.BluRay.x264-DRONES.mkv Rename movies using [TheMovieDB] Auto-detect movie from context: [/volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]/Steve.Jobs.2015.720p.BluRay.x264-DRONES.mkv] [HARDLINK] Rename [/volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]/Steve.Jobs.2015.720p.BluRay.x264-DRONES.mkv] to [/volume1/DUTCH/Movies/Steve Jobs (2015)/Steve Jobs (2015).mkv] Processed 1 files Fetching movie artwork for [Steve Jobs (2015)] to [/volume1/DUTCH/Movies/Steve Jobs (2015)] Generate Movie NFO: Steve Jobs [321697] MediaInfoException: Unable to load arm native library libmediainfo.so: Could not initialize class net.filebot.mediainfo.MediaInfoLibrary Fetching /volume1/DUTCH/Movies/Steve Jobs (2015)/poster.jpg => {category: posters, width: 1400, height: 2100, language: en, url: http://image.tmdb.org/t/p/original/ahUi ... JbbvYv.jpg} Fetching /volume1/DUTCH/Movies/Steve Jobs (2015)/fanart.jpg => {category: backdrops, width: 1920, height: 1080, language: null, url: http://image.tmdb.org/t/p/original/vRaR ... nmh1f9.jpg} Fetching /volume1/DUTCH/Movies/Steve Jobs (2015)/clearart.png => {type=hdmovieclearart, id=137176, url=http://assets.fanart.tv/fanart/movies/3 ... a67901.png, lang=en, likes=7} Fetching /volume1/DUTCH/Movies/Steve Jobs (2015)/logo.png => {type=hdmovielogo, id=126627, url=http://assets.fanart.tv/fanart/movies/3 ... a80631.png, lang=en, likes=5} Fetching /volume1/DUTCH/Movies/Steve Jobs (2015)/disc.png => {type=moviedisc, id=128648, url=http://assets.fanart.tv/fanart/movies/3 ... 268f32.png, lang=en, likes=8, disc=1, disc_type=bluray} Sending PushBullet report Done ヾ(ï¼ âŒ’ãƒ¼âŒ’ï¼ )ノ

sub : http://www.opensubtitles.org/nl/search/ ... vie-145852
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Not finding subtitles

Post by rednoah »

1.
The amc script will only search subtitles in strict mode. There's plenty of threads here in the forums that will explain the difference between strict / non-strict search:
viewtopic.php?f=3&t=2615


2.
maxoudela made a tutorial on how to do subtitles properly just a few days ago:
viewtopic.php?f=13&t=3599
:idea: Please read the FAQ and How to Request Help.
ward0
Posts: 14
Joined: 09 Apr 2016, 10:58

Re: Not finding subtitles

Post by ward0 »

rednoah wrote:1.
The amc script will only search subtitles in strict mode. There's plenty of threads here in the forums that will explain the difference between strict / non-strict search:
viewtopic.php?f=3&t=2615


2.
maxoudela made a tutorial on how to do subtitles properly just a few days ago:
viewtopic.php?f=13&t=3599
Thanks for the info. I followed 2.

My script:

filebot -script fn:suball /volume1/MOVIES/COUCH --lang nl --def maxAgeDays=160 'subtitles=nld' 'pushbullet=zhfY1btOqHDYAzKi6hQBIDV8GcUqoJoI' --log all --log-file '/volume1/@appstore/filebot-node/filebot.log' >> '/volume1/@appstore/filebot-node/log/1460194139938.log' 2>&1

My output:

Fetch subtitles for [/volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)]
Get [Dutch] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/MOVIES/COUCH/Star Wars The Force Awakens(2015)/Star.Wars.Episode.VII.The.Force.Awakens.2015.720p.BluRay.x264-Replica.mkv
Fetch subtitles for [/volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]]
Get [Dutch] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: /volume1/MOVIES/COUCH/Steve.Jobs.2015.720p.BluRay.x264-DRONES[rarbg]/Steve.Jobs.2015.720p.BluRay.x264-DRONES.mkv
Done ヾ(@⌒ー⌒@)ノ

i tought that fn:suball would search by name and not by hash?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Not finding subtitles

Post by rednoah »

The Manual wrote:If you call this script repeatedly on the same folders or files then you MUST SET --def maxAgeDays to 30 days or less and call it no more than once per day.
You wrote:--def maxAgeDays=160
If there's no subtitles after a month, there probably won't be any after half a year. Stop abusing OpenSubtitles.
:idea: Please read the FAQ and How to Request Help.
ward0
Posts: 14
Joined: 09 Apr 2016, 10:58

Re: Not finding subtitles

Post by ward0 »

rednoah wrote:
The Manual wrote:If you call this script repeatedly on the same folders or files then you MUST SET --def maxAgeDays to 30 days or less and call it no more than once per day.
You wrote:--def maxAgeDays=160
If there's no subtitles after a month, there probably won't be any after half a year. Stop abusing OpenSubtitles.
My new script :

filebot -script fn:suball /volume1/MOVIES/COUCH --lang nl --def maxAgeDays 30 -non-strict -get-subtitles 'subtitles=nld' 'pushbullet=zhfY1btOqHDYAzKi6hQBIDV8GcUqoJoI' --log all --log-file '/volume1/@appstore/filebot-node/filebot.log' >> '/volume1/@appstore/filebot-node/log/1460194139938.log' 2>&1

this got it working! :)

but its not sending me a pushbullet now? That was working when i created the first script with the tool. Also whats the maxage i can set please?
User avatar
rednoah
The Source
Posts: 23002
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Not finding subtitles

Post by rednoah »

1.
--def pushbullet is an amc script option, not a suball script option.


2.
You're setting maxAgeDays to null and then passing in an additional parameter, i.e. you're NOT SETTING maxAgeDays AT ALL

Code: Select all

--def maxAgeDays 30
Script parameters are set with --def name=value syntax:

Code: Select all

--def maxAgeDays=30
:idea: Please read the FAQ and How to Request Help.
ward0
Posts: 14
Joined: 09 Apr 2016, 10:58

Re: Not finding subtitles

Post by ward0 »

rednoah wrote:1.
--def pushbullet is an amc script option, not a suball script option.


2.
You're setting maxAgeDays to null and then passing in an additional parameter, i.e. you're NOT SETTING maxAgeDays AT ALL

Code: Select all

--def maxAgeDays 30
Script parameters are set with --def name=value syntax:

Code: Select all

--def maxAgeDays=30
ok i'l add a = , So i can't get a pushbullet with suball script :(
Post Reply