Page 1 of 1
After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 15:14
by Punx
Hi Noah
If i look in the Logs after Update
Code: Select all
WARNUNG: Activate License [PXxxxx] on [Sat Dec 28 16:07:10 CET 2024]
Dec 28, 2024 4:08:54 PM net.filebot.DiskStore acquireDiskStore
WARNUNG: Current application revision (r10435) does not match cache revision (r10185)
Dec 28, 2024 4:08:54 PM net.filebot.DiskStore acquireDiskStore
WARNUNG: Initialize new disk cache: C:\Users\%user%\AppData\Roaming\FileBot\cache\0
Dec 28, 2024 4:09:01 PM net.filebot.ui.subtitle.SubtitlePanel lambda$promptLogin$3
WARNUNG: OpenSubtitles: Client Error: https://api.opensubtitles.com/api/v1/login [401 Unauthorized Request]
Befor i could Login on my 2nd System i have the 5.1.6 and also no Login possible so i tried it on my Gaming System and the Same with 5.1.6
Any Solution u suggest
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:10
by rednoah
FileBot 5.1.6 uses the
OpenSubtitles REST API by default. This also means that you now need to use your
opensubtitles.com (not opensubtitles.org) login details. I recommend using the same username / password on both sites as to avoid confusion.

What does
filebot -script fn:configure say?
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:31
by Punx
it says
Code: Select all
Enter OpenSubtitles username: Enter OpenSubtitles password: Store user preferences to [User Preference Node: /net/filebot at HKEY_CURRENT_USER\Software\JavaSoft\Prefs]
Reset OpenSubtitles login details
Done ヾ(@⌒ー⌒@)ノ
Result: 0
If i login on 5.1.5 again OpenSubtitle works
on 5.1.6 no chance to login
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:39
by rednoah
If you're running
filebot -script fn:configure without interactive terminal
(presumably you're using docker via some WebUI) then the terminal cannot prompt you to enter your username / password:
Code: Select all
Enter OpenSubtitles username: Enter OpenSubtitles password:
So you have to to pass everything along via the command-line:
Shell: Select all
filebot -script fn:configure --def osdbUser="username" --def osdbPwd="password"
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:44
by Punx
Code: Select all
Store user preferences to [User Preference Node: /net/filebot at HKEY_CURRENT_USER\Software\JavaSoft\Prefs]
Set OpenSubtitles login details
Checking... Your login details are incorrect. Please go to www.opensubtitles.com (REST API; not www.opensubtitles.org) to check your login details and reset your password if necessary.
https://api.opensubtitles.com/api/v1/login [401 Unauthorized Request]
Abort (×_×)
Result: 4
filebot -script fn:configure --def osdbUser="Manted86" --def osdbPwd="here is my PW "
Im logged in on OS webpage with this USer and Pass
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:47
by rednoah
Punx wrote: ↑28 Dec 2024, 16:44
Im logged in on OS webpage with this USer and Pass
Can you post a link to the OS webpage?
(since there is the old OS webpage and the new OS webpage so I need to confirm which one you mean)
EDIT:
Punx wrote: ↑28 Dec 2024, 16:31
If i login on 5.1.5 again OpenSubtitle works
on 5.1.6 no chance to login
To clarify what I was trying to say in my previous post:
*
If you use
5.1.5 then you must use your OpenSubtitles.
org username / password.
*
If you use
5.1.6 then you must use your OpenSubtitles.
com username / password.

.org is the old site, .com is the new site, the old site and the new site may have a different username / password.
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:49
by Punx
Yep thats is it but i have a subscription 4 .org not com
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:51
by rednoah
Yes,
FileBot 5.1.6 requires the login details you have set up with the new OpenSubtitles site:
Code: Select all
Your login details are incorrect. Please go to www.opensubtitles.com (REST API; not www.opensubtitles.org) to check your login details and reset your password if necessary.
EDIT:
You can configure
FileBot 5.1.6 to use the old API
(i.e. work exactly the same as older versions of FileBot) but do note that the old API may be sunset and disabled by OpenSubtitles at some unspecified point in the future. See
OpenSubtitles REST API › Configure FileBot to use the old OpenSubtitles XML-RPC API for details.
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 16:58
by Punx
That i have tried
Code: Select all
Load user-defined System Properties
* Read C:\Users\%user%\AppData\Roaming\FileBot\system.properties
Update user-defined System Properties
* Set net.filebot.WebServices.OpenSubtitles.v1 = true
Store user-defined System Properties
* Write C:\Users\%user%\AppData\Roaming\FileBot\system.properties
#FileBot System Properties
#Sat Dec 28 17:55:08 CET 2024
net.filebot.WebServices.OpenSubtitles.v1=true
Done ヾ(@⌒ー⌒@)ノ
Result: 0
After that i used the Login Button same error
* edit after restart the Filebot it works thx a lot
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 28 Dec 2024, 17:04
by rednoah
You do indeed need to restart FileBot after changing system settings, as system settings are only read on startup.
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 07 Jan 2025, 19:34
by richyb
I've been having trouble with OpenSubtitles for sometime on FIlebot 5.1.6 on Synology and eventually tracked down to my password using special characters (@, # and * were all being used). I changed the password to one just using alphabetical, numericals and the exclamation mark and all started working on both the v1 (.org) and v2 (.com) APIs.
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 08 Jan 2025, 03:27
by rednoah

What was the special password that didn't what that you are now no longer using?

How did you set your password? If you're using command-line arguments then you may need to take special care if the passwords starts with an
@ (because @file syntax) or contains
$*'" (because shell variable expansion).
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 12 Jan 2025, 16:59
by richyb
Hi @rednoah, It was a password such as j3430dc@i3j2j*snj2#23 (the * and the hash might have been the other way round). I was setting them via the Filebot Node GUI on Synology. Obviously those are passed from NodeJS to Filebot itself via a command line argument, but I was hoping/expecting sufficient escaping to have taken place.
Re: After Update to Filebot 5.1.6 OpenSubtitleLogin doesn't work anymore
Posted: 12 Jan 2025, 17:44
by rednoah
If you're using FileBot Node then the argument array will be passed as part of the system call. No shell or command-line parser is involved, thus there is nothing to escape. Whatever the underlying issue may have been, this is probably not it.

I've changed the password of my test account to
j3430dc@i3j2j*snj2#23 and it works as expected:
Console Output: Select all
filebot -script 'fn:configure' --def 'osdbUser=...' 'osdbPwd=j3430dc@i3j2j*snj2#23' --log-file '/server-nodejs/data/filebot.log'
------------------------------------------
Store user preferences to [User Preference Node: /net/filebot at /data/.java/.userPrefs]
Set OpenSubtitles login details
Checking... OK
allowed_translations: 1
allowed_downloads: 20
level: Sub leecher
user_id: ...
ext_installed: false
vip: false
downloads_count: 0
remaining_downloads: 20
username: ...
Done ヾ(@⌒ー⌒@)ノ
------------------------------------------
[Process completed]