Release service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Subtitle Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=143) +---- Thread: Release service.subtitles.subdivx -- Spanish subtitles from Subdivx.com (/showthread.php?tid=209064) |
service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - cramm - 2014-11-16 (English translation below) Este add-on se revivió en Marzo 2014 portándolo a la nueva API de XBMC 13 (versión 0.0.1) y desde entonces se ha mantenido mas o menos funcionando. Versión actualmente publicada: 0.0.4 Versión de publicación pendiente ya etiquetada en el repositiorio de código fuente: 0.0.5 Se ha trabajado en: * Solución de errores de programación * Mejorar la estructura del código haciendolo mas idiomático y aprovechando mejor las ventajas de Python * Hacer el script mas robusto en la etapa de parsing de contenido de subdivx.com * Hacer mas robusta la etapa de decompresión de subtítulos en formato RAR que es muy popular en subdivx.com La versión 0.0.5 contiene un cambio de mediana importancia: Debido a que subdivx.com es un sitio dedicado exclusivamente a subtítulos en castellano, dos columnas existentes en la ventana/grilla de resultado de búsqueda son irrelevantes: La que muestra la bandera de España y la columna con el nombre del idioma ('Español'). Todos los items en la grilla tienen esos valores. Lo que se ha hecho en la versión 0.0.5 es agregar una opción de configuración del add-on (la primera de ellas) que permite reemplazar la celda fija 'Español' en cada subtítulo con el apodo del miembro de subdivx.com que aportó el mismo. Esto permite tener una idea sobre la calidad esperable de un subtítulo ya que una de las cosas que uno aprende al poco tiempo de ser miembro del sitio es a identificar a los usuarios que son reconocidos por la calidad de sus aportes a la hora de crear o retocar subtítulos. En la versión 0.0.6 se eliminará la columna con la bandera y se trabajará en permitir que se pueda obtener el rating (0 a 5 estrellas) del subtítulo en XBMC/Kodi del rating en subdivx.com en adición a la cantidad de descargas como sucede hasta ahora. English translation begins This add-on got revived in March 2014 (version 0.0.1) by porting existing code to the new XBMC 13 API (version 0.0.1) and since then it has been maintained more or less in working state. Currently published versión: 0.0.4 Version pending publishing, already tagged in source code repository: 0.0.5 Work has been done in the following areas: * General bug fixing * Better code structure, mode idiomatic code, taking advantage of Python features * More robstness in subdivx.com pages content parsing stage * More robstness in decompression of RAR files as it's popular on subdivx.com Versión 0.0.5 includes a change worth some notes: As subdivx.com is a website dedicated exclusively to Spanish subtitles, there are two columns in the search results popup windows which are redudant: The one with the Spanish flag and the 'Español' language label one. What has been done is adding an add-on configuration value (the first one) which allows you to replace the fixed 'Español' cell in every subtitle with the nick of the subdivx.com member that uploaded it. This allows you to know what to expect in terms of subtitle quality. Reason fot this is the fact that there isn't a need to be a subdivx.com member for long before one learns to recognize users renowned by the quality of the subtitle authoring/retouching work they do. Plans for version 0.0.6 include also removing the Spanish flag column and the ability to get XBMC/Kodi subtitles rating (0 to 5 starts) from the rating given by subdivx.com subtitle downloaders in addition to getting it from the number of dowloads as currently happens. English translation end RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - jonbus - 2014-11-18 Grande Cramm!! te felicito, al fin alguien con conocimiento ayuda a los subdivxseros! quien sos en subdivx? RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - tnuc - 2014-11-18 english only on this site please RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - Strakon - 2014-11-27 Hi crammed, The addon isn't working any more, I am getting a bad script error. Any ideas? Thanks Felipe (2014-11-16, 21:32)cramm Wrote: (English translation below) RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - cramm - 2014-11-27 (2014-11-27, 05:30)Strakon Wrote: Hi crammed, We'd need some information: * Version of XBMC/Kodi * Version of the addon * A debug log of a simple XBMC/Kodi execution i.e. start it and going immediately to try a failed subtitle download. Instructions are the standard ones: http://kodi.wiki/view/Log_file/Easy RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - carrrr - 2015-01-31 hello all, subdivx webpage changed again from "izq2" to "izq", right ? i will try to change the service.py and see if it works Also looking at the service.py there is no way to do a manual search with this addon. i will look at argenteam addon and see if i can add it , same way obv RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - cramm - 2015-02-01 (2015-01-31, 20:57)carrrr Wrote: subdivx webpage changed again from "izq2" to "izq", right ?I don't know but we should be handling both cases correctly since version 0.0.4 because I took care of this three months ago: https://github.com/ramiro/service.subtitles.subdivx/commit/bdc06cdcbd8ca3d40a0c2c133371f8c5c6a7c021 If you are having dificulties downloading subtitles I suspect there is another problem. (2015-01-31, 20:57)carrrr Wrote: i will try to change the service.py and see if it worksNo need to do that. See above. (2015-01-31, 20:57)carrrr Wrote: Also looking at the service.py there is no way to do a manual search with this addon. i will look at argenteam addon and see if i can add it , same way obvKnow issue ;-) https://github.com/ramiro/service.subtitles.subdivx/issues/2 Any help implementing that is welcome. RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - ikbenale - 2015-02-26 Hola Cramm! I've been using your addon for a while so I really appreciate your work. That's why I decided to register on this place and report an issue and my thoughts on it. Basically on XBMC 13.2 I was -sometimes- getting a script error when searching for subtitles or when downloading them. Usually I would switch to another subtitle service and go on with my life, but today I was less lazy than usual so I read the logs and figured out that the script was actually raising an unicode exception. This is happening in at least two places of the code:
I was able to reproduce the first one also on Kodi, but encoding to utf-8 the content of item['filename'] before urlencoding it seemed to be enough to fix it. I don't know about the second one though, unicode is usually a nightmare for me when I code on Python Code: File "C:\Users\xxx\AppData\Roaming\XBMC\addons\service.subtitles.subdivx\service.py", line 299, in _handle_compressed_subs thanks for your time! RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - Alexsource - 2015-02-28 ¿Podrían hacer hacer que tome correctamente el texto introducido en la búsqueda manual? Parece ignorarlo e ir siempre por la busqueda por nombre de archivo. También, si es un .STRM que esta en la biblioteca, usa el nombre del archivo al que el strm linkea, ignorando toda la metadata de la biblioteca. Estoy en win 7, kodi 14.1. Could you make it work with manual search string input? It seems to ignore it and keep using the file name search. Also, if playing an .STRM file that is in the library, it uses the filename from the file linked to in the strm, ignoring all library metadata. I'm on win 7, kodi 14.1. RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - cramm - 2015-03-08 (2015-02-28, 16:02)Alexsource Wrote: Could you make it work with manual search string input? It seems to ignore it and keep using the file name search. This is fixes in the soon to be released version 0.0,7. Expect Kodi updating it in the next few days. (2015-02-28, 16:02)Alexsource Wrote: Also, if playing an .STRM file that is in the library, it uses the filename from the file linked to in the strm, ignoring all library metadata. I'm interested in this. Didn't know of the existence of these .strm files. Learning by reading http://kodi.wiki/view/Internet_video_and_audio_streams Could you describe your scenario in more detail please? Aren't these files supposed to containf URLs to resources streamable through the network? Why do you talk about a file being the one pointed by the strm file? In your case that strm file is already added to the Library, but how is the media meta-data provided? by Kodi (via the plugins like The Movie DB, etc.) o by NFO files? RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - cramm - 2015-03-10 (2015-02-01, 18:50)cramm Wrote:(2015-01-31, 20:57)carrrr Wrote: Also looking at the service.py there is no way to do a manual search with this addon. i will look at argenteam addon and see if i can add it , same way obvKnow issue ;-) This is available with the just released version 0.0.7. Please test and report back. RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - cramm - 2015-03-10 First, thanks for your kind words. (2015-02-26, 07:25)ikbenale Wrote: Basically on XBMC 13.2 I was -sometimes- getting a script error when searching for subtitles or when downloading them. Usually I would switch to another subtitle service and go on with my life, but today I was less lazy than usual so I read the logs and figured out that the script was actually raising an unicode exception.I've seen failures in that line but problems were with the id/subdivx_id variable and tried to fix it in the just released v0.0.7. It'd great if you could post a traceback just like you did with the second issue, or maybe the name of the movie/serie episode so I can try to reproduce the scenario. (2015-02-26, 07:25)ikbenale Wrote: I don't know about the second one though, unicode is usually a nightmare for me when I code on PythonI will try to reproduce this one. Thanks! RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - Alexsource - 2015-03-19 (2015-03-08, 21:07)cramm Wrote: ...Well, I've used PseudoLibrary to generate some .STRMs from Video Addons, e.g.: Crackler. An strm file for Crackler contains the addon url for the movie (something like plugin://plugin.video.crackler/?mode=play_video&v_id=SOME-NUMBER-HERE). Once you have the STRMs, you add the folder to the library and let it scan for metadata on some metadata scrapper like the universal movie scrapper. Now, that url i mentioned before, eventually, resolves to an actual url with a file name, and that's what it seems to be using instead of the metadata (the filename appears in yellow text above the playing controls). If i just go to the Crackler addon and select the movie from there, then it picks up the movie name. But to be fair, I don't think any of the other subtitle services pick up the library metadata either yet I hope that sorta clears it up. Thanks for the manual search!! I've just tryed it out RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - petemir - 2015-05-06 Hi, I'm having a problem downloading a subtitle (particularly, manual search string for "mad men s07e12". I believe its the unicode exception mentioned previously. Here's the log: Quote:23:35:28 T:139837086557952 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- (note: I changed some paths cause I didn't want to show my folder structure, but where a ~ appears in the quoted code it showed the path to my home, and in the GetDirectory error the path to where the file (mad.men.712.hdtv-lol.mp4) is). If there's any other thing I can do to help just tell me. Great plugin! RE: service.subtitles.subdivx -- Spanish subtitles from Subdivx.com - droningforever - 2015-07-05 Hello all, is it possible that subdivx site changed again causing addon to fail? All of a sudden I'm getting "error en el script" for every movie (get subtitles list just ok, error message comes up when trying to download one). Tried a re-install of the addon with no luck. Thanks! |