The branch, frodo has been updated
via 9cf1728234a2b0c71298e5ed5dd88a8e40b70590 (commit)
via 2900fc5e93deb54ee9ac2a8afc345ca5aa664542 (commit)
from f7084c569298c7c142d9b8e4d5ee36bfdb107fb0 (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=9cf1728234a2b0c71298e5ed5dd88a8e40b70590
commit 9cf1728234a2b0c71298e5ed5dd88a8e40b70590
Author: beenje <[email protected]>
Date: Sat Aug 3 20:16:42 2013 +0200
[plugin.video.filmstarts_de] updated to version 2.1.0
diff --git a/plugin.video.filmstarts_de/addon.xml
b/plugin.video.filmstarts_de/addon.xml
index 9293a6a..aa3d8b0 100644
--- a/plugin.video.filmstarts_de/addon.xml
+++ b/plugin.video.filmstarts_de/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<addon id="plugin.video.filmstarts_de" name="FilmStarts.de" version="2.0.9"
provider-name="AddonScriptorDE">
+<addon id="plugin.video.filmstarts_de" name="FilmStarts.de" version="2.1.0"
provider-name="AddonScriptorDE">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
</requires>
@@ -13,7 +13,7 @@
<language>de</language>
<description lang="de">Deutsche Trailer, Filmnews und
Interviews</description>
<description lang="en">German trailers, movie-news and
interviews</description>
- <website></website>
+ <website>http://www.filmstarts.de</website>
<source>https://github.com/AddonScriptorDE/plugin.video.filmstarts_de</source>
<forum>http://forum.xbmc.org/showthread.php?tid=132563</forum>
<email>AddonScriptorDE at yahoo dot de</email>
diff --git a/plugin.video.filmstarts_de/changelog.txt
b/plugin.video.filmstarts_de/changelog.txt
index 22add18..ec05af6 100644
--- a/plugin.video.filmstarts_de/changelog.txt
+++ b/plugin.video.filmstarts_de/changelog.txt
@@ -20,3 +20,10 @@
1.0.7 / 2.0.7
- Added video playback for youtube trailers
- Fixed video playback for filmstarts trailers
+1.0.9 / 2.0.9
+- Added better covers (Thx@sphere)
+- Added setting: "Use cover as fanart"
+- Added context menu: "Add to queue"
+1.1.0 / 2.1.0
+- Fixed site changes
+- Some small improvements
diff --git a/plugin.video.filmstarts_de/default.py
b/plugin.video.filmstarts_de/default.py
index 9227511..114981c 100644
--- a/plugin.video.filmstarts_de/default.py
+++ b/plugin.video.filmstarts_de/default.py
@@ -70,14 +70,14 @@ def listVideos(urlFull):
if currentPage == 1:
match = re.compile('<a href=".+?">\n<img src="(.+?)" alt=""
/>\n</a>\n</div>\n<div style=".+?">\n<h2 class=".+?" style=".+?"><b>.+?</b>
(.+?)</h2><br />\n<span style=".+?" class="purehtml fs11">\n.+?<a class="btn"
href="(.+?)"', re.DOTALL).findall(content)
for thumb, title, url in match:
- addSmallThumbLink(title, baseUrl + url, "playVideo",
get_better_thumb(thumb))
+ addDir(title, baseUrl + url, "playVideo",
get_better_thumb(thumb))
match = re.compile('<img src=\'(.+?)\' alt=".+?" title=".+?"
/>\n</span>\n</div>\n<div class="contenzone">\n<div class="titlebar">\n<a
href=\'(.+?)\' class="link">\n<span class=\'bold\'><b>.+?</b> (.+?)</span>',
re.DOTALL).findall(content)
for thumb, url, title in match:
- addSmallThumbLink(title, baseUrl + url, "playVideo",
get_better_thumb(thumb))
+ addDir(title, baseUrl + url, "playVideo", get_better_thumb(thumb))
elif mode == "listVideosInterview":
match = re.compile('<img src=\'(.+?)\'.+?</span>\n</div>\n<div
class="contenzone">\n<div class="titlebar">\n<a.+?href=\'(.+?)\'>\n<span
class=\'bold\'>\n(.+?)\n</span>(.+?)\n</a>', re.DOTALL).findall(content)
for thumb, url, title1, title2 in match:
- addSmallThumbLink(title1+title2, baseUrl + url, "playVideo",
get_better_thumb(thumb))
+ addDir(title1+title2, baseUrl + url, "playVideo",
get_better_thumb(thumb))
elif mode == "listVideosTV":
spl = content.split('<div class="datablock vpadding10b">')
for i in range(1, len(spl), 1):
@@ -92,7 +92,7 @@ def listVideos(urlFull):
else:
match = re.compile("<a href='(.+?)'>\n(.+?)<br />",
re.DOTALL).findall(entry)
title = match[0][1]
- addSmallThumbLink(title, baseUrl + url, "playVideo",
get_better_thumb(thumb))
+ addDir(title, baseUrl + url, "playVideo", get_better_thumb(thumb))
if currentPage < maxPage:
urlNew = ""
if mode == "listVideosTrailer":
@@ -112,22 +112,20 @@ def listVideos(urlFull):
def listTrailers(url, fanart):
content = getUrl(url)
- splMain = content.split('<div class="media_list_02')
- for i in range(1, len(splMain), 1):
- entryMain = splMain[i]
- entryMain = entryMain[:entryMain.find('</div>')]
- spl = entryMain.split("<li>")
- for i in range(1, len(spl), 1):
- entry = spl[i]
- match = re.compile("src='(.+?)'", re.DOTALL).findall(entry)
+ content = content[:content.find('<div class="social">')]
+ spl = content.split('<figure class="media-meta-fig">')
+ for i in range(1, len(spl), 1):
+ entry = spl[i]
+ match = re.compile('href="(.+?)"', re.DOTALL).findall(entry)
+ if match:
+ url = baseUrl + match[0]
+ match = re.compile('"src":"(.+?)"', re.DOTALL).findall(entry)
thumb = match[0]
- match = re.compile("title='(.+?)'", re.DOTALL).findall(entry)
- title = match[0].replace(" DF", " -
"+str(translation(30009))).replace(" OV", " - "+str(translation(30010)))
+ match = re.compile('<span class="title fs14 ">.+?>(.+?)</span>',
re.DOTALL).findall(entry)
+ title = match[0].replace("<b>","").replace("</b>","
-").replace("</a>","")
+ title = title.replace(" DF", " -
"+str(translation(30009))).replace(" OV", " - "+str(translation(30010)))
title = cleanTitle(title)
- match = re.compile('href="(.+?)"', re.DOTALL).findall(entry)
- if match:
- url = baseUrl + match[0]
- addSmallThumbLink(title, url, 'playVideo',
get_better_thumb(thumb), fanart)
+ addSmallThumbLink(title, url, 'playVideo',
get_better_thumb(thumb), fanart)
xbmcplugin.endOfDirectory(pluginhandle)
if forceViewMode:
xbmc.executebuiltin('Container.SetViewMode('+viewMode+')')
@@ -165,32 +163,21 @@ def search():
def playVideo(url):
content = getUrl(url)
- match1 = re.compile('"cmedia" : (.+?),', re.DOTALL).findall(content)
- match2 = re.compile("cmedia: '(.+?)'", re.DOTALL).findall(content)
- if match1:
- media = match1[0]
- elif match2:
- media = match2[0]
- match1 = re.compile('"ref" : (.+?),', re.DOTALL).findall(content)
- match2 = re.compile("ref: '(.+?)'", re.DOTALL).findall(content)
- if match1:
- ref = match1[0]
- elif match2:
- ref = match2[0]
- match1 = re.compile('"typeRef" : "(.+?)"', re.DOTALL).findall(content)
- match2 = re.compile("typeRef: '(.+?)'", re.DOTALL).findall(content)
- if match1:
- typeRef = match1[0]
- elif match2:
- typeRef = match2[0]
- content = getUrl(baseUrl +
'/ws/AcVisiondataV4.ashx?media='+media+'&ref='+ref+'&typeref='+typeRef)
- finalUrl = ""
- match1 = re.compile('/nmedia/youtube:(.+?)"', re.DOTALL).findall(content)
- match2 = re.compile('hd_path="(.+?)"', re.DOTALL).findall(content)
- if match1:
- finalUrl = getYoutubeUrl(match1[0])
- elif match2:
- finalUrl = match2[0]
+ match = re.compile('"html5PathHD":"(.*?)"', re.DOTALL).findall(content)
+ finalUrl=""
+ if match[0]:
+ finalUrl=match[0]
+ else:
+ match = re.compile('"refmedia":(.+?),', re.DOTALL).findall(content)
+ media = match[0]
+ match = re.compile('"cMovie":(.+?),', re.DOTALL).findall(content)
+ ref = match[0]
+ match = re.compile('"entityType":"(.+?)"', re.DOTALL).findall(content)
+ typeRef = match[0]
+ content = getUrl(baseUrl +
'/ws/AcVisiondataV4.ashx?media='+media+'&ref='+ref+'&typeref='+typeRef)
+ finalUrl = ""
+ match = re.compile('hd_path="(.+?)"', re.DOTALL).findall(content)
+ finalUrl = match[0]
if finalUrl:
listitem = xbmcgui.ListItem(path=finalUrl)
xbmcplugin.setResolvedUrl(pluginhandle, True, listitem)
@@ -213,14 +200,17 @@ def getYoutubeUrl(id):
def get_better_thumb(thumb_url):
thumb_url = '/'.join([
p for p in thumb_url.split('/')
- if not p[0:2] in ('r_', 'c_', 'cx_', 'b_', 'o_')
+ if not p[0:2] in ('r_', 'c_', 'cx', 'b_', 'o_')
])
if maxCoverResolution == "0":
thumb_url = thumb_url.replace("/medias/", "/r_300_400/medias/")
+ thumb_url = thumb_url.replace("/videothumbnails", "")
elif maxCoverResolution == "1":
thumb_url = thumb_url.replace("/medias/", "/r_600_800/medias/")
+ thumb_url = thumb_url.replace("/videothumbnails", "")
elif maxCoverResolution == "2":
thumb_url = thumb_url.replace("/medias/", "/r_1200_1600/medias/")
+ thumb_url = thumb_url.replace("/videothumbnails", "")
return thumb_url
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=2900fc5e93deb54ee9ac2a8afc345ca5aa664542
-----------------------------------------------------------------------
Summary of changes:
.../LICENSE.txt | 0
plugin.video.esa/README | 39 ++++
plugin.video.esa/addon.xml | 32 +++
plugin.video.esa/changelog.txt | 29 +++
plugin.video.esa/default.py | 236 ++++++++++++++++++++
plugin.video.esa/fanart.jpg | Bin 0 -> 93640 bytes
plugin.video.esa/icon.png | Bin 0 -> 19955 bytes
plugin.video.esa/icons_and_fanart_credits.txt | 5 +
plugin.video.esa/lutil.py | 170 ++++++++++++++
.../resources/language/Czech/strings.xml | 13 +
.../resources/language/English/strings.xml | 13 +
.../resources/language/French/strings.xml | 13 +
.../resources/language/German/strings.xml | 12 +
.../resources/language/Greek/strings.xml | 13 +
.../resources/language/Italian/strings.xml | 13 +
.../resources/language/Portuguese/strings.xml | 13 +
.../resources/language/Spanish/strings.xml | 13 +
plugin.video.esa/resources/settings.xml | 6 +
plugin.video.filmstarts_de/addon.xml | 4 +-
plugin.video.filmstarts_de/changelog.txt | 7 +
plugin.video.filmstarts_de/default.py | 80 +++----
21 files changed, 664 insertions(+), 47 deletions(-)
copy {plugin.audio.dradio => plugin.video.esa}/LICENSE.txt (100%)
create mode 100644 plugin.video.esa/README
create mode 100644 plugin.video.esa/addon.xml
create mode 100644 plugin.video.esa/changelog.txt
create mode 100644 plugin.video.esa/default.py
create mode 100644 plugin.video.esa/fanart.jpg
create mode 100644 plugin.video.esa/icon.png
create mode 100644 plugin.video.esa/icons_and_fanart_credits.txt
create mode 100644 plugin.video.esa/lutil.py
create mode 100644 plugin.video.esa/resources/language/Czech/strings.xml
create mode 100644 plugin.video.esa/resources/language/English/strings.xml
create mode 100644 plugin.video.esa/resources/language/French/strings.xml
create mode 100644 plugin.video.esa/resources/language/German/strings.xml
create mode 100644 plugin.video.esa/resources/language/Greek/strings.xml
create mode 100644 plugin.video.esa/resources/language/Italian/strings.xml
create mode 100644 plugin.video.esa/resources/language/Portuguese/strings.xml
create mode 100644 plugin.video.esa/resources/language/Spanish/strings.xml
create mode 100644 plugin.video.esa/resources/settings.xml
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons