Autore Topic: Kodi Italiansubs Subtitle downloader  (Letto 58415 volte)

EmaGuzzetti

  • *
  • Post: 203
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #30 il: 21 May 2014, 11:48:43 »
Ho riprovato più volte in diversi momenti della giornata controllando che la connessione fosse ok. Quindi escluderei che il problema fosse quello. Ho provato anche a scaricare sub di diversi file in modo tale da escludere un problema specifico con quel sottotitolo.
Nessuna idea?
Riesci a passarmi il log completo e non solo quel pezzo parziale? E se ti passo un file saresti in grado di sostituirlo nella cartella dell'addon?

sukune00

  • Visitatore
Re: XBMC ItaSA Subtitle downloader
« Risposta #31 il: 21 May 2014, 17:13:21 »
Stasera sul tardi ti allego il log completo.
Se mi dici il percorso sostituisco tranquillamente il file.

Se preferisci possiamo sentirci in pm per evitare di spammare il thread.

Grazie ancora.

EmaGuzzetti

  • *
  • Post: 203
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #32 il: 21 May 2014, 20:54:02 »
Nel frattempo ho appena aggiornato l'estensione per aggiungere una "soluzione"  nel caso ci siano più sottotitoli nel file.
Se ci sono per esempio 3 sottotitoli nel file zip la prima volta che viene scaricato usa il primo, se riscaricato si ricorda qual'era l'ultimo e usa il secondo e se viene riscaricato di nuovo usa il terzo... basta "semplicemente" continuare a scaricare il sottotitolo fino a che non si trova il sottotitolo giusto.
Non è granchè ma è il massimo che posso fare...


Stasera sul tardi ti allego il log completo.
Se mi dici il percorso sostituisco tranquillamente il file.

Se preferisci possiamo sentirci in pm per evitare di spammare il thread.

Grazie ancora.
Ok aspetto allora il log e poi ti creo un file da sostituire

ser223344

  • Visitatore
Re: XBMC ItaSA Subtitle downloader
« Risposta #33 il: 22 May 2014, 22:52:23 »
Ciao ,vorrei chiedere una mano per favore.
Quando attivo il plugin ricevo questo errore
Codice: [Seleziona]
12:15:26 36983.941406 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): start processing
12:15:26 36984.144531 T:2932380736   DEBUG: CecLogMessage - >> 01:8b:53
12:15:26 36984.148438 T:2932380736   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
12:15:26 36984.148438 T:2932380736   DEBUG: CecLogMessage - key released: electronic program guide (53)
12:15:26 36984.148438 T:2932380736   DEBUG: PushCecKeypress - received key 32 duration 278
12:15:29 36986.589844 T:2627728448  NOTICE: -->Python Interpreter Initialized<--
12:15:29 36986.593750 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): the source file to load is /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py
12:15:29 36986.609375 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): setting the Python path to /home/pi/.xbmc/addons/service.subtitles.itasa-master:/home/pi/.xbmc/addons/script.module.simplejson/lib:/home/pi/.xbmc/addons/script.module.beautifulsoup/lib:/home/pi/.upgrade/xbmc-14-20140507-nc3/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.module.pil/lib:/home/pi/.xbmc/addons/script.common.plugin.cache/lib:/home/pi/.xbmc/addons/script.module.pytz/lib:/home/pi/.upgrade/xbmc-14-20140507-nc3/xbmc-bcm/xbmc-bin/share/xbmc/addons/xbmc.debug/:/home/pi/.xbmc/addons/script.module.xbmcswift2/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/pymodules/python2.7
12:15:29 36986.613281 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): entering source directory /home/pi/.xbmc/addons/service.subtitles.itasa-master
12:15:29 36986.613281 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): instantiating addon using automatically obtained id of "service.subtitles.itasa" dependent on version 2.14.0 of the xbmc.python api
12:15:37 36995.179688 T:2627728448   DEBUG: ### [__main__] - Application version: 1.0.1
12:15:37 36995.210938 T:2627728448   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py", line 524, in <module>
                                                params = get_params()
                                              File "/home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py", line 64, in get_params
                                                paramstring = sys.argv[2]
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
12:15:37 36995.246094 T:3036766208   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
12:15:38 36995.734375 T:2627728448    INFO: Python script stopped
12:15:38 36995.738281 T:2627728448   DEBUG: Thread LanguageInvoker 2627728448 terminating

ho settato i sottotitoli in italiano. Uso raspmc con XBMC 14.0 aplpha1 build del 7 maggio.
Questo problema c'e' l'ho anche con altri plugin per sottotitoli ,quindi e' un problema mio. Chiedo se c'e' qualcuno di buon cuore che mi riesce a dare una mano.

Grazie mille!
« Ultima modifica: 22 May 2014, 22:59:48 da ser223344 »

EmaGuzzetti

  • *
  • Post: 203
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #34 il: 23 May 2014, 00:27:33 »
Ciao ,vorrei chiedere una mano per favore.
Quando attivo il plugin ricevo questo errore
Codice: [Seleziona]
12:15:26 36983.941406 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): start processing
12:15:26 36984.144531 T:2932380736   DEBUG: CecLogMessage - >> 01:8b:53
12:15:26 36984.148438 T:2932380736   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
12:15:26 36984.148438 T:2932380736   DEBUG: CecLogMessage - key released: electronic program guide (53)
12:15:26 36984.148438 T:2932380736   DEBUG: PushCecKeypress - received key 32 duration 278
12:15:29 36986.589844 T:2627728448  NOTICE: -->Python Interpreter Initialized<--
12:15:29 36986.593750 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): the source file to load is /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py
12:15:29 36986.609375 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): setting the Python path to /home/pi/.xbmc/addons/service.subtitles.itasa-master:/home/pi/.xbmc/addons/script.module.simplejson/lib:/home/pi/.xbmc/addons/script.module.beautifulsoup/lib:/home/pi/.upgrade/xbmc-14-20140507-nc3/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.module.pil/lib:/home/pi/.xbmc/addons/script.common.plugin.cache/lib:/home/pi/.xbmc/addons/script.module.pytz/lib:/home/pi/.upgrade/xbmc-14-20140507-nc3/xbmc-bcm/xbmc-bin/share/xbmc/addons/xbmc.debug/:/home/pi/.xbmc/addons/script.module.xbmcswift2/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/pymodules/python2.7
12:15:29 36986.613281 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): entering source directory /home/pi/.xbmc/addons/service.subtitles.itasa-master
12:15:29 36986.613281 T:2627728448   DEBUG: CPythonInvoker(10, /home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py): instantiating addon using automatically obtained id of "service.subtitles.itasa" dependent on version 2.14.0 of the xbmc.python api
12:15:37 36995.179688 T:2627728448   DEBUG: ### [__main__] - Application version: 1.0.1
12:15:37 36995.210938 T:2627728448   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py", line 524, in <module>
                                                params = get_params()
                                              File "/home/pi/.xbmc/addons/service.subtitles.itasa-master/service.py", line 64, in get_params
                                                paramstring = sys.argv[2]
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
12:15:37 36995.246094 T:3036766208   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
12:15:38 36995.734375 T:2627728448    INFO: Python script stopped
12:15:38 36995.738281 T:2627728448   DEBUG: Thread LanguageInvoker 2627728448 terminating

ho settato i sottotitoli in italiano. Uso raspmc con XBMC 14.0 aplpha1 build del 7 maggio.
Questo problema c'e' l'ho anche con altri plugin per sottotitoli ,quindi e' un problema mio. Chiedo se c'e' qualcuno di buon cuore che mi riesce a dare una mano.

Grazie mille!
sembrerebbe un bug di xbmc alpha o proprio della versione di raspbmc.
Mi servirebbe anche la parte prima del log per esser sicuro ma sembrerebbe che ci sia qualcosa che non va nel modo in cui xbmc passa i dati all'addon. Difatti l'errore avviene quando l'addon preleva le informazioni e quella parte è uguale per tutti i servizi sottotitoli..

