The branch, eden has been updated
       via  5f0347fe3f375f23c5defa492fdd14dd560ba042 (commit)
      from  e0641e6020bb60161b7c6023dad3df2faf9ea2a8 (commit)

- Log -----------------------------------------------------------------
http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/plugins;a=commit;h=5f0347fe3f375f23c5defa492fdd14dd560ba042

commit 5f0347fe3f375f23c5defa492fdd14dd560ba042
Author: spiff <[email protected]>
Date:   Tue Mar 13 21:09:40 2012 +0100

    [plugin.video.pakee] updated to version 1.0.6

diff --git a/plugin.video.pakee/addon.xml b/plugin.video.pakee/addon.xml
index 042cf50..d880d15 100644
--- a/plugin.video.pakee/addon.xml
+++ b/plugin.video.pakee/addon.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

 <addon id="plugin.video.pakee"

        name="Pakee"

-       version="1.0.5"

+       version="1.0.6"

        provider-name="pakee">

   <requires>

     <import addon="xbmc.python" version="2.0"/>

diff --git a/plugin.video.pakee/changelog.txt b/plugin.video.pakee/changelog.txt
index 0404c44..5b8b3b2 100644
--- a/plugin.video.pakee/changelog.txt
+++ b/plugin.video.pakee/changelog.txt
@@ -1,10 +1,16 @@
+[B]Version 1.0.6[/B]

+- Added cricket streams under "Live TV Channels" category

+- Added support for rtsp streams

+- Fixed Dunya news live stream

+

 [B]Version 1.0.5[/B]

+- Added support for browsing espncricinfo.com

 - Fixed issue where feeds with alternate pubDate format were failing

 - Fixed hardcoded prompt messsages

 

 

 [B]Version 1.0.4[/B]

-- Added live channel streams from LiveStream's plugins community-links 
repository

+- Added live channel streams (courtesy of yacir Thanks!)

 - Set default sorting to be by title for drama episodes

 

 [B]Version 1.0.3[/B]

diff --git a/plugin.video.pakee/default.py b/plugin.video.pakee/default.py
index 470608b..c83c3ec 100644
--- a/plugin.video.pakee/default.py
+++ b/plugin.video.pakee/default.py
@@ -9,9 +9,10 @@ __plugin__ = 'Pakee'
 __author__ = '[email protected]'

 __url__ = 'http://code.google.com/p/pakee/'

 __date__ = '01-04-2011'

-__version__ = '1.0.5'

+__version__ = '1.0.6'

 __settings__ = xbmcaddon.Addon(id='plugin.video.pakee')

-__rooturl__ = 'http://pakee.hopto.org/pakee/pakee-xbmc.xml?a=3'

+__rooturl__ = 'http://pakee.hopto.org/pakee/pakee.php?id=xbmc&z=9'

+#__rooturl__ = 'http://pakee.hopto.org/pakee/pakee-test.xml?x=5'

 __language__ = __settings__.getLocalizedString

 

 #plugin modes

@@ -67,7 +68,7 @@ def play_youtube_video(video_id, name):
                

 #Play a single song    

 def play_stream(url, name):

-       print "playing audio file. name: " + name + " url: " + url

+       print "playing video stream name: " + str(name) + " url: " + str(url)

        listitem = xbmcgui.ListItem( label = str(name), iconImage = 
"DefaultVideo.png", thumbnailImage = xbmc.getInfoImage( "ListItem.Thumb" ), 
path=url )

        listitem.setInfo( type="video", infoLabels={ "Title": name, "Plot" : 
name } )

        xbmc.Player( xbmc.PLAYER_CORE_DVDPLAYER ).play( str(url), listitem)

@@ -188,9 +189,28 @@ def build_show_directory(origurl):
        if items is None:

                return

 

+       itemCount=0

 

+       if origurl == __rooturl__ and 'pakee-test.xml' in __rooturl__:

+               html = 
open_url("http://www.mast.tv/embed.php?stream=humtv&location=france";)

+               match=re.compile('<param name="URL" 
value="(.+?)">').findall(html)

+               isFolder = False

+               mode = PLUGIN_MODE_PLAY_STREAM

+

+               for streamurl in match:                 

+                       streamurl = streamurl.replace("http","mms")

+                       streamurl = streamurl.replace(" ","%20")

+                       xbmc.log("Found url: " + str(streamurl))

+                       listitem = xbmcgui.ListItem( label = 'Hum', iconImage = 
pakee_thumb, thumbnailImage = pakee_thumb )

+                       u = sys.argv[0] + "?mode=" + 
str(PLUGIN_MODE_PLAY_STREAM) + "&name=" + urllib.quote_plus( "Hum" ) + "&url=" 
+ urllib.quote_plus( streamurl ) + "&index=" + str(itemCount)

+                       xbmcplugin.addDirectoryItem( handle = int( sys.argv[1] 
), url = u, listitem = listitem, isFolder = isFolder )

+                       

+

+               #shows = common.parseDOM(html, "ul", attrs = { "id": "shows" 
})[0]

+               #url_name = re.compile('<h3><a 
href="(.+?)">(.+?)</a></h3>').findall(shows)

+               #image = re.compile('class="thumbnail"><img src="(.+?)" 
/></a>').findall(shows)

+               #plot = common.parseDOM(shows, "p", attrs = { "class": 
"description" })

 

-       itemCount=0

 

        for item in items:

 

@@ -213,6 +233,9 @@ def build_show_directory(origurl):
 

                mode = PLUGIN_MODE_BUILD_DIR

                isFolder = True

+       

+

+

 

                #if weird characters found in label or description, instead of 
erroring out, empty their values (empty listitem will be shown)

                try:

@@ -285,7 +308,7 @@ def build_show_directory(origurl):
                                        url = origurl

 

 

-                       if 'rtmp://' in url or 'mms://' in url:

+                       if 'rtmp://' in url or 'mms://' in url or 'rtsp://' in 
url:

                                isFolder = False

                                mode = PLUGIN_MODE_PLAY_STREAM

 


-----------------------------------------------------------------------

Summary of changes:
 plugin.video.pakee/addon.xml     |    2 +-
 plugin.video.pakee/changelog.txt |    8 +++++++-
 plugin.video.pakee/default.py    |   33 ++++++++++++++++++++++++++++-----
 3 files changed, 36 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to