Page 1 of 1

OpenSubtitles not logging in

Posted: 24 Jan 2025, 02:56
by NLink42
Hello everyone,

I'm currently running Filebot node on a Synology Server 7.2.1-69057

When executing an automation in Filebot node, OpenSubtitles logs in and runs as expected, giving the "Looking up subtitles by hash via OpenSubtitles" message and then moving the files over to the specified directory. However, when the same script is running as a task, I get this in the logs:

"OpenSubtitles does not support anonymous login"

I did run the filebot -script fn:configure command just to make sure everything was saved correctly.

Any ideas?

Here's the task I have running, created directly from Filebot Node:

Code: Select all

-script
dev:amc
/volume1/CloudDownloads/
--output
/volume1/Server/Media Drive/
--action
move
-non-strict
--order
Airdate
--conflict
auto
--filter
age < 90
--lang
en
--def
ut_label=TV
unsorted=y
subtitles=eng
clean=y
skipExtract=y
seriesFormat={plex}
animeFormat={plex}
movieFormat={plex}
musicFormat={plex}
seriesDB=TheTVDB
excludeList=excludes.ex
--apply
metadata
chmod
refresh
-no-probe
-no-index
--log
all
--log-file
/var/packages/filebot-node/var/filebot.log

Re: OpenSubtitles not logging in

Posted: 24 Jan 2025, 04:39
by rednoah
NLink42 wrote: 24 Jan 2025, 02:56 "OpenSubtitles does not support anonymous login"
Each user has its own independent application data folder / user configuration. The FileBot Node WebUI runs as its own "FileBot Node" user. That is how all Synology DSM packages work for security reasons.

If you're using a scheduled task then you are likely running it as a different user. I'm not sure if the DSM WebUI gives you the option to select "FileBot Node" as user here. Otherwise, you can always setup your OpenSubtitles login details for another user by running the following command as that user once:

Shell: Select all

filebot -script fn:configure --def osdbUser="username" --def osdbPwd="password"
** if you cannot use SSH then you can also call this command by making a scheduled task that runs this command as a selected user

Re: OpenSubtitles not logging in

Posted: 25 Jan 2025, 18:29
by NLink42
rednoah wrote: 24 Jan 2025, 04:39
NLink42 wrote: 24 Jan 2025, 02:56 "OpenSubtitles does not support anonymous login"
Each user has its own independent application data folder / user configuration. The FileBot Node WebUI runs as its own "FileBot Node" user. That is how all Synology DSM packages work for security reasons.

If you're using a scheduled task then you are likely running it as a different user. I'm not sure if the DSM WebUI gives you the option to select "FileBot Node" as user here. Otherwise, you can always setup your OpenSubtitles login details for another user by running the following command as that user once:

Shell: Select all

filebot -script fn:configure --def osdbUser="username" --def osdbPwd="password"
** if you cannot use SSH then you can also call this command by making a scheduled task that runs this command as a selected user
That worked! Thank you

Re: OpenSubtitles not logging in

Posted: 26 Jan 2025, 05:21
by rednoah
I'll see about making the user-specific settings shared across users on Synology NAS. We already do that for the license file so we could do it for the prefs file as well.