Página 1 de 1

Errore DOWNLOAD

Publicado: 02 Mar 2016, 12:48
por simvirus
Ciao!
Grazie per il fantastico plugin.....
Ho un problema, anche se il video va in "play" se invece tento di scaricarlo ricevo un errore.
Questo quanto compare nei log

Código: Seleccionar todo

12:28:17 1848.659180 T:1958093360   DEBUG: ------ Window Deinit (DialogKeyboard.xml) ------
12:28:17 1848.659790 T:1958093360   DEBUG: CAnnouncementManager - Announcement: OnInputFinished from xbmc
12:28:17 1848.660645 T:1958093360   DEBUG: GOT ANNOUNCEMENT, type: 128, from xbmc, message OnInputFinished
12:28:17 1848.678955 T:1559229472   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeDecodeError'>
                                            Error Contents: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "/home/osmc/.kodi/addons/plugin.video.streamondemand/default.py", line 28, in <module>
                                                launcher.run()
                                              File "/home/osmc/.kodi/addons/plugin.video.streamondemand/platformcode/launcher.py", line 163, in run
                                                xbmctools.play_video(channel=channel_name, server=item.server, url=item.url, category=item.category, title=item.title, thumbnail=item.thumbnail, plot=item.plot, extra=item.extra, subtitle=item.subtitle, video_password = item.password, fulltitle=item.fulltitle, Serie=item.show)
                                              File "/home/osmc/.kodi/addons/plugin.video.streamondemand/platformcode/xbmctools.py", line 397, in play_video
                                                devuelve = downloadtools.downloadbest(video_urls,title)
                                              File "/home/osmc/.kodi/addons/plugin.video.streamondemand/core/downloadtools.py", line 465, in downloadbest
                                                logger.info("[downloadtools] Descargando opción "+title+" "+url)
                                            UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)
                                            -->End of Python script error report<--
12:28:17 1848.710571 T:1958093360   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
12:28:17 1848.711548 T:1937765408    INFO: CActiveAESink::OpenSink - initialize sink
12:28:17 1848.711914 T:1937765408   DEBUG: CActiveAESink::OpenSink - trying to open device PI:HDMI
12:28:17 1848.713379 T:1937765408   DEBUG: CAESinkPi:SetAudioProps hdmi_stream_channels 0 hdmi_channel_map 00000008
12:28:17 1848.713867 T:1937765408   DEBUG: CAESinkPi:Initialize Format:15 Channels:2 Samplerate:44100 framesize:8 bufsize:17640 bytes/s=352800.00 dest=PI:HDMI
12:28:17 1848.717041 T:1937765408   DEBUG: COMXCoreComponent::Initialize OMX.broadcom.audio_render input port 100 output port 100 m_handle 0x73993d60
12:28:17 1848.720947 T:1937765408   DEBUG: COMXCoreComponent::AllocInputBuffers component(OMX.broadcom.audio_render) - port(100), nBufferCountMin(1), nBufferCountActual(2), nBufferSize(17648), nBufferAlignmen(16)
12:28:17 1848.723633 T:1937765408   DEBUG: CActiveAESink::OpenSink - SinkPi Initialized:
12:28:17 1848.723999 T:1937765408   DEBUG:   Output Device : HDMI
12:28:17 1848.724365 T:1937765408   DEBUG:   Sample Rate   : 44100
12:28:17 1848.724609 T:1937765408   DEBUG:   Sample Format : AE_FMT_FLOAT
12:28:17 1848.724854 T:1937765408   DEBUG:   Channel Count : 2
12:28:17 1848.724976 T:1937765408   DEBUG:   Channel Layout: FL,FR
12:28:17 1848.725220 T:1937765408   DEBUG:   Frames        : 2205
12:28:17 1848.725464 T:1937765408   DEBUG:   Frame Samples : 4410
12:28:17 1848.725586 T:1937765408   DEBUG:   Frame Size    : 8
12:28:17 1848.812378 T:1559229472    INFO: Python script stopped
12:28:17 1848.812988 T:1559229472   DEBUG: Thread LanguageInvoker 1559229472 terminating
12:28:22 1854.112427 T:1958093360   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
Cosa potrebbe essere?
E' un problema del pluging o di qualche mia impostazione?
Ho provato anche a dare un nome file "normale" senza caratteri strani, ma nulla...

Grazie

Re: Errore DOWNLOAD

Publicado: 02 Mar 2016, 17:44
por dentaku65
ciao simvirus,
il titolo che stai prendendo contiene per caso un qualche carattere esteso tipo à ù é # ?

Re: Errore DOWNLOAD

Publicado: 11 Mar 2016, 15:15
por simvirus
Ciao, grazie per la risposta.
Ho fatto qualche prova e... effettivamente poi è sempre andato bene.
Che strano, in ogni caso meglio così!
Mi sono invece accorto di un altro problema, sempre legato ai download.
In caso di interruzione (per motivi dovuti alla connessione/provider) viene riportato "Download completato" anche se non è realmente così.
Altra cosa... tentando di rilanciare il download, magari immaginando che non sia stato completato, si riceva la notifica che il file è già presente.
Vi è la possibilità almeno di segnalare se il download è incompleto? (nel caso in cui la dimensione file sia inferiore/diversa da quella stimata)
Grazie