ser223344

  • Visitatore
Re: XBMC ItaSA Subtitle downloader
« Risposta #35 il: 23 May 2014, 13:29:53 »
Ciao e grazie per la risposta!
Ecco il log esteso :

Codice: [Seleziona]
02:34:44 4315.837891 T:2933666880   DEBUG: CecLogMessage - >> 01:44:53
02:34:44 4315.839355 T:2933666880   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): user control pressed (44)
02:34:44 4315.840820 T:2933666880   DEBUG: CecLogMessage - key pressed: electronic program guide (53)
02:34:44 4315.842285 T:2933666880   DEBUG: PushCecKeypress - received key 32 duration 0
02:34:44 4315.848633 T:3036774400   DEBUG: OnKey: two (0x32) pressed, action is RunScript(service.subtitles.itasa)
02:34:44 4315.858398 T:2807034944  NOTICE: Thread LanguageInvoker start, auto delete: false
02:34:44 4315.860352 T:2807034944    INFO: initializing python engine.
02:34:44 4315.861328 T:2807034944   DEBUG: CPythonInvoker(7, /home/pi/.xbmc/addons/service.subtitles.itasa/service.py): start processing
02:34:45 4316.326172 T:2933666880   DEBUG: CecLogMessage - >> 01:8b:53
02:34:45 4316.327637 T:2933666880   DEBUG: CecLogMessage - >> TV (0) -> Recorder 1 (1): vendor remote button up (8B)
02:34:45 4316.328613 T:2933666880   DEBUG: CecLogMessage - key released: electronic program guide (53)
02:34:45 4316.329590 T:2933666880   DEBUG: PushCecKeypress - received key 32 duration 488
02:34:46 4317.491211 T:2877498432   DEBUG: ### [Qlock] - Delaying 3 secs
02:34:47 4318.308105 T:2807034944  NOTICE: -->Python Interpreter Initialized<--
02:34:47 4318.312012 T:2807034944   DEBUG: CPythonInvoker(7, /home/pi/.xbmc/addons/service.subtitles.itasa/service.py): the source file to load is /home/pi/.xbmc/addons/service.subtitles.itasa/service.py
02:34:47 4318.329102 T:2807034944   DEBUG: CPythonInvoker(7, /home/pi/.xbmc/addons/service.subtitles.itasa/service.py): setting the Python path to /home/pi/.xbmc/addons/service.subtitles.itasa:/home/pi/.xbmc/addons/script.module.simplejson/lib:/home/pi/.xbmc/addons/script.module.beautifulsoup/lib:/home/pi/.upgrade/xbmc-14-20140507-nc3/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.module.pil/lib:/home/pi/.xbmc/addons/script.common.plugin.cache/lib:/home/pi/.xbmc/addons/script.module.pytz/lib:/home/pi/.upgrade/xbmc-14-20140507-nc3/xbmc-bcm/xbmc-bin/share/xbmc/addons/xbmc.debug/:/home/pi/.xbmc/addons/script.module.xbmcswift2/lib:/usr/lib/python2.7:/usr/lib/python2.7/plat-linux2:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload:/usr/local/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages:/usr/lib/python2.7/dist-packages/PIL:/usr/lib/pymodules/python2.7
02:34:47 4318.336914 T:2807034944   DEBUG: CPythonInvoker(7, /home/pi/.xbmc/addons/service.subtitles.itasa/service.py): entering source directory /home/pi/.xbmc/addons/service.subtitles.itasa
02:34:47 4318.338867 T:2807034944   DEBUG: CPythonInvoker(7, /home/pi/.xbmc/addons/service.subtitles.itasa/service.py): instantiating addon using automatically obtained id of "service.subtitles.itasa" dependent on version 2.14.0 of the xbmc.python api
02:34:49 4320.379395 T:2877498432   DEBUG: ### [Qlock] - Delaying 3 secs
02:34:56 4327.738770 T:2807034944   DEBUG: Previous line repeats 3 times.
02:34:56 4327.738770 T:2807034944   DEBUG: ### [__main__] - Application version: 1.0.1
02:34:56 4327.755371 T:2807034944   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/home/pi/.xbmc/addons/service.subtitles.itasa/service.py", line 524, in <module>
                                                params = get_params()
                                              File "/home/pi/.xbmc/addons/service.subtitles.itasa/service.py", line 64, in get_params
                                                paramstring = sys.argv[2]
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
02:34:56 4327.768066 T:3036774400   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
02:34:56 4328.179199 T:2807034944    INFO: Python script stopped
02:34:56 4328.183594 T:2807034944   DEBUG: Thread LanguageInvoker 2807034944 terminating
02:34:58 4329.427734 T:2877498432   DEBUG: ### [Qlock] - Delaying 3 secs
02:35:00 4331.484863 T:2877498432   DEBUG: ### [Qlock] - Delaying 240 secs
02:35:01 4333.158203 T:3036774400   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------

