diff --git a/channels/raiplay.py b/channels/raiplay.py index 5c581348..51a6adb5 100644 --- a/channels/raiplay.py +++ b/channels/raiplay.py @@ -162,8 +162,8 @@ def Type(item): def liveDict(): livedict = OrderedDict({}) info = {} - url = host + '/dl/RaiPlay/2016/PublishingBlock-9a2ff311-fcf0-4539-8f8f-c4fee2a71d58.html?json' - json = current_session.get(url).json()['dirette'] + url = host + '/dirette.json' + json = current_session.get(url).json()['contents'] onAir = current_session.get(onair).json()['on_air'] for key in onAir: channel = key['channel'] @@ -173,7 +173,7 @@ def liveDict(): for key in json: channel = key['channel'] livedict[channel] = {} - livedict[channel]['url'] = key['video']['contentUrl'] + livedict[channel]['url'] = key['video']['content_url'] livedict[channel]['plot'] = info[channel]['plot'] livedict[channel]['fanart'] = info[channel]['fanart'] diff --git a/resources/language/resource.language.en_gb/strings.po b/resources/language/resource.language.en_gb/strings.po index 9d8d6208..f46f533c 100644 --- a/resources/language/resource.language.en_gb/strings.po +++ b/resources/language/resource.language.en_gb/strings.po @@ -701,7 +701,7 @@ msgid "This website [B]%s[/B] seems to be unavailable, try later. if the web pag msgstr "" msgctxt "#60014" -msgid "It may be due to a connection problem, the web page of the channel has changed its structure, or an internal error of KoD. If on browser it works, report the issue using [B]Help->Report an issue.[B]" +msgid "It may be due to a connection problem, the web page of the channel has changed its structure, or an internal error of KoD. If on browser it works, report the issue using [B]Help->Report an issue.[/B]" msgstr "" msgctxt "#60015" diff --git a/resources/language/resource.language.it_it/strings.po b/resources/language/resource.language.it_it/strings.po index aa2e32cd..5c66f050 100644 --- a/resources/language/resource.language.it_it/strings.po +++ b/resources/language/resource.language.it_it/strings.po @@ -700,7 +700,7 @@ msgid "This website [B]%s[/B] seems to be unavailable, try later. if the web pag msgstr "Il sito [B]%s[/B] non sembra essere disponibile, riprova più tardi. Se la pagina web funziona correttamente segnala l'errore qui: https://github.com/kodiondemand/addon/issues" msgctxt "#60014" -msgid "It may be due to a connection problem, the web page of the channel has changed its structure, or an internal error of KoD. If on browser it works, report the issue using [B]Help->Report an issue.[B]" +msgid "It may be due to a connection problem, the web page of the channel has changed its structure, or an internal error of KoD. If on browser it works, report the issue using [B]Help->Report an issue.[/B]" msgstr "Potrebbe essere dovuto a un problema di connessione, la pagina web del canale ha cambiato la sua struttura, oppure un errore interno di KoD. Se sul browser funziona, segnala il problema andando in [B]Aiuto->Segnala un problema[/B]." msgctxt "#60015"