rebrand part3

This commit is contained in:
mac12m99
2019-04-24 21:25:07 +02:00
parent 6cdca895ce
commit 88b7d79325
13 changed files with 63 additions and 53 deletions

View File

@@ -226,7 +226,7 @@ def check_bookmark(readpath):
if itemlist:
favourites_list = read_favourites()
for item in itemlist:
data = "ActivateWindow(10025,"plugin://plugin.video.alfa/?" + item.tourl() + "",return)"
data = "ActivateWindow(10025,"plugin://plugin.video.kod/?" + item.tourl() + "",return)"
favourites_list.append((item.title, item.thumbnail, data))
if save_favourites(favourites_list):
logger.debug("Conversion de txt a xml correcta")

File diff suppressed because one or more lines are too long

View File

@@ -61,7 +61,7 @@ def set_key():
import xbmc
file_xml = "special://profile/keymaps/alfa.xml"
data = '<keymap><global><keyboard><key id="%s">' % new_key + 'runplugin(plugin://' \
'plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAia2V5bWFwIiwNCiAgICAib3BlbiI6IHRydWUNCn0=)</key></keyboard></global></keymap>'
'plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAia2V5bWFwIiwNCiAgICAib3BlbiI6IHRydWUNCn0=)</key></keyboard></global></keymap>'
filetools.write(xbmc.translatePath(file_xml), data)
platformtools.dialog_notification("Tecla guardada", "Reinicia Kodi para que se apliquen los cambios")
@@ -118,31 +118,31 @@ class Main(xbmcgui.WindowXMLDialog):
if identifier == "news":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJuZXdzIg0KfQ==")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJuZXdzIg0KfQ==")')
elif identifier == "channels":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAiZ2V0Y2hhbm5lbHR5cGVzIiwgDQogICAgImNoYW5uZWwiOiAiY2hhbm5lbHNlbGVjdG9yIg0KfQ==")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAiZ2V0Y2hhbm5lbHR5cGVzIiwgDQogICAgImNoYW5uZWwiOiAiY2hhbm5lbHNlbGVjdG9yIg0KfQ==")')
elif identifier == "search":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJzZWFyY2giDQp9")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJzZWFyY2giDQp9")')
elif identifier == "favorites":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJmYXZvcml0ZXMiDQp9")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJmYXZvcml0ZXMiDQp9")')
elif identifier == "videolibrary":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJ2aWRlb2xpYnJhcnkiDQp9")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJ2aWRlb2xpYnJhcnkiDQp9")')
elif identifier == "downloads":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJkb3dubG9hZHMiDQp9")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJkb3dubG9hZHMiDQp9")')
elif identifier == "settings":
xbmc.executebuiltin('Dialog.Close(all,true)')
xbmc.executebuiltin(
'ActivateWindow(10025, "plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJzZXR0aW5nIg0KfQ==")')
'ActivateWindow(10025, "plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAibWFpbmxpc3QiLCANCiAgICAiY2hhbm5lbCI6ICJzZXR0aW5nIg0KfQ==")')
def onAction(self, action):

View File

@@ -517,7 +517,7 @@ def clean(mostrar_dialogo=False):
def search_library_path():
sql = 'SELECT strPath FROM path WHERE strPath LIKE "special://%/plugin.video.alfa/library/" AND idParentPath ISNULL'
sql = 'SELECT strPath FROM path WHERE strPath LIKE "special://%/plugin.video.kod/library/" AND idParentPath ISNULL'
nun_records, records = execute_sql_kodi(sql)
if nun_records >= 1:
logger.debug(records[0][0])

View File

@@ -4928,8 +4928,8 @@ msgid "Search Similar"
msgstr ""
msgctxt "#70562"
msgid "Autoplay (Enable autoplay on all supported channels)"
msgstr "Autoplay (Enable autoplay on all supported channels)"
msgid "Enable autoplay on all supported channels"
msgstr ""
msgctxt "#70563"
msgid "Italian"
@@ -5542,7 +5542,7 @@ msgid "This website seems to be unavailable, try later, if the problem persists,
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. To have more details, see the log file."
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. To have more details, see the log file."
msgstr ""
msgctxt "#60015"
@@ -6878,7 +6878,7 @@ msgid "To report a problem on'https://t.me/kodiondemand' you need to:|the versio
msgstr ""
msgctxt "#60468"
msgid "You can find our Telegram group at @kodiondemand\nIf you have doubts you can write to us in the Telegram group: https://t.me/alfa_addon"
msgid "You can find our Telegram group at @kodiondemand"
msgstr ""
msgctxt "#60469"
@@ -9928,7 +9928,7 @@ msgid "Search Similar"
msgstr ""
msgctxt "#70562"
msgid "autoplay"
msgid "Autoplay"
msgstr "Enable autoplay in all channels"
msgctxt "#70563"

View File

