• 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15
[RELEASE] The Daily Show (Video) Addon
Same problem here.

Also experiencing the same problem with The Colbert Report add-on.

Interestingly, the Plex Channel for TDS and TCR are both still working. Perhaps they link in to the mobile site?

If so, if anyone's fixing this, they might want to use the mobile site as well...
Reply
+1 for this problem (empty episode list) on both the Daily Show and Colbert Report addons. I just started using xbmc and was super excited to start watching these shows again. Worked great until just recently. Must be the same issue everyone is having. Can't wait for an update.
Reply
update to 1.07 today fixes the issues reported here.
Just waiting on update to Colbert Report addon now.
Reply
(2014-03-31, 14:41)farcus Wrote: update to 1.07 today fixes the issues reported here.
Just waiting on update to Colbert Report addon now.

Where did you find 1.0.7 ??

The Openelec and XBMC.org repos only have 1.0.6 still.

I see the updated info on github... but I am new to xbmc.
How does one update this?
Reply
That's a good question - in the xbmc.org repo, i only see version 1.0.6 - and that version won't install at all.
Reply
(2014-04-01, 17:39)VelvetKevorkian Wrote: That's a good question - in the xbmc.org repo, i only see version 1.0.6 - and that version won't install at all.

my raspbmc updated automatically from the xbmc.org repo.
Perhaps you need to do a force refresh of the repo

checking the mirror I am directed to . . .
http://mirror.rackcentral.com.au/xbmc/ad...aily.show/

you can see the Daily Show addon was updated March 31 to 1.0.7

Here is the changelog

Quote:Version 1.0.7 - 2014-03-31

- Fix Full Episodes for complete page restructure.

- Guests, Search and Browse are disabled for now, but should come back
Reply
The Colbert Report also seems to be updated as well.

Thanks guys!

If anyone's reading this, it'd be nice to see the icons for both of these changed to something that stands out a little better against the blue "selection box" that surrounds them when they's used as shortcuts in Confluence...
Reply
The Colbert report plugin is working for me, but 1.0.8 of the daily show plugin is crashing out on the jsonurl = re.compile(r'http[^"]+/f1010\\/[^"]+').findall(x)[0].replace("\\", "") line in full_episodes.

Its an index out of bounds error, but I think its caused by not finding any url with f1010 in it. switching the regex to f1013 worked for me though:

jsonurl = re.compile(r'http[^"]+/f1013\\/[^"]+').findall(x)[0].replace("\\", "")

Is there a github page for this project? I can do a pull request.
Reply
And today the old regex (f1010) is working -- so ignore that last post.
Reply
the daily show plugin stopped working today, any idea why?
Reply
Agreed. I don't think it has been working for 48 hours now. Originally, I suspected that TDS was just doing web-site maintenance, but the web-site and the Plex Channel both work fine.

(2014-06-14, 09:53)OldOne Wrote: the daily show plugin stopped working today, any idea why?
I welcome comments and suggestions for the Kodi (XBMC) Set-up Guide that I wrote.
You can read it here:  http://forum.kodi.tv/showthread.php?tid=193310
Reply
(2014-06-14, 09:53)OldOne Wrote: the daily show plugin stopped working today, any idea why?

yep - seeing this too (on raspbmc)

Colbert addon still works fine though.
Reply
The error occurs here:
Code:
09:39:40 T:2954457088  NOTICE: The Daily Show --> main :: decoded = {"mode": "full"}
09:39:41 T:2710106536   DEBUG: ------ Window Init (DialogBusy.xml) ------
09:39:41 T:2954457088   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.IndexError'>
                                            Error Contents: list index out of range
                                            Traceback (most recent call last):
                                              File "/Users/auser/Library/Application Support/XBMC/addons/plugin.video.the.daily.show/addon.py", line 371, in <module>
                                                main(sys.argv[2])
                                              File "/Users/auser/Library/Application Support/XBMC/addons/plugin.video.the.daily.show/addon.py", line 369, in main
                                                mode_handlers[mode](**parsed_data)
                                              File "/Users/auser/Library/Application Support/XBMC/addons/plugin.video.the.daily.show/addon.py", line 156, in full_episodes
                                                jsonurl = re.compile(r'http[^"]+/f1010\\/[^"]+').findall(get(url).content)[0].replace("\\", "")
                                            IndexError: list index out of range
                                            -->End of Python script error report<--
