The branch, dharma has been updated
       via  5a109d4b72d21f358d111299d91b4cf2b2f81304 (commit)
      from  ff242886cf2205f7a4d2ceb6e2a8086c13b9fcfe (commit)

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

commit 5a109d4b72d21f358d111299d91b4cf2b2f81304
Author: spiff <[email protected]>
Date:   Tue Jun 21 15:29:32 2011 +0200

    [plugin.video.day9] updated to version 0.5.2

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

 <addon id="plugin.video.day9"

        name="Day[9]"

-       version="0.5.0"

+       version="0.5.2"

        provider-name="Krill">

   <requires>

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

diff --git a/plugin.video.day9/changelog.txt b/plugin.video.day9/changelog.txt
index f1f980a..b4aad49 100644
--- a/plugin.video.day9/changelog.txt
+++ b/plugin.video.day9/changelog.txt
@@ -1,3 +1,9 @@
+v0.5.2

+- Updated the code due to blip.tv changes on their website

+

+v0.5.1

+- Fixed some bugs

+

 v0.5.0

 - Updated the code due to blip.tv changes on their website

 

diff --git a/plugin.video.day9/day9.py b/plugin.video.day9/day9.py
index 4e19246..f523f66 100644
--- a/plugin.video.day9/day9.py
+++ b/plugin.video.day9/day9.py
@@ -22,7 +22,7 @@ class Day9:
        

        # display the root menu

        def root(self):

-               self.addCategory(self.__language__(31000), 
'http://blip.tv/pr/show_get_full_episode_list?users_id=570336&lite=1', 
'showTitles', 1)

+               self.addCategory(self.__language__(31000), 
'http://blip.tv/pr/show_get_full_episode_list?users_id=570336&lite=0&esi=1', 
'showTitles', 1)

                

                

        # ------------------------------------- Add functions 
------------------------------------- #

@@ -45,13 +45,14 @@ class Day9:
        def showTitles(self, params = {}):

                get = params.get

                link = self.getRequest(get("url"))

-               result = re.compile('<h3 title=".*?"><a 
href="(.*?)">(.*?)</a></h3>').findall(link)

+               title = re.compile('<span 
class="Title">\n\t\t\n\t\t\t(.*?)\n\t\t\n\t</span>').findall(link)

+               url = re.compile('<a class="ArchiveCard" 
href="(.*?)">').findall(link)

                

-               for i in range(len(result)):

-                       self.addCategory(result[i][1], 
'http://blip.tv'+result[i][0], 'showGames', '')

+               for i in range(len(title)):

+                       self.addCategory(title[i], 'http://blip.tv'+url[i], 
'showGames', '')

                        

                page = int(get("page"))+1

-               url = 
'http://blip.tv/pr/show_get_full_episode_list?users_id=570336&lite=1&page='+str(page)

+               url = 
'http://blip.tv/pr/show_get_full_episode_list?users_id=570336&lite=0&esi=1&page='+str(page)

                self.addCategory('more episodes...', url, 'showTitles', page)

                        

        def showGames(self, params = {}):

diff --git a/plugin.video.day9/default.py b/plugin.video.day9/default.py
index 9544efa..9d4ca37 100644
--- a/plugin.video.day9/default.py
+++ b/plugin.video.day9/default.py
@@ -1,6 +1,7 @@
-import sys, xbmc, xbmcplugin, xbmcaddon, day9

+import urllib, urllib2, re, sys, os, string, day9

+import xbmc, xbmcaddon, xbmcgui, xbmcplugin

 

-__version__ = "0.5.0"

+__version__ = "0.5.2"

 __plugin__ = "Day9-" + __version__

 __author__ = "Kristoffer Petersson"

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


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

Summary of changes:
 plugin.video.day9/addon.xml     |    2 +-
 plugin.video.day9/changelog.txt |    6 ++++++
 plugin.video.day9/day9.py       |   11 ++++++-----
 plugin.video.day9/default.py    |    5 +++--
 4 files changed, 16 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
Plugins

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Xbmc-addons mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbmc-addons

Reply via email to