Luke 42077 Posted July 13, 2024 Posted July 13, 2024 7 hours ago, Q-Droid said: Attaching logs using the test plug-in in case there was debugging info in that build. One file with credentials (failed) and the other without (worked). embyserver-OS_VIP.txt 118.71 kB · 4 downloads embyserver-OS_Anon.txt 199.48 kB · 2 downloads OK let's try this again. Please try this new build and then attach the emby server log: OpenSubtitles.zip Thanks !
chief2810 5 Posted July 13, 2024 Posted July 13, 2024 Problem still persists with new build you just posted
Happy2Play 9780 Posted July 13, 2024 Posted July 13, 2024 1 minute ago, chief2810 said: Problem still persists with new build you just posted 12 minutes ago, Luke said: Please try this new build and then attach the emby server log:
chief2810 5 Posted July 13, 2024 Posted July 13, 2024 Yeah I’ve just had to go out so not near my laptop. But thought I’d quickly give my feedback!
Q-Droid 989 Posted July 13, 2024 Posted July 13, 2024 (edited) 1 hour ago, Luke said: OK let's try this again. Please try this new build and then attach the emby server log: Using VIP credentials still fails but the error is different from before. Anon continues to work. embyserver-OS_Anon-2.txt embyserver-OS_VIP-2.txt Edited July 13, 2024 by Q-Droid
Wizb0y 1 Posted July 14, 2024 Posted July 14, 2024 Did some testing, it seems that you need an API-key to get subtitles from opensubtitles.com. But you can't enter it in the emby... I'm OS VIP and emby VIP and got the unauthorized error. From the API: VERY IMPORTANT: In HTTP request must be both headers: Api-Key and Authorization stoplight.io doesn't allow to use in shown example both headers i've tested with curl and it works correctly. The download count goes also down: Login: curl --request POST --url https://vip-api.opensubtitles.com/api/v1/login --header 'Accept: application/json' --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxxx' --header 'Content-Type: application/json' --header 'User-Agent: <<emby v4.9.0.26>>' --data '{ "username": "xxxxx", "password": "xxxxx" }' result: {"user":{"allowed_translations":10,"allowed_downloads":989,"level":"VIP Member","user_id":xxxxx,"ext_installed":false,"vip":true},"token":"xxxxxxxx the token xxxxxxxxxxxxxxxxx","status":200,"base_url":"vip-api.opensubtitles.com"} Get subtitle: curl --request POST \ --url https://vip-api.opensubtitles.com/api/v1/download \ --header 'Accept: application/json' \ --header 'Api-Key: xxxxxxxxxxxxxxxxxxxxx' \ --header 'Authorization: Bearer "xxxxxxxxxx got from login xxxxxxx' \ --header 'Content-Type: application/json' \ --header 'User-Agent: <<emby v4.9.0.26>>' \ --data '{ "file_id": 123 }' result: {"link":"https://www.opensubtitles.com/download/29B68F0E03D36CA9473DB442C17FB3495D5222245198FD188092A7D54C9436965C355301917FE2347416684F4FDCFE4555883D7FD1C55584F81C43836C2623F360A30F3792B8EEF60369162445DAEAD5634B39E13AD1022EEF44C719D5AD8D229D2053C419E304076104D38D6B15E697E3CCDBB6C97E13197159444559289210B2408/subfile/castle.rock.s01e03.webrip.x264-tbs.ettv.-eng.ro.srt","file_name":"castle.rock.s01e03.webrip.x264-tbs.ettv.-eng.ro.srt","requests":1,"remaining":988,"message":"Your quota will be renewed in 8 hours and 27 minutes (2024-07-14 23:59:59 UTC) ts=1720971127 ","reset_time":"8 hours and 27 minutes","reset_time_utc":"2024-07-14T23:59:59.999Z","uk":"count_uid_xxxxxx","uid":xxxxxx,"ts":1720123127}
Happy2Play 9780 Posted July 14, 2024 Posted July 14, 2024 (edited) As mentioned this is where the dev has to look at at least 4 categories of users as every catagory will have a different download limit. Non-Premiere Premiere Non-Premiere - OS VIP Premiere - OS VIP So passing thru the OS VIP status appears to be the challenge in this topic. Edited July 14, 2024 by Happy2Play
forenaite 8 Posted July 14, 2024 Posted July 14, 2024 Its not working for me either. I already reconfigured and checked everything. Tried downgrade and the build above. But I still got unauthorized errors. 2024-07-14 19:12:56.082 Error SubtitleManager: Error searching for subtitles on Open Subtitles *** Error Report *** Version: 4.8.8.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffdetect /opt/emby-server/bin/ffdetect -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Linux version 6.8.0-36-generic (buildd@lcy02-amd64-077) (x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2. Framework: .NET 6.0.25 OS/Process: x64/x64 Runtime: opt/emby-server/system/System.Private.CoreLib.dll Processor count: 24 Data path: /var/lib/emby Application path: /opt/emby-server/system MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: Unauthorized at OpenSubtitles.OpenSubtitleComDownloader.SearchSubtitlesAsync(OpenSubtitleQuery[] queries, OpenSubtitleOptions options, CancellationToken cancellationToken) at OpenSubtitles.OpenSubtitleComDownloader.SearchInternal(SubtitleSearchRequest request, Boolean useFilename, OpenSubtitleOptions options, CancellationToken cancellationToken) at OpenSubtitles.OpenSubtitleComDownloader.Search(SubtitleSearchRequest request, OpenSubtitleOptions options, CancellationToken cancellationToken) at Emby.Providers.Subtitles.SubtitleManager.<>c__DisplayClass17_0.<<SearchSubtitles>b__3>d.MoveNext() Source: OpenSubtitles TargetSite: Void MoveNext()
Luke 42077 Posted July 15, 2024 Posted July 15, 2024 Hi, please try again and let us know how things compare. Thanks. 1
Ren34 3 Posted July 15, 2024 Posted July 15, 2024 13 minutes ago, Luke said: Hi, please try again and let us know how things compare. Thanks. It works! If you need logs, I can post them a bit later. Thanks for fixing whatever the issue was. 1
Q-Droid 989 Posted July 15, 2024 Posted July 15, 2024 5 hours ago, Luke said: Hi, please try again and let us know how things compare. Thanks. OS VIP works now and using v1.0.58 of the plug-in. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now