quella che ho installato e' una nightly ,adesso la aggiorno ,vediamo un po' ...

EmaGuzzetti

  • *
  • Post: 203
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #36 il: 23 May 2014, 13:52:08 »
Ma il servizio da dove lo avvii? Con la nuova versione 14 si possono avviare direttamente dall'addon manager ma questa estensione da li non fa nulla..
Deve essere eseguita mentre si riproduce il video desiderato cliccando nella barra dei comandi l'apposito tasto.. Mi confermi che l'hai eseguito da riproduzione video?

ser223344

  • Visitatore
Re: XBMC ItaSA Subtitle downloader
« Risposta #37 il: 23 May 2014, 22:52:21 »
Ho collegato un tasto del telecomando allo script (editanto il file remote.xml) e lo avvio dopo aver messo in riproduzione un video ... ho fatto anche l'aggiornamento all'ultima build ma il problema perdura ...

EmaGuzzetti

  • *
  • Post: 203
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #38 il: 24 May 2014, 02:23:14 »
Allora è quello il problema. L'addon è un servizio fatto per essere usato tramite la ricerca sottotitoli e non direttamente. Non devi mappare il mio addon ma la finestra di ricerca sottotitoli da cui potrai cercare con tutti gli addon abilitati.
Il nome da mappare dovrebbe essere subtitlesearch

ser223344

  • Visitatore
Re: XBMC ItaSA Subtitle downloader
« Risposta #39 il: 24 May 2014, 08:46:45 »
 :hug:

Scusami ,non lo sapevo ,avevo adattato un'altra guida.

Ho fatto come mi hai detto,ho sostituito  la stringa di esecuzione dello script con subtitlesearch ma non parte. Allora l'ho sostituito con OSD,dal quale mi posso spostare con le frecce sul pulsante dei sottotitoli e da li parte perfettamente

Trovero' il modo di farlo partire in background in automatico.

Grazie per avermi messo sulla strada giusta e per tutto il lavoro che fate.
Buon weekend.

hpx150

  • Visitatore
Re: XBMC ItaSA Subtitle downloader
« Risposta #40 il: 27 August 2014, 21:43:30 »
Un ringraziamento ad emmaguzzetti per l'ottimo lavoro svolto
 :+:

frank.paletta

  • Homer Simpson
  • Post: 27
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #41 il: 16 October 2014, 10:40:30 »
Grazie per l'ottimo lavoro, uso il servizio sottotitoli con xbmc gotham senza problemi.
Sono anche un appassionato di standup comedy e mi fanno gola i subs di comedyBay, che voi ospitate già.
Visto che loro un addon non ce l'hanno...perchè non li mettete a disposizione nel vostro?
Lo dico così.... in maniera disinteressata eh!  :distratto:

EmaGuzzetti

  • *
  • Post: 203
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #42 il: 16 October 2014, 12:47:36 »
Grazie per l'ottimo lavoro, uso il servizio sottotitoli con xbmc gotham senza problemi.
Sono anche un appassionato di standup comedy e mi fanno gola i subs di comedyBay, che voi ospitate già.
Visto che loro un addon non ce l'hanno...perchè non li mettete a disposizione nel vostro?
Lo dico così.... in maniera disinteressata eh!  :distratto:
L'addon non è sviulppato direttamente da itasa ma da me. Al momento l'addon usa le api di itasa e accede in teoria a tutti i subs di serie tv di itasa.
Solo alle serie perchè solo per le serie ci sono le api. Finchè non le cambieranno non ho modo di cercare film e altri contenuti

spettinatomagico

  • Jerry Gergich
  • Post: 1
    • Mostra profilo
Re: XBMC ItaSA Subtitle downloader
« Risposta #43 il: 9 December 2014, 22:40:11 »
scusate la niubbaggine, ma io proprio non riesco a capire come si fa ad abilitare i sottotitoli...qualcuno mi da una mano?  :wall:

Superpiffer

  • This Is Uomo | Mulan di Daffodils | SuperPfiffer | Carlo Conti Itasiano | Pif Norris | Uomo senza genere | Cuoricino di TIU
  • *
  • Post: 1471
  • Sesso: Maschio
  • Rock and roll can never die...
    • Mostra profilo
  • (Re)Synch: 700
  • Traduzioni: 347
Re: XBMC ItaSA Subtitle downloader
« Risposta #44 il: 15 December 2014, 13:47:42 »
Ciao! Volevo segnalare che su Kodi 14.0-rc3 per qualche motivo il tuo plugin non funziona più e l'errore che ottengo è questo:
Codice: [Seleziona]
DEBUG: ### [italiansubs.net] - Search_itasa='{'mansearch': False, 'onlineid': '262980', 'episode': '04', 'temp': False, 'title': 'Chapter 17', 'season': '2', 'tvshow': 'House of Cards (US)', 'languages': ['ita'], 'rar': False, 'year': '2014', 'file_original_path': u'/home/superpiffer/Serie TV/House of Cards (2013)/House of Cards (US) - 2x04 - Chapter 17.mp4'}', filename='House of Cards (US) - 2x04 - Chapter 17', addon_version=1.0.2
DEBUG: ### [italiansubs.net] - Search tv show 'House of Cards (US)'
DEBUG: ### [italiansubs.net] - Search tv show by TheTVDB id 262980
DEBUG: ### [italiansubs.net] - Found itasa id 3946
DEBUG: ### [italiansubs.net] - Getting url: https://api.italiansubs.net/api/rest/subtitles/search?q=2x04&show_id=3946&apikey=4ffc34b31af2bca207b7256483e24aac
DEBUG: ### [italiansubs.net] - Failed to get url:https://api.italiansubs.net/api/rest/subtitles/search?q=2x04&show_id=3946&apikey=4ffc34b31af2bca207b7256483e24aac
La lingua italiana è impostata e provano Opensubtitles funziona correttamente invece.
Citazione da: Geodefender per The Man in the High Castle 2x04
Ok, ti ho revvato e la buona notizia è che per oggi non morirai.
Citazione da: chizpurfle per Dark Angel 2x06
Niente di grave ma se vuoi evitarti gli insulti del busto (che è molto più cattivo di me in quanto ha problemi di assenza di arti che gli causano una forte rabbia) confrontala tua parte con i sub rilasciati e vedrai che man mano ci prendi la mano. Non usare mai questo modo di dire con il.busto.
Citazione da: Daffodils per This is us 1x14
un paio di typo sparsi e una generale carenza di virgole. Omaggio della casa: ,,,,,,,,,,,,,,,, :P
Citazione da: Daffodils per The Good Fight 1x07
Boh, non mi ricordo più, mi ero detta che dovevo appuntarmi qualcosa ma poi... oh! una farfalla!