The branch, eden has been updated
via 0928ed4024257db87a4d4cb8c8957c7b4390fd1d (commit)
via e2365beaa606ee4443a447f8573d4c632fba6b72 (commit)
from d2f776a4a362df5e93fc9a027a0f40b97fe5240b (commit)
- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=0928ed4024257db87a4d4cb8c8957c7b4390fd1d
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=e2365beaa606ee4443a447f8573d4c632fba6b72
commit e2365beaa606ee4443a447f8573d4c632fba6b72
Author: spiff <[email protected]>
Date: Tue Jul 3 09:00:59 2012 +0200
[plugin.video.espn.video] updated to version 1.0.1
diff --git a/plugin.video.espn.video/addon.xml
b/plugin.video.espn.video/addon.xml
index 5cd32f0..74584bf 100644
--- a/plugin.video.espn.video/addon.xml
+++ b/plugin.video.espn.video/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.espn.video"
name="ESPN Video"
- version="1.0.0"
+ version="1.0.1"
provider-name="stacked">
<requires>
<import addon="xbmc.python" version="2.0"/>
@@ -15,5 +15,6 @@
<summary>ESPN: Watch Sports Videos and Highlights Online.</summary>
<description>ESPN.com is the leading provider of sports on the Internet.
ESPN.com provides its users, the young, affluent, male sports fan, with late
breaking news, statistics, schedules, and player updates, in addition to
up-to-the minute sports scores from live events.</description>
<platform>all</platform>
+ <language>en</language>
</extension>
</addon>
diff --git a/plugin.video.espn.video/changelog.txt
b/plugin.video.espn.video/changelog.txt
index 9084a2f..99c3ede 100644
--- a/plugin.video.espn.video/changelog.txt
+++ b/plugin.video.espn.video/changelog.txt
@@ -1,3 +1,10 @@
+[B]Version 1.0.1[/B]
+
+- Removed Original Digitals
+- Fixed issue with search results
+- Fixed issue with duplicate history items
+- Added option to choose the video quality
+
[B]Version 1.0.0[/B]
- Initial commit to Eden add-on system
\ No newline at end of file
diff --git a/plugin.video.espn.video/default.py
b/plugin.video.espn.video/default.py
index d3df6b1..dbac484 100644
--- a/plugin.video.espn.video/default.py
+++ b/plugin.video.espn.video/default.py
@@ -1,11 +1,12 @@
import xbmc, xbmcgui, xbmcplugin, urllib2, urllib, re, string, sys, os,
traceback, xbmcaddon, xbmcvfs
+from urllib2 import Request, urlopen, URLError, HTTPError
plugin = "ESPN Video"
__author__ = 'stacked <[email protected]>'
__url__ = 'http://code.google.com/p/plugin/'
-__date__ = '02-14-2012'
-__version__ = '1.0.0'
+__date__ = '07-02-2012'
+__version__ = '1.0.1'
settings = xbmcaddon.Addon(id='plugin.video.espn.video')
dbg = False
dbglevel = 3
@@ -23,7 +24,7 @@ common.plugin = plugin + ' ' + __version__
def build_main_directory():
main=[
( settings.getLocalizedString( 30000 ), tvshows_thumb,
'menu2949050', '1' ),
- ( settings.getLocalizedString( 30001 ), original_thumb,
'menu3385449', '1' ),
+ #( settings.getLocalizedString( 30001 ), original_thumb,
'menu3385449', '1' ),
( settings.getLocalizedString( 30002 ), categories_thumb,
'menu2949049', '1' ),
( settings.getLocalizedString( 30005 ), search_thumb, 'search',
'2' )
]
@@ -79,7 +80,10 @@ def build_video_directory(url, name, type):
if presets == '':
save_str = newStr
else:
- save_str = presets + ' | ' + newStr
+ if presets.find(newStr + ' |') == -1:
+ save_str = presets + ' | ' + newStr
+ else:
+ save_str = presets
settings.setSetting("presets_search", save_str)
else:
newStr = common.getParameters(url)["searchString"]
@@ -87,8 +91,9 @@ def build_video_directory(url, name, type):
nexturl = url
html = common.fetchPage({"link": url})["content"]
results = common.parseDOM(html, "li", attrs = { "class":
"result video-result" })
- title = common.parseDOM(results, "a", attrs = { "class":
"launchVideoOverlay" })
- img = common.parseDOM(results, "a", attrs = { "class":
"list-thumb launchVideoOverlay" })
+ titledata = common.parseDOM(results, "h3")
+ title = common.parseDOM(titledata, "a", attrs = { "rel":
"nofollow" })
+ img = common.parseDOM(results, "a", attrs = { "class":
"list-thumb" })
desc = common.parseDOM(results, "p")
thumb = common.parseDOM(img, "img", ret = "src" )
pagenum = common.parseDOM(html, "div", attrs = { "class":
"page-numbers" })[0]
@@ -179,19 +184,20 @@ def edit_menu(name, url):
xbmc.executebuiltin( "Container.Refresh" )
def play_video(url, name, thumb, plot):
- result = common.fetchPage({"link": "http://vod.espn.go.com/motion/" +
url + ".smil?FLVPlaybackVersion=2.1"})
- if result["status"] != 200:
- dialog = xbmcgui.Dialog()
- ok = dialog.ok( plugin , settings.getLocalizedString( 30004 ) +
' (' + str(result["status"]) + ')' )
- return
if plot.find('http://') != -1:
html = common.fetchPage({"link": plot})["content"]
plot = common.parseDOM(html, "meta", attrs = { "name":
"description" }, ret = "content")[0].replace('ESPN Video: ', '')
listitem = xbmcgui.ListItem(label = name , iconImage = thumb,
thumbnailImage = thumb)
listitem.setInfo( type = "Video", infoLabels={ "Title": name, "Studio":
plugin, "Plot": plot } )
- playpath = "mp4:" + url + "_720p30_2896k.mp4"
- listitem.setProperty("PlayPath", playpath)
-
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play('rtmp://svod.espn.go.com/motion/',
listitem)
+ result = common.fetchPage({"link": "http://vod.espn.go.com/motion/" +
url + ".smil?FLVPlaybackVersion=2.1"})
+ if result["status"] != 200:
+ dialog = xbmcgui.Dialog()
+ ok = dialog.ok( plugin , settings.getLocalizedString( 30004 ) +
' (' + str(result["status"]) + ')' )
+ return
+ else:
+ playpath = "mp4:" + url + "_" + settings.getSetting("quality")
+ ".mp4"
+ listitem.setProperty("PlayPath", playpath)
+
xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play('rtmp://svod.espn.go.com/motion/',
listitem)
params = common.getParameters(sys.argv[2])
mode = None
diff --git a/plugin.video.espn.video/resources/language/English/strings.xml
b/plugin.video.espn.video/resources/language/English/strings.xml
index 048faf7..28c9307 100644
--- a/plugin.video.espn.video/resources/language/English/strings.xml
+++ b/plugin.video.espn.video/resources/language/English/strings.xml
@@ -15,4 +15,5 @@
<string id="30012">Around the Horn</string>
<string id="30013">No videos found. Please check your spelling</string>
<string id="30014">or try again using different search words.</string>
+ <string id="30015">Video quality</string>
</strings>
diff --git a/plugin.video.espn.video/resources/settings.xml
b/plugin.video.espn.video/resources/settings.xml
index 89fd6d2..bdb5dae 100644
--- a/plugin.video.espn.video/resources/settings.xml
+++ b/plugin.video.espn.video/resources/settings.xml
@@ -1,4 +1,5 @@
<settings>
<setting id="history" type="bool" label="30007" default="true"/>
<setting id="presets_search" value="" />
+ <setting id="quality" type="select" label="30015"
values="272p30_448k|324p30_948k|360p30_1464k|432p30_2096k|720p30_2896k"
default="720p30_2896k"/>
</settings>
-----------------------------------------------------------------------
Summary of changes:
plugin.audio.mp3search/.gitignore | 27 ++
.../LICENSE.txt | 6 +-
plugin.audio.mp3search/README.md | 4 +
plugin.audio.mp3search/addon.xml | 21 ++
plugin.audio.mp3search/changelog.txt | 2 +
plugin.audio.mp3search/default.py | 258 ++++++++++++++++++++
.../gpl.txt | 0
plugin.audio.mp3search/icon.png | Bin 0 -> 13000 bytes
.../resources/language/English/strings.xml | 12 +
plugin.audio.mp3search/resources/play.png | Bin 0 -> 3821 bytes
plugin.audio.mp3search/resources/search.png | Bin 0 -> 6937 bytes
plugin.video.espn.video/addon.xml | 3 +-
plugin.video.espn.video/changelog.txt | 7 +
plugin.video.espn.video/default.py | 34 ++-
.../resources/language/English/strings.xml | 1 +
plugin.video.espn.video/resources/settings.xml | 1 +
16 files changed, 358 insertions(+), 18 deletions(-)
create mode 100644 plugin.audio.mp3search/.gitignore
copy {plugin.audio.sky.fm => plugin.audio.mp3search}/LICENSE.txt (71%)
create mode 100644 plugin.audio.mp3search/README.md
create mode 100644 plugin.audio.mp3search/addon.xml
create mode 100644 plugin.audio.mp3search/changelog.txt
create mode 100644 plugin.audio.mp3search/default.py
copy {plugin.audio.di.fm => plugin.audio.mp3search}/gpl.txt (100%)
create mode 100644 plugin.audio.mp3search/icon.png
create mode 100644
plugin.audio.mp3search/resources/language/English/strings.xml
create mode 100644 plugin.audio.mp3search/resources/play.png
create mode 100644 plugin.audio.mp3search/resources/search.png
hooks/post-receive
--
Plugins
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons