disattivato akvideo (mostra captcha), autoplay: nessun messaggio in caso di video eliminato
This commit is contained in:
@@ -6,7 +6,7 @@ Installazione: https://kodiondemand.github.io/#download
|
|||||||
KoD, come Alfa, è sotto licenza GPL v3, pertanto siete liberi di utilizzare parte del codice, a patto di rispettare i termini di suddetta licenza, che si possono riassumere in:
|
KoD, come Alfa, è sotto licenza GPL v3, pertanto siete liberi di utilizzare parte del codice, a patto di rispettare i termini di suddetta licenza, che si possono riassumere in:
|
||||||
|
|
||||||
- Il tuo addon deve essere rilasciando secondo la stessa licenza, ovvero essere open source (il fatto che lo zip sia visibile da chiunque non ha importanza, è necessario avere un repository git come questo)
|
- Il tuo addon deve essere rilasciando secondo la stessa licenza, ovvero essere open source (il fatto che lo zip sia visibile da chiunque non ha importanza, è necessario avere un repository git come questo)
|
||||||
- Aggiungere i crediti a tutto ciò che copiate/modificate, ad esempio aggiungendo un commento nel file in questione o, meglio, facendo un cherry-pick (in modo da preservarnee lo storico)
|
- Aggiungere i crediti a tutto ciò che copiate/modificate, ad esempio aggiungendo un commento nel file in questione o, meglio, facendo un cherry-pick (in modo da preservarne lo storico)
|
||||||
|
|
||||||
### Come contribuire o fare segnalazioni?
|
### Come contribuire o fare segnalazioni?
|
||||||
Ti piace il progetto e vuoi dare una mano? Leggi [qui](https://github.com/kodiondemand/addon/blob/master/CONTRIBUTING.md)
|
Ti piace il progetto e vuoi dare una mano? Leggi [qui](https://github.com/kodiondemand/addon/blob/master/CONTRIBUTING.md)
|
||||||
|
|||||||
@@ -654,7 +654,7 @@ def play_video(item, strm=False, force_direct=False, autoplay=False):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# we get the selected video
|
# we get the selected video
|
||||||
mediaurl, view, mpd = get_video_seleccionado(item, seleccion, video_urls)
|
mediaurl, view, mpd = get_video_seleccionado(item, seleccion, video_urls, autoplay)
|
||||||
if not mediaurl: return
|
if not mediaurl: return
|
||||||
|
|
||||||
# video information is obtained.
|
# video information is obtained.
|
||||||
@@ -962,7 +962,7 @@ def set_opcion(item, seleccion, opciones, video_urls):
|
|||||||
return salir
|
return salir
|
||||||
|
|
||||||
|
|
||||||
def get_video_seleccionado(item, seleccion, video_urls):
|
def get_video_seleccionado(item, seleccion, video_urls, autoplay=False):
|
||||||
logger.debug()
|
logger.debug()
|
||||||
mediaurl = ""
|
mediaurl = ""
|
||||||
view = False
|
view = False
|
||||||
@@ -990,7 +990,7 @@ def get_video_seleccionado(item, seleccion, video_urls):
|
|||||||
|
|
||||||
# If there is no mediaurl it is because the video is not there :)
|
# If there is no mediaurl it is because the video is not there :)
|
||||||
logger.debug("mediaurl=" + mediaurl)
|
logger.debug("mediaurl=" + mediaurl)
|
||||||
if mediaurl == "":
|
if mediaurl == "" and not autoplay:
|
||||||
if item.server == "unknown":
|
if item.server == "unknown":
|
||||||
alert_unsopported_server()
|
alert_unsopported_server()
|
||||||
else:
|
else:
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ msgid "Video not available"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30057"
|
msgctxt "#30057"
|
||||||
msgid "The video has been removed from %s"
|
msgid "The video has been removed from %s or the website has changed structure"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "#30058"
|
msgctxt "#30058"
|
||||||
|
|||||||
@@ -212,8 +212,8 @@ msgid "Video not available"
|
|||||||
msgstr "Video non disponibile"
|
msgstr "Video non disponibile"
|
||||||
|
|
||||||
msgctxt "#30057"
|
msgctxt "#30057"
|
||||||
msgid "The video has been removed from %s"
|
msgid "The video has been removed from %s or the website has changed structure"
|
||||||
msgstr "Il video è stato rimosso da %s"
|
msgstr "Il video è stato rimosso da %s oppure il sito ha cambiato struttura"
|
||||||
|
|
||||||
msgctxt "#30058"
|
msgctxt "#30058"
|
||||||
msgid "Try another server or channel"
|
msgid "Try another server or channel"
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"active": true,
|
"active": false,
|
||||||
"find_videos": {
|
"find_videos": {
|
||||||
"ignore_urls": [ "http://akvideo.stream/video/api"],
|
"ignore_urls": [ "http://akvideo.stream/video/api"],
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user