Sorry for the delay in responding.
TL;DR: Setting net.filebot.WebServices.OpenSubtitles.v2=true currently seems to break authentication.
Long:
Using the Synology GUI and Filebot Node 0.4.7 (was 0.4.6) it fails:
Shell: Select all
filebot -script 'fn:configure' --def 'osdbUser=[USERNAME]' 'osdbPwd=[PASSWORD]' --log-file '/var/packages/filebot-node/var/filebot.log'
------------------------------------------
Generate CDS archive...
Current application revision (r10362) does not match cache revision (r10185)
Initialize new disk cache: /var/packages/filebot/var/data/[UID]/cache/0
Store user preferences to [User Preferences: /var/packages/filebot/var/data/[UID]/prefs.properties at /var/packages/filebot/var/data/[UID]/prefs.properties]
Set OpenSubtitles login details
Checking... Resource not available: https://api.opensubtitles.com/api/v1/login [401 Unauthorized Request]
Failed to fetch resource: https://api.opensubtitles.com/api/v1/infos/user: Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user
Response data is null: infos/user => https://api.opensubtitles.com/api/v1/infos/user
Abort (×_×)
(UID is that of the user "FileBot")
However, trying it via SSH/Shell with the exact same command (as in, I copied from the GUI log):
Shell: Select all
[synology user]@DS2015xs:~$ filebot -script 'fn:configure' --def 'osdbUser=[USERNAME]' 'osdbPwd=[PASSWORD]' --log-file '/var/packages/filebot-node/var/filebot.log'
Current application revision (r10362) does not match cache revision (r10185)
Initialize new disk cache: /var/packages/filebot/var/data/[OTHER UID]/cache/0
Store user preferences to [User Preferences: /var/packages/filebot/var/data/[OTHER UID]/prefs.properties at /var/packages/filebot/var/data/[OTHER UID]/prefs.properties]
Set OpenSubtitles login details
Checking... OK
limit_check_by: user_id
user_id: [OpenSubtitles uid]
global_24h_download_limit: 200
client_ip: 84.45.155.58
client_24h_download_count: 0
client_download_quota: 999999999
client_24h_download_limit: 999999999
Done ヾ(@⌒ー⌒@)ノ
(Other UID is that of my Synology user)
Logging in as the Filebot user via shell (using
) and trying the command gives the same results as the GUI.
The contents of each accounts /var/packages/filebot/var/data/(uid)/prefs.properties is identical except from the time/datestamp. The only difference is the Filebot user has a system.properties with "net.filebot.WebServices.OpenSubtitles.v2=true". Removing that file from the command line and retrying the GUI works:
Shell: Select all
filebot -script 'fn:configure' --def 'osdbUser=[USERNAME]' 'osdbPwd=[PASSWORD]' --log-file '/var/packages/filebot-node/var/filebot.log'
------------------------------------------
Generate CDS archive...
Store user preferences to [User Preferences: /var/packages/filebot/var/data/[UID]/prefs.properties at /var/packages/filebot/var/data/[UID]/prefs.properties]
Set OpenSubtitles login details
Checking... OK
limit_check_by: user_id
user_id: [OpenSubtitles uid]
global_24h_download_limit: 200
client_ip: 84.45.155.58
client_24h_download_count: 0
client_download_quota: 999999999
client_24h_download_limit: 999999999
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------
[Process completed]