@@ -3114,8 +3114,8 @@ msgid "Congratulations, the Kodi video library has been configured correctly."
msgstr "Complimenti, la videoteca di Kodi è stata configurata correttamente."
msgctxt "#70105"
msgid "Do you want Alfa to automatically configure the Kodi library?You will be asked to set up scrapers for movies and series."
msgstr "Vuoi che Alfa auto-configuri la videoteca di Kodi?Ti verrà chiesto di installare i providers info per film e serie tv."
msgid "Do you want KOD to automatically configure the Kodi library?You will be asked to set up scrapers for movies and series."
msgstr "Vuoi che KOD auto-configuri la videoteca di Kodi?Ti verrà chiesto di installare i providers info per film e serie tv."
msgctxt "#70106"
msgid "If you choose 'No' you can do it later from 'Configuration > Preferences > Paths'."
@@ -3174,8 +3174,8 @@ msgid "Folder name for 'Movies'"
msgstr "Nome della cartella per 'Film'"
msgctxt "#70120"
msgid "Autoconfigure XBMC / Kodi library for Alfa content"
msgstr "Autoconfigura videoteca di XBMC/Kodi per il contenuto di Alfa"
msgid "Autoconfigure XBMC / Kodi library for KOD content"
msgstr "Autoconfigura videoteca di XBMC/Kodi per il contenuto di KOD"
msgctxt "#70121"
msgid "Activate Home Page"
@@ -3470,8 +3470,8 @@ msgid "KOD-torrent"
msgstr "KOD-torrent"
msgctxt "#70195"
msgid "Alfa - Torrent"
msgstr "Alfa - Torrent"
msgid "KOD - Torrent"
msgstr "KOD - Torrent"
msgctxt "#70196"
msgid "Beginning..."
@@ -3718,8 +3718,8 @@ msgid "Settings -- Torrent"
msgstr "Configurazione-- Torrent"
msgctxt "#70258"
msgid "Alfa Started"
msgstr "Alfa Avviato"
msgid "KOD Started"
msgstr "KOD Avviato"
msgctxt "#70259"
msgid "The URL to access is http://%s:%s"
@@ -3738,11 +3738,11 @@ msgid "Stopping the Websocket server ..."
msgstr "Arresto del WebSocket..."
msgctxt "#70263"
msgid "Alfa stopped"
msgstr "Alfa Arrestato"
msgid "KOD stopped"
msgstr "KOD Arrestato"
msgctxt "#70264"
msgid "Enter the username and password to access Alfa"
msgid "Enter the username and password to access KOD"
msgstr "Enter the ususername e password per accedere a proteus"
msgctxt "#70265"
@@ -4912,8 +4912,8 @@ msgid "Search Similar"
msgstr "Cerca Simili"
msgctxt "#70562"
msgid "Autoplay (Enable autoplay in all channels)"
msgstr "Autoplay (Abilita autoplay in tutti i canali)"
msgid "Enable autoplay on all supported channels"
msgstr "Abilita l'autoplay in tutti i canali supportati"
msgctxt "#70563"
msgid "Italian"
@@ -4980,8 +4980,8 @@ msgid "To avoid waiting too long when a server does not respond:"
msgstr "Per evitare di aspettare troppo a lungo quando un server non risponde:"
msgctxt "#70579"
msgid "Settings of urgent updates of Alfa modules (Quick Fixes):"
msgstr "Impostazioni per gli aggiornamenti urgenti dei moduli di Alfa (Quick Fixes)"
msgid "Settings of urgent updates of KOD modules (Quick Fixes):"
msgstr "Impostazioni per gli aggiornamenti urgenti dei moduli di KOD (Quick Fixes)"
msgctxt "#70580"
msgid "Timeout (maximum waiting time)"
@@ -4996,8 +4996,8 @@ msgid "Do you want to see messages about the updates?"
msgstr "Voi ricevere dei messaggi per quanto riguarda gli aggiornamenti?"
msgctxt "#70583"
msgid "Management of updates of other addons related to Alfa:"
msgstr "Gestione degli aggiornamenti per gli altri addon relativi ad Alfa"
msgid "Management of updates of other addons related to KOD:"
msgstr "Gestione degli aggiornamenti per gli altri addon relativi ad KOD"
msgctxt "#70584"
msgid "Do you want to update Quasar to avoid errors?"
@@ -5368,11 +5368,11 @@ msgstr "Addon aggiornato correttamente a %s.fix%d"
msgctxt "#70673"
msgid "Alpha updated to"
msgstr "Alfa aggiornato a"
msgstr "KOD aggiornato a"
msgctxt "#70674"
msgid "Alfa updates"
msgstr "Alfa aggiornamenti"
msgid "KOD updates"
msgstr "Aggiornamenti KOD"
msgctxt "#70675"
msgid "Error checking updates"
@@ -5395,8 +5395,8 @@ msgid "From URL"
msgstr "Da URL"
msgctxt "#70680"
msgid "Alfa - (Community)"
msgstr "Alfa - (Community)"
msgid "KOD - (Community)"
msgstr "KOD - (Community)"
msgctxt "#70681"
msgid "Enter the channel URL"

View File

