The branch, frodo has been updated
via 61f202fa70eadc2251f3f1e495ad49d4458e1088 (commit)
from 4b8a2efd8879a4a1fb4720f84dcf9f268b6b91ea (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=61f202fa70eadc2251f3f1e495ad49d4458e1088
commit 61f202fa70eadc2251f3f1e495ad49d4458e1088
Author: beenje <[email protected]>
Date: Sat Jun 8 15:11:34 2013 +0200
[plugin.video.myvideo_de] updated to version 0.9.1
diff --git a/plugin.video.myvideo_de/addon.py b/plugin.video.myvideo_de/addon.py
index c1becb0..fc7abde 100644
--- a/plugin.video.myvideo_de/addon.py
+++ b/plugin.video.myvideo_de/addon.py
@@ -141,6 +141,22 @@ def __add_items(entries, next_page=None, prev_page=None):
)
return context_menu
+ def format_episode_title(title):
+ if fix_show_title and ('Folge' in title or 'Staffel' in title):
+ title, show = title.rsplit('-', 1)
+ title = title.replace('Staffel ', 'S').replace(' Folge ', 'E')
+ title = title.replace('Folge ', 'E').replace('Ganze Folge', '')
+ return u'%s %s' % (show.strip(), title.strip())
+ return title
+
+ def better_thumbnail(thumb_url):
+ if thumb_url.startswith('http://img') and 'web/138' in thumb_url:
+ thumb_url = thumb_url.replace('http://img', 'http://is')
+ thumb_url = thumb_url.replace('web/138', 'de')
+ thumb_url = thumb_url.replace('.jpg', '.jpg_hq.jpg')
+ return thumb_url
+
+ fix_show_title = plugin.get_setting('fix_show_title', bool)
temp_items = plugin.get_storage('temp_items')
temp_items.clear()
items = []
@@ -161,8 +177,11 @@ def __add_items(entries, next_page=None, prev_page=None):
})
else:
items.append({
- 'label': entry['title'],
- 'thumbnail': entry.get('thumb', 'DefaultVideo.png'),
+ 'label': format_episode_title(entry['title']),
+ 'thumbnail': better_thumbnail(
+ entry.get('thumb', 'DefaultVideo.png')
+ ),
+ 'icon': entry.get('thumb', 'DefaultVideo.png'),
'info': {
'video_id': entry['video_id'],
'count': i + 1,
diff --git a/plugin.video.myvideo_de/addon.xml
b/plugin.video.myvideo_de/addon.xml
index c049fc6..8d0c12e 100644
--- a/plugin.video.myvideo_de/addon.xml
+++ b/plugin.video.myvideo_de/addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<addon id="plugin.video.myvideo_de" name="MyVideo.de" version="0.9.0"
provider-name="Tristan Fischer ([email protected])">
+<addon id="plugin.video.myvideo_de" name="MyVideo.de" version="0.9.1"
provider-name="Tristan Fischer ([email protected])">
<requires>
<import addon="xbmc.python" version="2.1.0"/>
<import addon="script.module.xbmcswift2" version="2.4.0"/>
diff --git a/plugin.video.myvideo_de/changelog.txt
b/plugin.video.myvideo_de/changelog.txt
index 77ed995..29cbdc5 100644
--- a/plugin.video.myvideo_de/changelog.txt
+++ b/plugin.video.myvideo_de/changelog.txt
@@ -1,7 +1,13 @@
+0.9.1 (08.06.2013)
+ - use better thumbnails (Yeah!)
+ - added setting (default enabled) to rename tv show episodes:
+ from "staffel 1 episode 1 - episodetitle - tvshowtitle"
+ to "tvshowtitle S1E1 - episodetitle"
+
0.9.0 (29.04.2013)
- code rewrite (class based scrapers)
- "My Favorites"- Feature
- You can now add items or folders to the "My Favorites" folder
+ You can now add items or folders to the "My Favorites" folder
- new visible plugin structure to match the new website structure
- fixed Playback (FLV, HLS, RTMP, RTMPE)
- fixed some categories
diff --git a/plugin.video.myvideo_de/resources/language/English/strings.xml
b/plugin.video.myvideo_de/resources/language/English/strings.xml
index 9b44f44..6b947e5 100644
--- a/plugin.video.myvideo_de/resources/language/English/strings.xml
+++ b/plugin.video.myvideo_de/resources/language/English/strings.xml
@@ -27,4 +27,5 @@
<string id="30010">Force ViewMode to Thumbnail</string>
<string id="30011">Update container on page switch</string>
<string id="30012">Download Path</string>
+ <string id="30013">Fix TV Show title</string>
</strings>
diff --git a/plugin.video.myvideo_de/resources/language/German/strings.xml
b/plugin.video.myvideo_de/resources/language/German/strings.xml
index 14784a3..894b860 100644
--- a/plugin.video.myvideo_de/resources/language/German/strings.xml
+++ b/plugin.video.myvideo_de/resources/language/German/strings.xml
@@ -27,4 +27,5 @@
<string id="30010">ViewMode auf Thumbnail setzen</string>
<string id="30011">Container updaten beim Seitenwechsel</string>
<string id="30012">Download Verzeichnis</string>
+ <string id="30013">TV-Serien Titel korrigieren (Zu: "Serie S1E1 -
Titel")</string>
</strings>
diff --git a/plugin.video.myvideo_de/resources/lib/scraper.py
b/plugin.video.myvideo_de/resources/lib/scraper.py
index 8aca88d..c825b45 100644
--- a/plugin.video.myvideo_de/resources/lib/scraper.py
+++ b/plugin.video.myvideo_de/resources/lib/scraper.py
@@ -594,7 +594,6 @@ class SessionRequester(object):
('User-Agent', ('Mozilla/5.0 (Windows NT 6.1; WOW64) '
'AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/27.0.1453.15 Safari/537.36')),
- ('Accept-Encoding', 'deflate,sdch'),
('Accept-Language', 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4'),
]
for header in headers:
diff --git a/plugin.video.myvideo_de/resources/settings.xml
b/plugin.video.myvideo_de/resources/settings.xml
index 5adfded..ea36de0 100644
--- a/plugin.video.myvideo_de/resources/settings.xml
+++ b/plugin.video.myvideo_de/resources/settings.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<settings>
<setting id="download_path" label="30012" type="folder" default=""/>
+ <setting id="fix_show_title" type="bool" label="30013" default="true"/>
<setting id="force_viewmode" type="bool" label="30010" default="true"/>
<setting id="update_on_pageswitch" type="bool" label="30011"
default="true"/>
</settings>
-----------------------------------------------------------------------
Summary of changes:
plugin.video.myvideo_de/addon.py | 23 ++++++++++++++++++-
plugin.video.myvideo_de/addon.xml | 2 +-
plugin.video.myvideo_de/changelog.txt | 8 ++++++-
.../resources/language/English/strings.xml | 1 +
.../resources/language/German/strings.xml | 1 +
plugin.video.myvideo_de/resources/lib/scraper.py | 1 -
plugin.video.myvideo_de/resources/settings.xml | 1 +
7 files changed, 32 insertions(+), 5 deletions(-)
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons