The branch, eden-pre has been updated
       via  2f5e62c768ae7bffd75bc6dcb91d3a78e48afd92 (commit)
      from  20f89a5385b063e03ec80db79ecb778509cdf557 (commit)

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

commit 2f5e62c768ae7bffd75bc6dcb91d3a78e48afd92
Author: spiff <[email protected]>
Date:   Tue Jun 21 15:36:26 2011 +0200

    [plugin.video.day9] updated to version 1.0.2

diff --git a/plugin.video.day9/addon.xml b/plugin.video.day9/addon.xml
index 8fea78e..af139cb 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="1.0.0"

+       version="1.0.2"

        provider-name="Krill">

   <requires>

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

diff --git a/plugin.video.day9/changelog.txt b/plugin.video.day9/changelog.txt
index 3cc0f7b..cd35b32 100644
--- a/plugin.video.day9/changelog.txt
+++ b/plugin.video.day9/changelog.txt
@@ -1,3 +1,9 @@
+v1.0.2

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

+

+v1.0.1

+- Fixed some bugs

+

 v1.0.0

 - Initial eden-pre

 

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 74b2346..adedf0b 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__ = "1.0.0"

+__version__ = "1.0.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