@@ -113,7 +113,7 @@
<setting id="extended_info" type="bool" label="70152" default="false"/>
<setting label="70153" type="lsep"/>
<setting id="shortcut_key" type="action" label="30999" action="RunPlugin(plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAia2V5bWFwIg0KfQ==)" />
<setting id="shortcut_key" type="action" label="30999" action="RunPlugin(plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAia2V5bWFwIg0KfQ==)" />
<setting type="sep"/>
<setting label="70154" type="lsep"/>
@@ -121,7 +121,7 @@
<setting id="tmdb_plus_info" type="bool" label="70156" default="false"/>
<setting id="tmdb_cache" type="bool" label="70157" default="true"/>
<setting id="tmdb_cache_expire" type="enum" lvalues="70158|70159|70160|70161|70170" label="70162" enable="eq(-1,true)" default="4"/>
<setting id="tmdb_clean_db_cache" type="action" label="70163" action="RunPlugin(plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAic2NyaXB0Ig0KfQ==)" />
<setting id="tmdb_clean_db_cache" type="action" label="70163" action="RunPlugin(plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAic2NyaXB0Ig0KfQ==)" />
<setting type="sep"/>
<setting label="70578" type="lsep"/>
@@ -251,7 +251,7 @@
<setting id="extended_info" type="bool" label="70152" default="false"/>
<setting label="70153" type="lsep"/>
<setting id="shortcut_key" type="action" label="30999" action="RunPlugin(plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAia2V5bWFwIg0KfQ==)" />
<setting id="shortcut_key" type="action" label="30999" action="RunPlugin(plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAia2V5bWFwIg0KfQ==)" />
<setting type="sep"/>
<setting label="70154" type="lsep"/>
@@ -259,7 +259,7 @@
<setting id="tmdb_plus_info" type="bool" label="70156" default="false"/>
<setting id="tmdb_cache" type="bool" label="70157" default="true"/>
<setting id="tmdb_cache_expire" type="enum" lvalues="70158|70159|70160|70161|70170" label="70162" enable="eq(-1,true)" default="4"/>
<setting id="tmdb_clean_db_cache" type="action" label="70163" action="RunPlugin(plugin://plugin.video.alfa/?ew0KICAgICJhY3Rpb24iOiAic2NyaXB0Ig0KfQ==)" />
<setting id="tmdb_clean_db_cache" type="action" label="70163" action="RunPlugin(plugin://plugin.video.kod/?ew0KICAgICJhY3Rpb24iOiAic2NyaXB0Ig0KfQ==)" />
<setting type="sep"/>
<setting label="Para evitar esperar demasiado cuando un servidor no responde:" type="lsep"/>

View File

@@ -26,7 +26,7 @@
<textcolor>0xFFFFA500</textcolor>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70000]</label>
<label>$ADDON[plugin.video.kod 70000]</label>
</control>
<control type="button" id="10003">
<posx>735</posx>
@@ -46,7 +46,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70001]</label>
<label>$ADDON[plugin.video.kod 70001]</label>
</control>
<control type="button" id="10005">
<posx>325</posx>
@@ -58,7 +58,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70002]</label>
<label>$ADDON[plugin.video.kod 70002]</label>
</control>
<control type="button" id="10006">
<posx>495</posx>
@@ -70,7 +70,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70003]</label>
<label>$ADDON[plugin.video.kod 70003]</label>
</control>
<control type="group" id="10007">
<posy>45</posy>
@@ -91,7 +91,7 @@
<textcolor>0xFFFFFFFF</textcolor>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70004]</label>
<label>$ADDON[plugin.video.kod 70004]</label>
</control>
</control>
<control type="image" id="10008">

View File

@@ -27,7 +27,7 @@
<shadowcolor>black</shadowcolor>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70000]</label>
<label>$ADDON[plugin.video.kod 70000]</label>
</control>
<control type="button" id="10003">
<posx>735</posx>
@@ -303,7 +303,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70005]</label>
<label>$ADDON[plugin.video.kod 70005]</label>
</control>
<control type="button" id="10026">
<posy>0</posy>
@@ -315,7 +315,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70006]</label>
<label>$ADDON[plugin.video.kod 70006]</label>
</control>
<control type="button" id="10027">
<posy>0</posy>
@@ -327,7 +327,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70002]</label>
<label>$ADDON[plugin.video.kod 70002]</label>
</control>
<control type="button" id="10028">
<posy>0</posy>
@@ -339,7 +339,7 @@
<texturenofocus>Controls/KeyboardKeyNF.png</texturenofocus>
<align>center</align>
<aligny>center</aligny>
<label>$ADDON[plugin.video.alfa 70007]</label>
<label>$ADDON[plugin.video.kod 70007]</label>
</control>
<control type="label" id="100029">
<posy>0</posy>

View File

@@ -36,7 +36,7 @@
<width>969</width>
<height>70</height>
<font>font20_title</font>
<label>Alfa - $ADDON[plugin.video.alfa 30998]</label>
<label>Alfa - $ADDON[plugin.video.kod 30998]</label>
<align>left</align>
<aligny>center</aligny>
<shadowcolor>black</shadowcolor>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 375 B

After

Width:  |  Height:  |  Size: 1.4 KiB