The branch, frodo has been updated
via 0e0346812907cb540a09b5edb443ef503d8c1579 (commit)
via f22a96c0fe1dde10d32e6404dbaef5f525de56f0 (commit)
from d510a6b8c00fe54572e433c2a459cb9338591a6e (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=0e0346812907cb540a09b5edb443ef503d8c1579
commit 0e0346812907cb540a09b5edb443ef503d8c1579
Author: Martijn Kaijser <mcm.kaij...@gmail.com>
Date: Fri Dec 6 21:33:08 2013 +0100
[plugin.video.peoplesvoice] 0.0.9
diff --git a/plugin.video.peoplesvoice/Default.py
b/plugin.video.peoplesvoice/Default.py
index b0a7743..c927d1f 100644
--- a/plugin.video.peoplesvoice/Default.py
+++ b/plugin.video.peoplesvoice/Default.py
@@ -9,32 +9,34 @@ __language__ = addon.getLocalizedString
def CATEGORIES():
-
addDir(__language__(30010),'http://www.thepeoplesvoice.tv/watchnow',1,'http://thepeoplesvoice.tv/images/footer-logo.gif',__language__(30013))
-
addDir(__language__(30016),'http://www.thepeoplesvoice.tv/schedule',3,'http://thepeoplesvoice.tv/images/footer-logo.gif',__language__(30013))
+
addDir(__language__(30010),'http://www.thepeoplesvoice.tv/watchnow',1,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
+
addDir(__language__(30016),'http://www.thepeoplesvoice.tv/schedule',3,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
def INDEX(url):
+
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.2; Win64; x64;
rv:16.0.1) Gecko/20121011 Firefox/16.0.1')
response = urllib2.urlopen(req)
link=response.read()
response.close()
#Scrape video source
- match=re.compile('"TPV" href="(.+?)"><span style="color:
#ffffff;">(.+?)</span').findall(link)
+ match=re.compile('href="(.+?)" target="TPV"><span style="color:
#ffffff;">(.+?)</span').findall(link)
for url,name in match:
-
addDir(__language__(30010)+name,url,2,'http://thepeoplesvoice.tv/images/footer-logo.gif',__language__(30014)+__language__(30015)+__language__(30012))
+
addDir(__language__(30010)+name,url,2,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30014)+__language__(30015)+__language__(30012))
def INDEX2(url):
+
req = urllib2.Request(url)
req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.2; Win64; x64;
rv:16.0.1) Gecko/20121011 Firefox/16.0.1')
response = urllib2.urlopen(req)
link=response.read()
response.close()
- #Scrape video source
- match=re.compile('"date-display-start">(.+?)</span> to <span
class="date-display-end">(.+?)</span></span><br /><span
class="show-title">(.+?)</span><br /><span
class="show-host">(.+?)</span>').findall(link)
-
- for starttime,endtime,name,plot in match:
- addDir(starttime+' - '+endtime+'
'+name,'',0,'http://thepeoplesvoice.tv/images/footer-logo.gif',plot)
+ #Scrape program schedule
+ match=re.compile('"date-display-single">(.+?)</span> GMT<br /><span
class="show-title">(.+?)<').findall(link)
+ for starttime,name in match:
+ name = name.replace('"', '"').replace(''',
"'").replace('&', '&') # Cleanup the title.
+ addDir(starttime+'
'+name,'',0,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',starttime+'
'+name)
def VIDEOLINKS(url,name):
@@ -42,13 +44,11 @@ def VIDEOLINKS(url,name):
req.add_header('User-Agent', 'Mozilla/5.0 (Windows NT 6.2; Win64; x64;
rv:16.0.1) Gecko/20121011 Firefox/16.0.1')
response = urllib2.urlopen(req)
link=response.read()
- response.close()
-
+ response.close()
#Scrape video source
- match=re.compile('window.location.href = "(.+?)"').findall(link)
-
+ match=re.compile('window.location.href = "(.+?)"').findall(link)
for url in match:
-
addLink(name+__language__(30011),url,'http://thepeoplesvoice.tv/images/footer-logo.gif',__language__(30013))
+
addLink(name+__language__(30011),url,'http://www.thepeoplesvoice.tv/sites/all/themes/tpv/images/tpv-logo-footer.gif',__language__(30013))
diff --git a/plugin.video.peoplesvoice/addon.xml
b/plugin.video.peoplesvoice/addon.xml
index 8e6de45..21befce 100644
--- a/plugin.video.peoplesvoice/addon.xml
+++ b/plugin.video.peoplesvoice/addon.xml
@@ -3,7 +3,7 @@
id="plugin.video.peoplesvoice"
name="The People's Voice"
provider-name="celadoor"
- version="0.0.8">
+ version="0.0.9">
<requires>
<import addon="xbmc.python" version="2.1.0" />
<import addon="script.common.plugin.cache" version="1.5.1" />
diff --git a/plugin.video.peoplesvoice/changelog.txt
b/plugin.video.peoplesvoice/changelog.txt
index 3383d01..1a2985a 100644
--- a/plugin.video.peoplesvoice/changelog.txt
+++ b/plugin.video.peoplesvoice/changelog.txt
@@ -1,4 +1,7 @@
-created by celadoor.
+Plays the People's Voice live video stream. created by celadoor.
+
+Version 0.0.9 -Fixed Channel Logo,video url and Program schedule url
+
Version 0.0.8 -Cleaned up fanart
Version 0.0.7 -Tidy up for repo.
@@ -15,5 +18,5 @@ Version 0.0.2 -Fixed url changes.
Version 0.0.1 -Initial Release. Plays the People's Voice live Video
stream.
- Video Plugin is derived from Voinage's Plugin Tutorial
+
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=f22a96c0fe1dde10d32e6404dbaef5f525de56f0
commit f22a96c0fe1dde10d32e6404dbaef5f525de56f0
Author: Martijn Kaijser <mcm.kaij...@gmail.com>
Date: Fri Dec 6 21:31:55 2013 +0100
[plugin.video.jworg] 0.3.1
diff --git a/plugin.video.jworg/addon.py b/plugin.video.jworg/addon.py
index 57d7a23..adf35c9 100644
--- a/plugin.video.jworg/addon.py
+++ b/plugin.video.jworg/addon.py
@@ -2,8 +2,6 @@
# for utf-8 see http://www.python.org/dev/peps/pep-0263/
-import xbmcplugin
-
import jw_config
from video import jw_video
@@ -134,3 +132,4 @@ if content_type == "executable" :
if mode == "open_activity_article" :
url = params["url"][0]
jw_exec_activity.showArticle(url);
+
diff --git a/plugin.video.jworg/addon.xml b/plugin.video.jworg/addon.xml
index ab01f5d..59b8f19 100644
--- a/plugin.video.jworg/addon.xml
+++ b/plugin.video.jworg/addon.xml
@@ -2,7 +2,7 @@
<addon
id="plugin.video.jworg"
name="Jw.org audio/video browser"
- version="0.3.0"
+ version="0.3.1"
provider-name="Realtebo">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
@@ -13,26 +13,34 @@
</extension>
<extension point="xbmc.addon.metadata">
<summary lang="af">'N eenvoudige webleser vir jw.org
media-inhoud</summary>
+ <summary lang="ca">Un navegador simple per el contingut multimèdia de
jw.org</summary>
<summary lang="de">Ein einfacher Browser für jw.org
Medieninhalte</summary>
<summary lang="el">ÎÎ½Î±Ï Î±ÏλÏÏ ÏεÏιηγηÏήÏ
ÏεÏιεÏομÎνοÏ
για Ïο jw.org</summary>
<summary lang="en">A simple browser for jw.org media content</summary>
<summary lang="es">Un navegador simple para jw.org contenido de
medios</summary>
+ <summary lang="fr">Un navigateur simple pour le contenu du site
jw.org</summary>
+ <summary lang="gl">Navegador sinxelo do contido de jw.org</summary>
+ <summary lang="hu">Egyszerű böngészŠa jw.org
médiatartalmaihoz.</summary>
<summary lang="it">Un semplice browser per i contenuti di
jw.org</summary>
<summary lang="nl">Een simpele browser voor JW.org
media-inhoud</summary>
<summary lang="pl">Prosta przeglÄ
darka treÅci medialnych serwisu
jw.org</summary>
<summary lang="pt">Um navegador simples para o conteúdo de média em
jw.org</summary>
<summary lang="pt_BR">Um simples navegador para conteúdo de mÃdia da
jw.org</summary>
<description lang="af">Direkte uitsaaiing van www.jw.org, jy kan: [CR]
- films kyk [CR] - luister tydskrif lesings, liedjies en koninkryk melodieë,
Bybel lees, klank dramas en dramatiese Bybel lesings [CR] - Lees die daaglikse
teks en nuus</description>
+ <description lang="ca">Streaming directe des de www.jw.org, pots:[CR]-
veure vÃdeos[CR]- escoltar lectures de revistes, cançons i melodies
'Kingdom', lectures de la bÃblia, drames, i lectures de la bÃblia
dramatiques[CR]- Llegir els textos i noticies diaris</description>
<description lang="de">Mit direktes Streaming von www.jw.org, ist
folgendes möglich:[CR]- Videos anschauen[CR]- Magazine, Lieder und Melodien
aus dem Königreich, Bibellesungen, Audio Dramen und dramatische
Bibellesungen[CR]- den Täglichen Text lesen </description>
<description lang="el">Îε άμεÏη Ïοή αÏÏ Ïο www.jw.org,
μÏοÏείÏε να:[CR]- ΠαÏακολοÏ
θήÏεÏε βίνÏεο[CR]-
ÎκοÏÏεÏε αναγνÏÏÎµÎ¹Ï ÏεÏιοδικÏν, ÏÏαγοÏ
διÏν και βαÏιλικÏν μελÏδιÏν, βιβλικÎÏ
αναγνÏÏειÏ, ηÏηÏικά δÏάμαÏα και
δÏαμαÏοÏοιημÎÎ½ÎµÏ Î²Î¹Î²Î»Î¹ÎºÎÏ Î±Î½Î±Î³Î½ÏÏειÏ[CR]-
ÎιαβάÏεÏε Ïο ÎÎ¹Î²Î»Î¹ÎºÏ Î£ÏίÏο και Ïα ÎÎα ÏηÏ
ÎμÎÏαÏ</description>
<description lang="en">Directly streaming from www.jw.org, you
can:[CR]- watch videos[CR]- listen magazine readings, songs and kingdom
melodies, bible reading, audio dramas and dramatic bible readings[CR]- Read the
daily text and news</description>
<description lang="es">Directamente fluye de www.jw.org, puede: [CR] -
ver vÃdeos [CR] - escuchar lecturas de revistas, canciones y melodÃas reino,
lectura de la Biblia, los dramas de audio y lecturas bÃblicas dramáticas [CR]
- Lee el texto diario y noticias</description>
- <description lang="it">Direttamente in streaming da www.jw.org, è
possibile:[CR]- guardare edificanti video[CR]- ascoltare la lettura delle
riviste, cantici e melodie del regno, la lettura della Bibbia, i drammi audio
ed i brani biblici recitati[CR]- leggere la scrittura del giorno e le
news</description>
+ <description lang="fr">Lecture directement du site www.jw.org vous
pouvez:[CR]-Regarder des vidéos[CR]- Ãcouter la lecture de revues, cantiques
et mélodies du royaume, lecture de la bible, drames audio et lectures biblique
dramatiques[CR]- Lire le texte du jour et nouvelles</description>
+ <description lang="gl">Directamente fluye de www.jw.org, puede: [CR] -
ver vÃdeos [CR] - escuchar lecturas de revistas, canciones y melodÃas reino,
lectura de la Biblia, los dramas de audio y lecturas bÃblicas dramáticas [CR]
- Lee el texto diario y noticias</description>
+ <description lang="hu">Közvetlen megtekintéssel a www.jw.org
oldaról lehetséges:[CR]- videók megtekintése[CR]- újságfelolvasások
meghallgatása, dalok és isteni királyság zenék meghalgatása, biblia
felolvasás, hangjátékok és bibliai történetek felolvasása[CR]- Napi
hÃrek és üzenetek olvasása</description>
+ <description lang="it">Direttamente in streaming da www.jw.org, è
possibile: [CR]- guardare edificanti video[CR]- ascoltare la lettura delle
riviste, cantici e melodie del regno, la lettura della Bibbia, i drammi audio
ed i brani biblici recitati[CR]- leggere la scrittura del giorno e le
news</description>
<description lang="nl">Directe streaming van www.jw.org, je kan:[CR]-
Video`s bekijken[CR]- naar tijdschriftlezingen, Liedjes en volksliederen,
Bijbellezingen, audio drama`s en dramatische Bijbellezingen luisteren[CR]- lees
het dagelijkse citaat uit de bijbel en nieuws</description>
<description lang="pl">PrzeglÄ
daj internetowÄ
bibliotekÄ
multimedialnÄ
serwisu www.jw.org.[CR] - OglÄ
daj filmy[CR] - SÅuchaj melodii,
sÅuchowisk, adaptacji dźwiÄkowych Biblii, czytaj Biblie[CR] - Przeczytaj
sÅowo na dziÅ i nowoÅci</description>
<description lang="pt">Transmissões de www.jw.org, você
poderá:[CR]- ver vÃdeos[CR]- escutar leituras de magazine, músicas e
canções, leituras da bÃblia, dramatizações áudio e dramatizações de
leituras da bÃblia[CR]- Ler texto diário</description>
- <description lang="pt_BR">Transmissões de www.jw.org, você
poderá:[CR]- ver vÃdeos[CR]- escutar leituras de magazine, músicas e
canções, leituras da bÃblia, dramatizações áudio e dramatizações de
leituras da bÃblia[CR]- Ler texto diário</description>
- <language>it en pl nl es pt</language>
+ <description lang="pt_BR">Fluxo direto de www.jw.org, você pode:[CR]-
assistir vÃdeos[CR]- ouvir leitura de revistas, músicas e cantigos, leituras
da bÃblia, dramas em áudio e leituras bÃblicas dramatizadas[CR]- Ler textos
do dia e notÃcias</description>
+ <language>af de el en es it nl pl pt pt_BR</language>
<platform />
<website>http://realtebo.github.io/plugin.video.jworg/</website>
<source>https://github.com/realtebo/plugin.video.jworg</source>
diff --git a/plugin.video.jworg/audio/jw_audio.py
b/plugin.video.jworg/audio/jw_audio.py
index c906c3d..e1c3b34 100644
--- a/plugin.video.jworg/audio/jw_audio.py
+++ b/plugin.video.jworg/audio/jw_audio.py
@@ -1,3 +1,4 @@
+import xbmc
import xbmcgui
import xbmcplugin
@@ -93,4 +94,12 @@ def showAudioJson(json_url):
isFolder = False
)
+ # If there is only one audio item in the json, I start playing
+ # Otherwise the standard item list will be generated
+ if len(json["files"][language_code]["MP3"]) == 1 :
+
+ xbmc.Player().play(item=url, listitem=listItem)
+ return;
+
+
xbmcplugin.endOfDirectory(handle=jw_config.plugin_pid)
\ No newline at end of file
diff --git a/plugin.video.jworg/changelog.txt b/plugin.video.jworg/changelog.txt
index 052acfd..55b3c14 100644
--- a/plugin.video.jworg/changelog.txt
+++ b/plugin.video.jworg/changelog.txt
@@ -1,3 +1,23 @@
+0.3.1
+-----
+
+New setting:
++ Default resolution: it's used as "max resolution", so this resolution will
be used if available, otherwise the max resolution available will be used (As
asked in Issue #17)
+
+New languages supported:
++ French ("Français")
++ Hungarian ("Magyar")
+
+Bug fixes:
++ Modified "Newsroom" to react to changes in jw.org html code
+
+Small enhancements:
++ When opening audio indexes, if there is only one playable file, it will be
started without the need to confirm it clicking on the file title in the track
list; one step less for user happyness
+
+Code:
++ Improved resistance to net loading problem
+
+
0.3.0
-----
@@ -6,7 +26,7 @@ New program features:
+ Read the spiritual food program for actual week
+ Read the news from about us -> activities section of jw.org
-New languages supported
+New languages supported:
+ Afrikaans ("Afrikaans") - This locale has no audio files for bible and for
magazines
+ Greek ("Îλληνική") - This locale has no audio files for bible
+ Portuguese of Brasil ("Português (Brasil)") - Diffences in strings, but
same remote contents than Portuguese
diff --git a/plugin.video.jworg/jw_common.py b/plugin.video.jworg/jw_common.py
index f354d60..62640f4 100644
--- a/plugin.video.jworg/jw_common.py
+++ b/plugin.video.jworg/jw_common.py
@@ -99,6 +99,12 @@ def loadNotCachedJsonFromUrl(url, ajax):
response = urllib2.urlopen(request).read()
data = json.loads(response)
+ except urllib2.URLError, e:
+ print "JWORG http error"
+ print e.code
+ print e.read()
+ pass
+
except urllib2.HTTPError, e:
print "JWORG http error"
print e.code
diff --git a/plugin.video.jworg/jw_config.py b/plugin.video.jworg/jw_config.py
index f26afdc..899c424 100644
--- a/plugin.video.jworg/jw_config.py
+++ b/plugin.video.jworg/jw_config.py
@@ -23,6 +23,8 @@ locale_2_lang = {
"Portuguese (Brazil)" : "Português",
"Afrikaans" : "Afrikaans",
"Greek" : "Îλληνική",
+ "French" : "Français",
+ "Hungarian" : "Magyar",
}
main_url = "http://www.jw.org/"
@@ -48,6 +50,42 @@ const = {
"news_index" : "news/",
"activity_index" :
"testimoni-di-geova/attivit%C3%A0/",
},
+ "Magyar" : {
+ "lang_code" : "H",
+ "url_lang_code" : "hu",
+ "video_path" : "videok",
+
+ "bible_index_audio" :
"kiadvanyok/biblia/nwt/könyvek/",
+ "magazine_index" :
"kiadvanyok/folyoiratok/",
+ 'has_simplified_edition' : False,
+
+ "music_index" :
"kiadvanyok/zene-enekek/",
+ "dramas_index" : False,
+ "dramatic_reading_index" :
"kiadvanyok/bibliai-hangjatekok/",
+
+ 'wol' : "r17/lp-h",
+ "date_format" : "%d/%m/%Y",
+ "news_index" : "hirek/",
+ "activity_index" :
"jehova-tanui/tevekenysegek/",
+ },
+ "Français" : {
+ "lang_code" : "F",
+ "url_lang_code" : "fr",
+ "video_path" : "videos",
+
+ "bible_index_audio" :
"publications/bible/nwt/livres/",
+ "magazine_index" :
"publications/revues/",
+ 'has_simplified_edition' : True,
+
+ "music_index" :
"publications/musique-cantiques/",
+ "dramas_index" :
"publications/representations-dramatiques/",
+ "dramatic_reading_index" :
"publications/lectures-bibliques-theatrales/",
+
+ 'wol' : "r30/lp-f",
+ "date_format" : "%d/%m/%Y",
+ "news_index" : "actualites/",
+ "activity_index" :
"temoins-de-jehovah/activites/",
+ },
"English" : {
"lang_code" : "E",
"url_lang_code" : "en",
@@ -229,3 +267,9 @@ if language == "":
language = locale_2_lang[actual_locale]
else :
language = "English"
+
+ print "JWORG: Auto setting locale to: " + language
+ xbmcplugin.setSetting(plugin_pid, "language", language)
+
+
+
diff --git a/plugin.video.jworg/program/jw_exec_news.py
b/plugin.video.jworg/program/jw_exec_news.py
index 1e2d6d2..d30f2ef 100644
--- a/plugin.video.jworg/program/jw_exec_news.py
+++ b/plugin.video.jworg/program/jw_exec_news.py
@@ -22,7 +22,7 @@ def showNewsIndex():
html = jw_common.loadUrl(url)
- regexp_title = '<h3><a href="([^"]+)"( title="[^"]+")?>([^<]+)</a></h3>'
+ regexp_title = '<h3 class="tsrTtle"><a href="([^"]+)"(
title="[^"]+")?>([^<]+)</a></h3>'
news_found = re.findall(regexp_title, html)
# This is to try to filter out cases of double image linked
diff --git a/plugin.video.jworg/resources/language/Afrikaans/strings.po
b/plugin.video.jworg/resources/language/Afrikaans/strings.po
index 9cc9c3b..17806aa 100644
--- a/plugin.video.jworg/resources/language/Afrikaans/strings.po
+++ b/plugin.video.jworg/resources/language/Afrikaans/strings.po
@@ -30,19 +30,23 @@ msgstr "Algemeen"
msgctxt "#30010"
msgid "Books of the Bible"
-msgstr "Boeke van die Bybel"
+msgstr "Bybelboeke"
msgctxt "#30011"
msgid "Music and songs"
-msgstr "Musiek en liedjies"
+msgstr "Musiek en liedere"
msgctxt "#30012"
msgid "Daily text"
-msgstr "Daaglikse text"
+msgstr "Dagteks"
msgctxt "#30013"
msgid "Bible dramas"
-msgstr "Bybel dramas"
+msgstr "Bybeldramas"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Gedramatiseerde Bybelvoorlesings"
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
@@ -66,7 +70,7 @@ msgstr "Sorteering"
msgctxt "#30020"
msgid "Videos"
-msgstr "Videos"
+msgstr "Videoâs"
msgctxt "#30021"
msgid "Cache"
@@ -86,7 +90,7 @@ msgstr "suksesvol gedoen"
msgctxt "#30025"
msgid "Magazines"
-msgstr "tydskrifte"
+msgstr "Tydskrifte"
msgctxt "#30026"
msgid "All magazines"
@@ -98,15 +102,15 @@ msgstr "Wakker!"
msgctxt "#30028"
msgid "The Watchtower"
-msgstr "Die Uitkyktoring"
+msgstr "Die Wagtoring"
msgctxt "#30029"
msgid "The Watchtower (Study Edition)"
-msgstr "Die Uitkyktoring (Studie weergawe)"
+msgstr "Die Wagtoring (Studie-uitgawe)"
msgctxt "#30030"
msgid "The Watchtower (Simplified Edition)"
-msgstr "Die Uitkyktoring (Vergemaklik te weergawe)"
+msgstr "Die Wagtoring (Vergemaklik te weergawe)"
msgctxt "#30031"
msgid "Latest"
@@ -114,7 +118,7 @@ msgstr "Nuutste"
msgctxt "#30032"
msgid "Newsroom"
-msgstr "Nuuskamer"
+msgstr "Nuuskantoor"
msgctxt "#30033"
msgid "Unable to load remote content"
@@ -128,13 +132,10 @@ msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Teokratiese Bedieningskool"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "Bedrywighede"
-#. Showed after the body text of a news
msgctxt "#30038"
msgid "End of the article"
msgstr "Einde van die artikel"
diff --git a/plugin.video.jworg/resources/language/Catalan/strings.po
b/plugin.video.jworg/resources/language/Catalan/strings.po
index 7cdcb9b..1059be4 100644
--- a/plugin.video.jworg/resources/language/Catalan/strings.po
+++ b/plugin.video.jworg/resources/language/Catalan/strings.po
@@ -16,22 +16,126 @@ msgstr ""
"Language: ca\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "Pà gina següent >>"
+
+msgctxt "#30002"
+msgid "Language of multimedia file"
+msgstr "Idioma del fitxer multimedia"
+
msgctxt "#30005"
msgid "General"
msgstr "General"
+msgctxt "#30010"
+msgid "Books of the Bible"
+msgstr "Llibres sobre la Biblia"
+
+msgctxt "#30011"
+msgid "Music and songs"
+msgstr "Música i cançons"
+
+msgctxt "#30012"
+msgid "Daily text"
+msgstr "Text del dia"
+
+msgctxt "#30013"
+msgid "Bible dramas"
+msgstr "Representacions bÃbliques"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Lectures bÃbliques dramatitzades"
+
+msgctxt "#30015"
+msgid "Musics, dramas, and dramatic readings"
+msgstr "Música, drames, i lectures dramatiques"
+
+msgctxt "#30016"
+msgid "Newest first"
+msgstr "Primer el més nou"
+
+msgctxt "#30017"
+msgid "Oldest first"
+msgstr "Primer el més vell"
+
msgctxt "#30018"
msgid "By title"
msgstr "Per tÃtol"
+msgctxt "#30019"
+msgid "Sorting"
+msgstr "Ordenant"
+
msgctxt "#30020"
msgid "Videos"
-msgstr "Videos"
+msgstr "VÃdeos"
msgctxt "#30021"
msgid "Cache"
msgstr "Memòria cau"
+msgctxt "#30022"
+msgid "Empty cache (force lists update)"
+msgstr "Buida la memòria cau (força una actualització de la llista)"
+
+msgctxt "#30023"
+msgid "Emptying cache"
+msgstr "Buidant memòria cau"
+
+msgctxt "#30024"
+msgid "Successfully done"
+msgstr "S'ha fet amb èxit"
+
+msgctxt "#30025"
+msgid "Magazines"
+msgstr "Revistes"
+
+msgctxt "#30026"
+msgid "All magazines"
+msgstr "Totes les revistes"
+
+msgctxt "#30027"
+msgid "Awake!"
+msgstr "¡Despertad!"
+
+msgctxt "#30028"
+msgid "The Watchtower"
+msgstr "The Watchtower"
+
+msgctxt "#30029"
+msgid "The Watchtower (Study Edition)"
+msgstr "La Torre de Guaita (Edició d'estudi)"
+
+msgctxt "#30030"
+msgid "The Watchtower (Simplified Edition)"
+msgstr "La Torre de Guaita (Simplified Edition)"
+
msgctxt "#30031"
msgid "Latest"
-msgstr "Nou"
+msgstr "Nou "
+
+msgctxt "#30032"
+msgid "Newsroom"
+msgstr "Redacció"
+
+msgctxt "#30033"
+msgid "Unable to load remote content"
+msgstr "No es pot carregar el contingut remot"
+
+msgctxt "#30034"
+msgid "Week program"
+msgstr "Programa semanal"
+
+msgctxt "#30035"
+msgid "Theocratic Ministry School"
+msgstr "Escola de predicació teocrà tica"
+
+msgctxt "#30037"
+msgid "Activities"
+msgstr "Activitats"
+
+msgctxt "#30038"
+msgid "End of the article"
+msgstr "Fi del article"
diff --git a/plugin.video.jworg/resources/language/Chinese (Simple)/strings.po
b/plugin.video.jworg/resources/language/Chinese (Simple)/strings.po
index 0dcdf27..8f4612d 100644
--- a/plugin.video.jworg/resources/language/Chinese (Simple)/strings.po
+++ b/plugin.video.jworg/resources/language/Chinese (Simple)/strings.po
@@ -16,10 +16,22 @@ msgstr ""
"Language: zh\n"
"Plural-Forms: nplurals=1; plural=0;\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "ä¸ä¸é¡µ>>"
+
+msgctxt "#30002"
+msgid "Language of multimedia file"
+msgstr "å¤åªä½æ件çè¯è¨"
+
msgctxt "#30005"
msgid "General"
msgstr "常ç¨"
+msgctxt "#30011"
+msgid "Music and songs"
+msgstr "é³ä¹åææ²"
+
msgctxt "#30018"
msgid "By title"
msgstr "æ é¢"
diff --git a/plugin.video.jworg/resources/language/Croatian/strings.po
b/plugin.video.jworg/resources/language/Croatian/strings.po
index 1d03f66..f406a4e 100644
--- a/plugin.video.jworg/resources/language/Croatian/strings.po
+++ b/plugin.video.jworg/resources/language/Croatian/strings.po
@@ -16,10 +16,46 @@ msgstr ""
"Language: hr\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "SljedeÄa stranica >>"
+
+msgctxt "#30002"
+msgid "Language of multimedia file"
+msgstr "Jezik multimedijalne datoteke"
+
msgctxt "#30005"
msgid "General"
msgstr "OpÄenito"
+msgctxt "#30010"
+msgid "Books of the Bible"
+msgstr "Knjige Biblije"
+
+msgctxt "#30011"
+msgid "Music and songs"
+msgstr "Glazba i pjesme"
+
+msgctxt "#30012"
+msgid "Daily text"
+msgstr "Dnevni tekst"
+
+msgctxt "#30013"
+msgid "Bible dramas"
+msgstr "Biblijske drame"
+
+msgctxt "#30015"
+msgid "Musics, dramas, and dramatic readings"
+msgstr "Glazba, drame i dramske Äitanja"
+
+msgctxt "#30016"
+msgid "Newest first"
+msgstr "Najnovije prvo"
+
+msgctxt "#30017"
+msgid "Oldest first"
+msgstr "Najstarije prvo"
+
msgctxt "#30018"
msgid "By title"
msgstr "Po nazivu"
@@ -36,6 +72,26 @@ msgctxt "#30021"
msgid "Cache"
msgstr "Predmemorija"
+msgctxt "#30022"
+msgid "Empty cache (force lists update)"
+msgstr "Isprazni priruÄnu memoriju (prisilno ažuriranje popisa)"
+
+msgctxt "#30023"
+msgid "Emptying cache"
+msgstr "Pražnjenje priruÄne memorije"
+
+msgctxt "#30024"
+msgid "Successfully done"
+msgstr "Uspješno izvršeno"
+
+msgctxt "#30025"
+msgid "Magazines"
+msgstr "Äasopisi"
+
+msgctxt "#30026"
+msgid "All magazines"
+msgstr "Svi Äasopisi"
+
msgctxt "#30031"
msgid "Latest"
msgstr "Najnovije"
diff --git a/plugin.video.jworg/resources/language/Dutch/strings.po
b/plugin.video.jworg/resources/language/Dutch/strings.po
index 8e00c5e..b5737eb 100644
--- a/plugin.video.jworg/resources/language/Dutch/strings.po
+++ b/plugin.video.jworg/resources/language/Dutch/strings.po
@@ -18,7 +18,7 @@ msgstr ""
msgctxt "#30001"
msgid "Next page >>"
-msgstr "Volgende pagina"
+msgstr "Volgende pagina >>"
msgctxt "#30002"
msgid "Language of multimedia file"
@@ -30,19 +30,23 @@ msgstr "Algemeen"
msgctxt "#30010"
msgid "Books of the Bible"
-msgstr "Boeken over de bijbel"
+msgstr "Bijbelboeken"
msgctxt "#30011"
msgid "Music and songs"
-msgstr "Muziek en Liedjes"
+msgstr "Muziek en liederen"
msgctxt "#30012"
msgid "Daily text"
-msgstr "dagelijkse citaat"
+msgstr "Dagtekst"
msgctxt "#30013"
msgid "Bible dramas"
-msgstr "Bijbeldrama`s"
+msgstr "Bijbelse dramaâs"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Bijbelse hoorspelen"
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
@@ -66,7 +70,7 @@ msgstr "Sortering"
msgctxt "#30020"
msgid "Videos"
-msgstr "Videos"
+msgstr "Video's"
msgctxt "#30021"
msgid "Cache"
@@ -114,7 +118,7 @@ msgstr "Nieuwste"
msgctxt "#30032"
msgid "Newsroom"
-msgstr "Kranten en tijdschriften afdeling"
+msgstr "Nieuws"
msgctxt "#30033"
msgid "Unable to load remote content"
@@ -124,23 +128,14 @@ msgctxt "#30034"
msgid "Week program"
msgstr "Week Programma"
-#. To find this string, click on "Publications", then click on "Online Library"
-#. then click on Daily Text (top menu, third item)
-#. After the daily text you find the right string, please stop at "school"
-#. Camelize to your personal preference
msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Theocratische bedieningsschool"
-#empty string with id 30036
-
-#. To find this string, from homepage click on "About us" (last main link)
-#. This string is the second link on the left bar
msgctxt "#30037"
msgid "Activities"
msgstr "Activiteiten"
-#. Showed after the body text of a news
msgctxt "#30038"
msgid "End of the article"
-msgstr "Einde van het artikel"
\ No newline at end of file
+msgstr "Einde van het artikel"
diff --git a/plugin.video.jworg/resources/language/English/strings.po
b/plugin.video.jworg/resources/language/English/strings.po
index 940db65..659099e 100644
--- a/plugin.video.jworg/resources/language/English/strings.po
+++ b/plugin.video.jworg/resources/language/English/strings.po
@@ -54,7 +54,7 @@ msgid "Daily text"
msgstr ""
#. To find this string, click on "Publications -> Dramas".
-#. This string is the bold header of the page, , without extra capital letters
+#. This string is the bold header of the page, without extra capital letters
msgctxt "#30013"
msgid "Bible dramas"
msgstr ""
@@ -184,3 +184,10 @@ msgstr ""
msgctxt "#30038"
msgid "End of the article"
msgstr ""
+
+#. Add on settings.
+#. This is the max resolution automatically selected
+#. when playing video. Note: '0' it's the digit 'zero' not an uppercase letter
'o'
+msgctxt "#30039"
+msgid "Default video resolution (0: ask every time)"
+msgstr ""
diff --git a/plugin.video.jworg/resources/language/French/strings.po
b/plugin.video.jworg/resources/language/French/strings.po
index 2af1cab..5f37b22 100644
--- a/plugin.video.jworg/resources/language/French/strings.po
+++ b/plugin.video.jworg/resources/language/French/strings.po
@@ -16,14 +16,58 @@ msgstr ""
"Language: fr\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "Page suivante >>"
+
+msgctxt "#30002"
+msgid "Language of multimedia file"
+msgstr "Langue des fichiers multimédias"
+
msgctxt "#30005"
msgid "General"
msgstr "Général"
+msgctxt "#30010"
+msgid "Books of the Bible"
+msgstr "Livres de la bible"
+
+msgctxt "#30011"
+msgid "Music and songs"
+msgstr "Musiques et cantiques"
+
+msgctxt "#30012"
+msgid "Daily text"
+msgstr "Texte du jour"
+
+msgctxt "#30013"
+msgid "Bible dramas"
+msgstr "Drame bibliques"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Lectures de la bible dramatiques"
+
+msgctxt "#30015"
+msgid "Musics, dramas, and dramatic readings"
+msgstr "Musiques, Drames, et lectures bibliques dramatiques "
+
+msgctxt "#30016"
+msgid "Newest first"
+msgstr "Plus récent en premier"
+
+msgctxt "#30017"
+msgid "Oldest first"
+msgstr "Plus ancien en premier"
+
msgctxt "#30018"
msgid "By title"
msgstr "Par titre"
+msgctxt "#30019"
+msgid "Sorting"
+msgstr "Trier"
+
msgctxt "#30020"
msgid "Videos"
msgstr "Vidéos"
@@ -32,6 +76,66 @@ msgctxt "#30021"
msgid "Cache"
msgstr "Cache"
+msgctxt "#30022"
+msgid "Empty cache (force lists update)"
+msgstr "Vider la mémoire tampon (Force la mise à jour de la liste)"
+
+msgctxt "#30023"
+msgid "Emptying cache"
+msgstr "Vider la mémoire tampon"
+
+msgctxt "#30024"
+msgid "Successfully done"
+msgstr "Complété avec succès"
+
+msgctxt "#30025"
+msgid "Magazines"
+msgstr "Revues"
+
+msgctxt "#30026"
+msgid "All magazines"
+msgstr "Toutes les revues"
+
+msgctxt "#30027"
+msgid "Awake!"
+msgstr "Réveillez-vous!"
+
+msgctxt "#30028"
+msgid "The Watchtower"
+msgstr "La Tour de Garde"
+
+msgctxt "#30029"
+msgid "The Watchtower (Study Edition)"
+msgstr "La Tour de Garde (Ãdition Ãtude)"
+
+msgctxt "#30030"
+msgid "The Watchtower (Simplified Edition)"
+msgstr "La Tour de Garde (Ãdition Simplifiée)"
+
msgctxt "#30031"
msgid "Latest"
msgstr "Dernier"
+
+msgctxt "#30032"
+msgid "Newsroom"
+msgstr "Salle des nouvelles"
+
+msgctxt "#30033"
+msgid "Unable to load remote content"
+msgstr "Impossible de charger le contenu à distance"
+
+msgctxt "#30034"
+msgid "Week program"
+msgstr "Programme de la semaine"
+
+msgctxt "#30035"
+msgid "Theocratic Ministry School"
+msgstr "Ãcole du Ministère Théocratique"
+
+msgctxt "#30037"
+msgid "Activities"
+msgstr "Activitées"
+
+msgctxt "#30038"
+msgid "End of the article"
+msgstr "Fin de l'article"
diff --git a/plugin.video.jworg/resources/language/Galician/strings.po
b/plugin.video.jworg/resources/language/Galician/strings.po
index 143df7a..1e9cf30 100644
--- a/plugin.video.jworg/resources/language/Galician/strings.po
+++ b/plugin.video.jworg/resources/language/Galician/strings.po
@@ -16,10 +16,50 @@ msgstr ""
"Language: gl\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "Seguinte páxina >>"
+
+msgctxt "#30002"
+msgid "Language of multimedia file"
+msgstr "Idioma do ficheiro multimedia"
+
msgctxt "#30005"
msgid "General"
msgstr "Xeral"
+msgctxt "#30010"
+msgid "Books of the Bible"
+msgstr "Libros da Biblia"
+
+msgctxt "#30011"
+msgid "Music and songs"
+msgstr "Música e cancións"
+
+msgctxt "#30012"
+msgid "Daily text"
+msgstr "Texto diario"
+
+msgctxt "#30013"
+msgid "Bible dramas"
+msgstr "Dramatizacións da Biblia"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Lecturas Damatizadas da Biblia"
+
+msgctxt "#30015"
+msgid "Musics, dramas, and dramatic readings"
+msgstr "Música, drama, e lecturas dramatizadas"
+
+msgctxt "#30016"
+msgid "Newest first"
+msgstr "Primeiro os novos"
+
+msgctxt "#30017"
+msgid "Oldest first"
+msgstr "Primeiro os vellos"
+
msgctxt "#30018"
msgid "By title"
msgstr "Por tÃtulo"
@@ -36,6 +76,66 @@ msgctxt "#30021"
msgid "Cache"
msgstr "Caché"
+msgctxt "#30022"
+msgid "Empty cache (force lists update)"
+msgstr "Baleirar a caché (forzar actualización das listaxes)"
+
+msgctxt "#30023"
+msgid "Emptying cache"
+msgstr "Baleirando a caché"
+
+msgctxt "#30024"
+msgid "Successfully done"
+msgstr "Realizado con éxito"
+
+msgctxt "#30025"
+msgid "Magazines"
+msgstr "Revistas"
+
+msgctxt "#30026"
+msgid "All magazines"
+msgstr "Todas as revistas"
+
+msgctxt "#30027"
+msgid "Awake!"
+msgstr "Espertar!"
+
+msgctxt "#30028"
+msgid "The Watchtower"
+msgstr "La Atalaya"
+
+msgctxt "#30029"
+msgid "The Watchtower (Study Edition)"
+msgstr "La Atalaya (edición de estudio)"
+
+msgctxt "#30030"
+msgid "The Watchtower (Simplified Edition)"
+msgstr "La Atalaya (en lenguaje sencillo)"
+
msgctxt "#30031"
msgid "Latest"
msgstr "Máis Recentes"
+
+msgctxt "#30032"
+msgid "Newsroom"
+msgstr "Sala de prensa"
+
+msgctxt "#30033"
+msgid "Unable to load remote content"
+msgstr "Non se puido cargar o contido remoto"
+
+msgctxt "#30034"
+msgid "Week program"
+msgstr "Programa da semana"
+
+msgctxt "#30035"
+msgid "Theocratic Ministry School"
+msgstr "Escola do Ministerio Teocrático"
+
+msgctxt "#30037"
+msgid "Activities"
+msgstr "Actividades"
+
+msgctxt "#30038"
+msgid "End of the article"
+msgstr "Fin do artigo"
diff --git a/plugin.video.jworg/resources/language/German/strings.po
b/plugin.video.jworg/resources/language/German/strings.po
index e01108a..648aa93 100644
--- a/plugin.video.jworg/resources/language/German/strings.po
+++ b/plugin.video.jworg/resources/language/German/strings.po
@@ -30,7 +30,7 @@ msgstr "Allgemein"
msgctxt "#30010"
msgid "Books of the Bible"
-msgstr "Bücher der Bibel"
+msgstr "Bibelbücher"
msgctxt "#30011"
msgid "Music and songs"
@@ -38,11 +38,15 @@ msgstr "Musik und Lieder"
msgctxt "#30012"
msgid "Daily text"
-msgstr "Täglicher Text"
+msgstr "Tagestext"
msgctxt "#30013"
msgid "Bible dramas"
-msgstr "Bibeldramen"
+msgstr "Biblische Hörspiele/Dramen"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Dramatische Bibellesungen"
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
@@ -86,15 +90,15 @@ msgstr "Erfolgreich durchgeführt"
msgctxt "#30025"
msgid "Magazines"
-msgstr "Magazine"
+msgstr "Zeitschriften"
msgctxt "#30026"
msgid "All magazines"
-msgstr "Alle Magazine"
+msgstr "Alle Zeitschriften"
msgctxt "#30027"
msgid "Awake!"
-msgstr "Aufwachen!"
+msgstr "Erwachet!"
msgctxt "#30028"
msgid "The Watchtower"
@@ -102,7 +106,7 @@ msgstr "Der Wachturm"
msgctxt "#30029"
msgid "The Watchtower (Study Edition)"
-msgstr "Der Wachturm (Studentenfassung)"
+msgstr "Der Wachtturm (Studienausgabe)"
msgctxt "#30030"
msgid "The Watchtower (Simplified Edition)"
@@ -114,7 +118,7 @@ msgstr "Neuste"
msgctxt "#30032"
msgid "Newsroom"
-msgstr "Nachrichtenraum"
+msgstr "Presse"
msgctxt "#30033"
msgid "Unable to load remote content"
@@ -128,12 +132,10 @@ msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Theokratische Predigtdienstschule"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "Aktivitäten"
msgctxt "#30038"
msgid "End of the article"
-msgstr "Ende des artikels"
\ No newline at end of file
+msgstr "Ende des artikels"
diff --git a/plugin.video.jworg/resources/language/Greek/strings.po
b/plugin.video.jworg/resources/language/Greek/strings.po
index 383013c..f73b751 100644
--- a/plugin.video.jworg/resources/language/Greek/strings.po
+++ b/plugin.video.jworg/resources/language/Greek/strings.po
@@ -44,6 +44,10 @@ msgctxt "#30013"
msgid "Bible dramas"
msgstr "Îιβλικά δÏάμαÏα"
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "ÎÏαμαÏοÏοιημÎÎ½ÎµÏ ÎιβλικÎÏ Î±Î½Î±Î³Î½ÏÏειÏ"
+
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
msgstr "ÎοÏ
Ïική, δÏάμαÏα, και
δÏαμαÏοÏοιημÎÎ½ÎµÏ Î±Î½Î±Î³Î½ÏÏειÏ"
@@ -128,8 +132,6 @@ msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "ÎεοκÏαÏική ÎληÏική ΣÏολή"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "ÎÏαÏÏηÏιÏÏηÏεÏ"
diff --git a/plugin.video.jworg/resources/language/Hungarian/strings.po
b/plugin.video.jworg/resources/language/Hungarian/strings.po
index 86ef2d4..488bb12 100644
--- a/plugin.video.jworg/resources/language/Hungarian/strings.po
+++ b/plugin.video.jworg/resources/language/Hungarian/strings.po
@@ -16,14 +16,58 @@ msgstr ""
"Language: hu\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "KövetkezŠoldal >>"
+
+msgctxt "#30002"
+msgid "Language of multimedia file"
+msgstr "Multimédia fájl nyelve"
+
msgctxt "#30005"
msgid "General"
msgstr "Ãltalános"
+msgctxt "#30010"
+msgid "Books of the Bible"
+msgstr "A Biblia Könyvei"
+
+msgctxt "#30011"
+msgid "Music and songs"
+msgstr "Zenék és dalok"
+
+msgctxt "#30012"
+msgid "Daily text"
+msgstr "Napiszöveg"
+
+msgctxt "#30013"
+msgid "Bible dramas"
+msgstr "Bibliai drámák"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Bibliai hangjátékok"
+
+msgctxt "#30015"
+msgid "Musics, dramas, and dramatic readings"
+msgstr "Zenék, drámák, és drámai olvasmányok"
+
+msgctxt "#30016"
+msgid "Newest first"
+msgstr "Legfrissebb elöl"
+
+msgctxt "#30017"
+msgid "Oldest first"
+msgstr "Legrégebbi elöl"
+
msgctxt "#30018"
msgid "By title"
msgstr "CÃm szerint"
+msgctxt "#30019"
+msgid "Sorting"
+msgstr "Rendezés"
+
msgctxt "#30020"
msgid "Videos"
msgstr "Videók"
@@ -32,6 +76,66 @@ msgctxt "#30021"
msgid "Cache"
msgstr "GyorsÃtótár"
+msgctxt "#30022"
+msgid "Empty cache (force lists update)"
+msgstr "GyorsÃtótár törlése (kényszerÃtett lista frissÃtés)"
+
+msgctxt "#30023"
+msgid "Emptying cache"
+msgstr "GyorsÃtótár ürÃtése"
+
+msgctxt "#30024"
+msgid "Successfully done"
+msgstr "Sikeresen végrehajtva"
+
+msgctxt "#30025"
+msgid "Magazines"
+msgstr "Folyóirat"
+
+msgctxt "#30026"
+msgid "All magazines"
+msgstr "Minden folyóirat"
+
+msgctxt "#30027"
+msgid "Awake!"
+msgstr "Ãbredjetek!"
+
+msgctxt "#30028"
+msgid "The Watchtower"
+msgstr "Az Årtorony"
+
+msgctxt "#30029"
+msgid "The Watchtower (Study Edition)"
+msgstr "Az Årtorony (tanulmányozásra szánt kiadás)"
+
+msgctxt "#30030"
+msgid "The Watchtower (Simplified Edition)"
+msgstr "Az Årtorony (EgyszerűsÃtett változat)"
+
msgctxt "#30031"
msgid "Latest"
msgstr "Legújabb"
+
+msgctxt "#30032"
+msgid "Newsroom"
+msgstr "Sajtószoba "
+
+msgctxt "#30033"
+msgid "Unable to load remote content"
+msgstr "Távoli tartalom nem elérhetÅ"
+
+msgctxt "#30034"
+msgid "Week program"
+msgstr "Heti program"
+
+msgctxt "#30035"
+msgid "Theocratic Ministry School"
+msgstr "Teokratikus szolgálati iskola"
+
+msgctxt "#30037"
+msgid "Activities"
+msgstr "Tevékenysége"
+
+msgctxt "#30038"
+msgid "End of the article"
+msgstr "Cikk vége"
diff --git a/plugin.video.jworg/resources/language/Italian/strings.po
b/plugin.video.jworg/resources/language/Italian/strings.po
index 1d8b264..9f99063 100644
--- a/plugin.video.jworg/resources/language/Italian/strings.po
+++ b/plugin.video.jworg/resources/language/Italian/strings.po
@@ -132,13 +132,15 @@ msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Scuola di ministero teocratico"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "Attività "
-#. Showed after the body text of a news
msgctxt "#30038"
msgid "End of the article"
msgstr "Fine dell'articolo"
+
+msgctxt "#30039"
+msgid "Default video resolution (0: ask every time)"
+msgstr "Risoluzione video predefinita (0: chiedi sempre)"
+
diff --git a/plugin.video.jworg/resources/language/Polish/strings.po
b/plugin.video.jworg/resources/language/Polish/strings.po
index 0d90536..8dad131 100644
--- a/plugin.video.jworg/resources/language/Polish/strings.po
+++ b/plugin.video.jworg/resources/language/Polish/strings.po
@@ -42,11 +42,11 @@ msgstr "SÅowo na dziÅ"
msgctxt "#30013"
msgid "Bible dramas"
-msgstr "Nauki Biblijne"
+msgstr "Nauki Biblijne "
msgctxt "#30014"
msgid "Dramatic bible readings"
-msgstr "Adaptacje dźwiÄkowe fragmentów Biblii"
+msgstr "Adaptacje dźwiÄkowe Biblii "
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
@@ -126,18 +126,16 @@ msgstr "Nie można zaÅadowaÄ zawartoÅci"
msgctxt "#30034"
msgid "Week program"
-msgstr "Program tygodniowy"
+msgstr "Program tygodniowy "
msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Teokratycznej szkoÅy sÅużby kaznodziejskiej"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "DziaÅalnoÅÄ"
msgctxt "#30038"
msgid "End of the article"
-msgstr "Koniec artykuÅu"
\ No newline at end of file
+msgstr "Koniec artykuÅu "
diff --git a/plugin.video.jworg/resources/language/Portuguese
(Brazil)/strings.po b/plugin.video.jworg/resources/language/Portuguese
(Brazil)/strings.po
index 1b64ebb..8f54cff 100644
--- a/plugin.video.jworg/resources/language/Portuguese (Brazil)/strings.po
+++ b/plugin.video.jworg/resources/language/Portuguese (Brazil)/strings.po
@@ -30,11 +30,11 @@ msgstr "Geral"
msgctxt "#30010"
msgid "Books of the Bible"
-msgstr "Livros da Biblia"
+msgstr "Livros da BÃblia"
msgctxt "#30011"
msgid "Music and songs"
-msgstr "Músicas e canções"
+msgstr "Músicas e canticos"
msgctxt "#30012"
msgid "Daily text"
@@ -42,7 +42,15 @@ msgstr "Texto do dia"
msgctxt "#30013"
msgid "Bible dramas"
-msgstr "Dramas da Biblia"
+msgstr "Dramas bÃblicos"
+
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Leituras bÃblicas dramatizadas"
+
+msgctxt "#30015"
+msgid "Musics, dramas, and dramatic readings"
+msgstr "Cantigos, dramas e leituras dramatizadas"
msgctxt "#30016"
msgid "Newest first"
@@ -68,9 +76,13 @@ msgctxt "#30021"
msgid "Cache"
msgstr "Cache"
+msgctxt "#30022"
+msgid "Empty cache (force lists update)"
+msgstr "Esvaziar cache (forçar atualização da lista)"
+
msgctxt "#30023"
msgid "Emptying cache"
-msgstr "Limpando Cache"
+msgstr "Esvaziando Cache"
msgctxt "#30024"
msgid "Successfully done"
@@ -84,6 +96,22 @@ msgctxt "#30026"
msgid "All magazines"
msgstr "Todas as revistas"
+msgctxt "#30027"
+msgid "Awake!"
+msgstr "Despertai!"
+
+msgctxt "#30028"
+msgid "The Watchtower"
+msgstr "A Sentinela"
+
+msgctxt "#30029"
+msgid "The Watchtower (Study Edition)"
+msgstr "A Sentinela (Edição de Estudo)"
+
+msgctxt "#30030"
+msgid "The Watchtower (Simplified Edition)"
+msgstr "A Sentinela (Edição Fácil de Ler)"
+
msgctxt "#30031"
msgid "Latest"
msgstr "Recentes"
@@ -98,18 +126,16 @@ msgstr "Não consegui carregar o conteúdo remoto"
msgctxt "#30034"
msgid "Week program"
-msgstr "Programa Semanal"
+msgstr "Programa semanal"
msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Escola do Ministério Teocrático"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "Atividades"
msgctxt "#30038"
msgid "End of the article"
-msgstr "Fim do artigo"
\ No newline at end of file
+msgstr "Fim do artigo"
diff --git a/plugin.video.jworg/resources/language/Portuguese/strings.po
b/plugin.video.jworg/resources/language/Portuguese/strings.po
index c8f770d..aca7372 100644
--- a/plugin.video.jworg/resources/language/Portuguese/strings.po
+++ b/plugin.video.jworg/resources/language/Portuguese/strings.po
@@ -44,6 +44,10 @@ msgctxt "#30013"
msgid "Bible dramas"
msgstr "Dramatizações da bÃblia"
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Leituras dramatizadas da bÃblia"
+
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
msgstr "Música, drama e leituras dramatizadas"
@@ -128,12 +132,10 @@ msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Escola do Ministério Teocrático"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "Actividades"
msgctxt "#30038"
msgid "End of the article"
-msgstr "Fim do artigo"
\ No newline at end of file
+msgstr "Fim do artigo"
diff --git a/plugin.video.jworg/resources/language/Spanish/strings.po
b/plugin.video.jworg/resources/language/Spanish/strings.po
index 376c9e2..acf652c 100644
--- a/plugin.video.jworg/resources/language/Spanish/strings.po
+++ b/plugin.video.jworg/resources/language/Spanish/strings.po
@@ -44,6 +44,10 @@ msgctxt "#30013"
msgid "Bible dramas"
msgstr "Representaciones dramáticas"
+msgctxt "#30014"
+msgid "Dramatic bible readings"
+msgstr "Lecturas bÃblicas dramatizadas"
+
msgctxt "#30015"
msgid "Musics, dramas, and dramatic readings"
msgstr "Música, representaciones dramáticas y lecturas dramatizadas"
@@ -128,12 +132,10 @@ msgctxt "#30035"
msgid "Theocratic Ministry School"
msgstr "Escuela del Ministerio Teocrático"
-#empty string with id 30036
-
msgctxt "#30037"
msgid "Activities"
msgstr "Quiénes somos y qué hacemos"
msgctxt "#30038"
msgid "End of the article"
-msgstr "Fin del artÃculo"
\ No newline at end of file
+msgstr "Fin del artÃculo"
diff --git a/plugin.video.jworg/resources/language/Swedish/strings.po
b/plugin.video.jworg/resources/language/Swedish/strings.po
index 7d3f8a5..afb25eb 100644
--- a/plugin.video.jworg/resources/language/Swedish/strings.po
+++ b/plugin.video.jworg/resources/language/Swedish/strings.po
@@ -16,6 +16,10 @@ msgstr ""
"Language: sv\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+msgctxt "#30001"
+msgid "Next page >>"
+msgstr "Nästa sida >>"
+
msgctxt "#30005"
msgid "General"
msgstr "Använd Media Overlays"
diff --git a/plugin.video.jworg/resources/settings.xml
b/plugin.video.jworg/resources/settings.xml
index 9e6aea0..0863bff 100644
--- a/plugin.video.jworg/resources/settings.xml
+++ b/plugin.video.jworg/resources/settings.xml
@@ -3,8 +3,10 @@
<category label="30005">
- <setting id="language" type="labelenum" label="30002"
values="Afrikaans|Deutsch|English||Español|Îλληνική|Italiano|Nederlands|Polski|Português"
/>
+ <setting id="language" type="labelenum" label="30002"
values="Afrikaans|Deutsch|English|Español|Français|Îλληνική|Italiano|Magyar|Nederlands|Polski|Português"
/>
+ <setting id="max_resolution" type="labelenum" label="30039"
values="0|240|360|480|720" />
+
<setting label="30019" type="lsep"/>
<setting id="video_sorting" type="enum" label="30020"
lvalues="30016|30017" default="0" />
<setting id="audio_sorting" type="enum" label="30015"
lvalues="30016|30017|30018" default="2" />
diff --git a/plugin.video.jworg/video/jw_video.py
b/plugin.video.jworg/video/jw_video.py
index 0c87cfd..33a9e8d 100644
--- a/plugin.video.jworg/video/jw_video.py
+++ b/plugin.video.jworg/video/jw_video.py
@@ -3,6 +3,7 @@
VIDEO RELATED FUNCTIONS
"""
+import xbmc
import xbmcplugin
import xbmcgui
@@ -51,6 +52,7 @@ def showVideoIndex(start, video_filter):
language = jw_config.language
url = jw_common.getUrl(language) +
jw_config.const[language]["video_path"] + "/?start=" + str(start) +
"&videoFilter=" + video_filter + "&sortBy=" + jw_config.video_sorting
html = jw_common.loadUrl (url)
+ max_resolution = xbmcplugin.getSetting(jw_config.plugin_pid,
"max_resolution")
# Grep video titles
regexp_video_title = 'data-onpagetitle="([^"]+)"'
@@ -70,6 +72,7 @@ def showVideoIndex(start, video_filter):
return
count = 0
+
# Output video list
for title in videos:
listItem = xbmcgui.ListItem(
@@ -99,12 +102,16 @@ def showVideoIndex(start, video_filter):
jw_common.setThumbnailView()
+
# show available resolutions for a video (ed eventually other related titles,
like interviews, etc.)
+# v 0.4.0: if user choose a default max resolution, it will be used (or the
highest under it if not
+# available )
def showVideoJsonUrl(json_url, thumb):
- language = jw_config.language
- json_url = "http://www.jw.org" + json_url
- json = jw_common.loadJsonFromUrl(url = json_url, ajax =
False)
+ language = jw_config.language
+ json_url = "http://www.jw.org" + json_url
+ json = jw_common.loadJsonFromUrl(url = json_url,
ajax = False)
+ max_resolution = xbmcplugin.getSetting(jw_config.plugin_pid,
"max_resolution")
# json equals to [] when a cached json was empty
if json is None or json == [] :
@@ -119,6 +126,63 @@ def showVideoJsonUrl(json_url, thumb):
if len(json["languages"]) == 0:
language_code = ""
+
+ # Create in memory dict of dict with all available videos
+ video_dict = {}
+ for mp4 in json["files"][language_code]["MP4"]:
+ res = mp4["label"]
+ url_to_play = mp4["file"]["url"]
+ mp4_title_cleaned = jw_common.cleanUpText (mp4["title"])
+ title = "[" + res + "] - " +
mp4_title_cleaned
+
+ if res not in video_dict :
+ video_dict[res] = {}
+
+ video_dict[res].update({mp4_title_cleaned: url_to_play})
+
+ # Try do autodetect the video to play basaed on user setting of
+ # default video resolution
+ list_only = False;
+
+ print "JWORG: max_resolution: '" + max_resolution + "'"
+
+ if (max_resolution != "0" and max_resolution != "") or max_resolution
is None :
+
+ right_resoluction_dict = None
+ max_resolution = max_resolution + "p"
+
+ # If found default resolution video, I use this
+ # else I use the latest added (because it's the the highest)
res available
+ if max_resolution in video_dict is not None :
+ right_resoluction_dict = video_dict[max_resolution]
+ else :
+ max_resolution, right_resoluction_dict =
video_dict.popitem()
+
+ # If I've only one video at right res, I play It
+ if len(right_resoluction_dict) == 1 :
+
+ title, url_to_play = right_resoluction_dict.popitem()
+
+ listItem = xbmcgui.ListItem(
+ label = title
+ )
+ listItem.setInfo(
+ type = 'Video',
+ infoLabels = {'Title': mp4_title_cleaned}
+ )
+
+ xbmc.Player().play(item=url_to_play, listitem=listItem)
+
+ return;
+ # This is an error condition, could not verify never ...
+ elif len(right_resoluction_dict) == 0 :
+ print "JWORG: NO one video at res " + max_resolution
+ # There are many video at the right res: enable listing of ONLY
these
+ else :
+ list_only = max_resolution
+
+
+ # Standard listing code
for mp4 in json["files"][language_code]["MP4"]:
url = mp4["file"]["url"]
@@ -126,6 +190,12 @@ def showVideoJsonUrl(json_url, thumb):
mp4_title_cleaned = jw_common.cleanUpText (mp4["title"])
title = "[" + res + "] - " +
mp4_title_cleaned
+ if (list_only is not False) and (res != max_resolution) :
+ # if user has choosen a res, and there are more than
one video on this res
+ # I skip every video of different resolution, but show
a list
+ # of all available video of this resolution
+ continue;
+
listItem = xbmcgui.ListItem(
label = title,
thumbnailImage = thumb
@@ -141,10 +211,8 @@ def showVideoJsonUrl(json_url, thumb):
url = url,
listitem = listItem,
isFolder = False
- )
-
-
- # xbmcplugin.setResolvedUrl( handle=jw_config.plugin_pid,
succeeded=True, listitem=listItem)
+ )
+
xbmcplugin.endOfDirectory(handle=jw_config.plugin_pid)
-----------------------------------------------------------------------
Summary of changes:
plugin.video.jworg/addon.py | 3 +-
plugin.video.jworg/addon.xml | 16 ++-
plugin.video.jworg/audio/jw_audio.py | 9 ++
plugin.video.jworg/changelog.txt | 22 ++++-
plugin.video.jworg/jw_common.py | 6 +
plugin.video.jworg/jw_config.py | 44 ++++++++
plugin.video.jworg/program/jw_exec_news.py | 2 +-
.../resources/language/Afrikaans/strings.po | 27 +++---
.../resources/language/Catalan/strings.po | 108 +++++++++++++++++++-
.../resources/language/Chinese (Simple)/strings.po | 12 ++
.../resources/language/Croatian/strings.po | 56 ++++++++++
.../resources/language/Dutch/strings.po | 29 ++---
.../resources/language/English/strings.po | 9 ++-
.../resources/language/French/strings.po | 104 +++++++++++++++++++
.../resources/language/Galician/strings.po | 100 ++++++++++++++++++
.../{Vietnamese (Viet Nam) => Georgian}/strings.po | 10 +--
.../resources/language/German/strings.po | 24 +++--
.../resources/language/Greek/strings.po | 6 +-
.../resources/language/Hungarian/strings.po | 104 +++++++++++++++++++
.../resources/language/Italian/strings.po | 8 +-
.../resources/language/Polish/strings.po | 10 +-
.../language/Portuguese (Brazil)/strings.po | 42 ++++++--
.../resources/language/Portuguese/strings.po | 8 +-
.../resources/language/Spanish/strings.po | 8 +-
.../resources/language/Swedish/strings.po | 4 +
.../{Vietnamese (Viet Nam) => Uzbek}/strings.po | 10 +--
plugin.video.jworg/resources/settings.xml | 4 +-
plugin.video.jworg/video/jw_video.py | 82 ++++++++++++++--
plugin.video.peoplesvoice/Default.py | 28 +++---
plugin.video.peoplesvoice/addon.xml | 2 +-
plugin.video.peoplesvoice/changelog.txt | 7 +-
31 files changed, 788 insertions(+), 116 deletions(-)
copy plugin.video.jworg/resources/language/{Vietnamese (Viet Nam) =>
Georgian}/strings.po (73%)
copy plugin.video.jworg/resources/language/{Vietnamese (Viet Nam) =>
Uzbek}/strings.po (73%)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
Xbmc-addons@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xbmc-addons