Jump to content

Podnapisi plugin not working on auto download


Recommended Posts

Drobac Boris
Posted (edited)

@@Luke i noticed that subtitles are not downloaded on movie import, only when i click on refresh metadata subtitles are downloaded..
i turned on debug loging and imported movie Interstellar around 3:53 PM and hit refresh metadata around 3:57 PM
Also when i looked at log file, i noticed errors with podnapisi schedule subtitle download, please take a look also at that

I sent you log file in message..

Edited by Drobac Boris
Posted

They're returning an error code saying:

ServiceUnavailable

So i think you just have to give it some time and try again later.

Drobac Boris
Posted

It is strange, i tried with 5 or 6 movies. Every time i import movie, subtitles are not downloaded, and after few minutes when i refresh metadata, than it's working.. also subtitle schedule with podnapisi is not downloading subtitles at all.. i will try again with few more movies now

Posted

Hmm, they might be rejecting due to too many requests in a short period of time.

Drobac Boris
Posted

@@Luke i think problem is with emby server or with podnapisi plugin, not with podnapisi site.

I tried again two times with same movie, and when i import movie i get this in debug log, this all happened in timeframe of 10 minutes, first i imported than refreshed metadata, and again same process.  What i notices is when movie is imported it search for

 

Inception (2010)&sY=2010

and when is refreshing it search for

 

Inception&sY=2010

 

so i guess when movie is imported it search by filename and it's adding a year aftr that, so it's searching for "Inception (2010) 2010"

 

i sent you again log file
 

First try:

 

2019-12-22 22:09:16.486 Debug App: Requesting https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Inception (2010)&sY=2010
2019-12-22 22:09:16.487 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Inception (2010)&sY=2010
2019-12-22 22:09:16.995 Debug App: Requesting https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=sr&sK=Inception (2010)&sY=2010
2019-12-22 22:09:16.995 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=sr&sK=Inception (2010)&sY=2010
 
Second try:
 
2019-12-22 22:15:37.925 Debug App: Requesting https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Inception (2010)&sY=2010
2019-12-22 22:15:37.925 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Inception (2010)&sY=2010
2019-12-22 22:15:38.311 Debug App: Requesting https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=sr&sK=Inception (2010)&sY=2010
2019-12-22 22:15:38.311 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=sr&sK=Inception (2010)&sY=2010
 
and refresh metadata
 
First try:
 
2019-12-22 22:11:22.494 Debug App: Requesting https://www.podnapisi.net/hr/subtitles/hr-inception-2010/SoUO/download
2019-12-22 22:11:22.608 Info SubtitleManager: Saving subtitles to /mnt/dietpi_userdata/Plex/Boris_Movies/Inception (2010)/Inception (2010).hr.srt
2019-12-22 22:11:22.822 Debug App: Requesting https://www.podnapisi.net/sr/subtitles/sr-inception-2010/gekO/download
2019-12-22 22:11:22.975 Info SubtitleManager: Saving subtitles to /mnt/dietpi_userdata/Plex/Boris_Movies/Inception (2010)/Inception (2010).sr.srt
 
Second try:

2019-12-22 22:17:16.368 Debug App: Requesting https://www.podnapisi.net/hr/subtitles/hr-inception-2010/SoUO/download
2019-12-22 22:17:16.511 Info SubtitleManager: Saving subtitles to /mnt/dietpi_userdata/Plex/Boris_Movies/Inception (2010)/Inception (2010).hr.srt
2019-12-22 22:17:16.926 Debug App: Requesting https://www.podnapisi.net/sr/subtitles/sr-inception-2010/gekO/download
2019-12-22 22:17:17.085 Info SubtitleManager: Saving subtitles to /mnt/dietpi_userdata/Plex/Boris_Movies/Inception (2010)/Inception (2010).sr.srt
Drobac Boris
Posted

Also i tried again schedule subtitle download. and again errors, remember i successfully downloaded subtitles with refresh metadata half hour ago.

what is strange, if the "ServiceUnavailable" is the problem, why it happens so quickly between download trigger and error message.

If service is unavailable emby will wait little longer for response, so i think problem is with plugin and api's

Example:
 

2019-12-22 22:48:21.041 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Gemini Man&sY=2019
2019-12-22 22:48:21.293 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=sr&sK=Gemini Man&sY=2019
2019-12-22 22:48:21.436 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Can You Ever Forgive Me?&sY=2018
2019-12-22 22:48:21.523 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Marriage Story&sY=2019
2019-12-22 22:48:21.641 Error SubtitleManager: Error downloading subtitles from Podnapisi
 
Another one:

2019-12-22 22:48:21.682 Error SubtitleManager: Error downloading subtitles from Podnapisi
Posted

they might be rejecting due to too many requests in a short period of time.

Drobac Boris
Posted

@@Luke i don't know, you shoud try at your server, i'm sure you will have same results like i'm.

 

And i found another bug with podnapisi plugin or emby server!

I can't delete srt file trough emby "edit subtitles". New subtitles will immediately download after i click on delete subtitle. strange behavior!

2019-12-23 11:31:23.660 Info HttpServer: HTTP DELETE http://192.168.1.12:8096/emby/Videos/3674/Subtitles/2. Host=192.168.1.12:8096, Connection=keep-alive, Origin=http://192.168.1.12:8096, User-Agent=Mozilla/5.0 (Windows NT 6.3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36, X-Emby-Authorization=MediaBrowser Client="Emby Web", Device="Chrome", DeviceId="...", Version="4.3.0.30", Token="...", Accept=*/*, Referer=http://192.168.1.12:8096/web/index.html, Accept-Encoding=gzip, deflate, Accept-Language=en-US,en;q=0.9
2019-12-23 11:31:24.086 Info MediaProbeManager: ProcessRun 'ffprobe' Execute: /opt/emby-server/bin/ffprobe -i file:"/mnt/dietpi_userdata/Plex/Boris_Movies/Inception (2010)/Inception (2010).mp4" -threads 0 -v info -print_format json -show_streams -show_chapters -show_format -show_data
2019-12-23 11:31:25.621 Info HttpClient: GET https://www.podnapisi.net/subtitles/search/old?sXML=1&sL=hr&sK=Inception&sY=2010
2019-12-23 11:31:26.623 Info HttpClient: GET https://www.podnapisi.net/hr/subtitles/hr-inception-2010/SoUO/download
2019-12-23 11:31:26.829 Info SubtitleManager: Saving subtitles to /mnt/dietpi_userdata/Plex/Boris_Movies/Inception (2010)/Inception (2010).hr.srt
Posted

Yes the new subtitle download after delete will be resolved for the next release of the server. Thanks.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...