09:39:41 T:2710106536   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
09:39:41 T:2954457088    INFO: Python script stopped
09:39:41 T:2954457088   DEBUG: Thread LanguageInvoker 2954457088 terminating

[Log File]
Reply
Same thing I saw in post 188....
Reply
The page this plugin scrapes from is promoting a special edition episode so the plugin doesn't find the appropriate JSON blob to extract the episode list from. The fix in #188 didn't work for me so I came up with the following patch. It, too, is imperfect as some of The Colbert Report episodes are labled as 'The Daily Show' in their metadata so they show up in the list; it does restore the ability to view most recent episodes, though.

Code:
diff --git a/addon.py.backup b/addon.py
index e0d8aec..d8a8cb0 100644
--- a/addon.py.backup
+++ b/addon.py
@@ -153,16 +153,38 @@ def full_episodes(**ignored):
     url = 'http://thedailyshow.cc.com/full-episodes/'
     # Due to unstructured daily show site, there is no canonical JSON url
     # so we find the full episode json url presented on the latest full episode
-    jsonurl = re.compile(r'http[^"]+/f1010\\/[^"]+').findall(get(url).content)[0].replace("\\", "")
+    urls = re.compile(r'http[^"]+feeds\\/f[^"]+').findall(get(url).content)
+    responses = [json.loads(get(ea.replace("\\","")).content) for ea in urls]
+
+    episodes = []
+    for each in responses:
+        try:
+            episodes.append(each.get('result').get('episode'))
+        except:
+            pass
+        try:
+            episodes.extend(each.get('result').get('episodes'))
+        except:
+            pass

-    jsonresponse = json.loads(get(jsonurl).content)
-    episodes = jsonresponse.get('result').get('episodes')
     for episode in episodes:
+        if not episode: continue
+        try:
+            assert episode.get('show').get('title') == 'The Daily Show'
+        except AssertionError, AttributeError:
+            continue
         thumbnail = None
         if len(episode.get('images', ())) >= 1:
             thumbnail = episode.get('images')[0].get('url')
         airdate = episode.get('airDate', '0')
         airdate = datetime.fromtimestamp(int(airdate)).strftime('%Y-%m-%d')
+        season = episode.get('season', None)
+        if season:
+            snum = season.get('seasonNumber', '0')
+            enum = season.get('episodeNumber', '0')
+        else:
+            snum = 0
+            enum = 0
         liz = xbmcgui.ListItem(
             episode.get('title'),
             iconImage="DefaultFolder.png",
@@ -171,8 +193,8 @@ def full_episodes(**ignored):
             type="Video", infoLabels={"Title": episode.get('title'),
                                       "Plot":
                                       episode.get('description'),
-                                      "Season": episode.get('season', {}).get('seasonNumber'),
-                                      "Episode": episode.get('season', {}).get('episodeNumber'),
+                                      "Season": snum,
+                                      "Episode": enum,
                                       "premiered": airdate,
                                       "TVShowTitle": TVShowTitle})
         liz.setProperty('IsPlayable', 'true')

First make a backup, then retrieve the file "addon.py", apply the above changes and push the modified file. I'm using a raspberry pi so it looked like:

Code:
$ ssh root@serverip
Enter your password:
$ cd /storage/.xbmc/addons/plugin.video.the.daily.show
$ cp addon.py addon.py.backup
$ exit
$
$ scp root@serverip:/storage/.xbmc/addons/plugin.video.the.daily.show/addon.py .
root@serverip's password:
$ nano addon.py
    <make the changes>
$ scp addon.py root@serverip:/storage/.xbmc/addons/plugin.video.the.daily.show
root@serverip's password:
$

This plugin is/was part of bluecop's package, available on Github and Google Code. However, neither repo has been updated in over a year and the code in those repos doesn't resemble the code of the version install via XBMC Add-ons. Huh
Reply
  • 1
  • 11
  • 12
  • 13(current)
  • 14
  • 15

Logout Mark Read Team Forum Stats Members Help
[RELEASE] The Daily Show (Video) Addon0