XBMC Community Forum
bluecop's beta video plugin repository - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Third Party Repositories (/forumdisplay.php?fid=157)
+---- Thread: bluecop's beta video plugin repository (/showthread.php?tid=79148)



- Flomaster - 2010-09-16 18:56

Icarus3000 Wrote:Just wanted to thank you for the amazing work you are doing on the Hulu addon. Works even better than Hulu Desktop for me!

One feature that would make it even better for me were be if you could save favourites somehow. Not sure how that would work exactly, but right now it takes a lot of steps to get to my favourite shows. I find the same thing with Hulu Desktop though, so not really sure what the solution is.

Anyway, keep up the good work!

this MIGHT work, navigate to your favorite show, click your context menu button and add it to your Favorites


-=Jason=-


- philipacentaur - 2010-09-16 21:25

I haven't had time yet to get a debug log together to file a bug report for the seeking issue, but yeah, that falls outside of the scope of this plugin. I'll test it on some non-Hulu RTMP streams to see if it's universal. It's not working on SVN builds for me -- my own, or builds from the SVN PPA. Oddly enough, seeking works very well on XBOX (thanks for the compatibility work you've done so far).

BlueCop: I've noticed that shows from outside of Hulu (e.g. History Channel's "Pawn Stars") already show up in the listings, and the episodes are listed properly and everything -- they just don't play when you select them, of course. Just FYI, in case you haven't noticed this already.


- aptalca - 2010-09-16 23:39

philipacentaur, are you trying to seek in linux? is it not working properly?

In windows, seeking works 1 out of 10 times for me. Other times, it freezes for about a minute, then playback stops. I was not able to reproduce the weird random frame display, but I couldn't test it thoroughly as seeking rarely works and it is frustrating to keep trying again and again.

FYI I submitted a ticket on trac for the windows build http://trac.xbmc.org/ticket/10204


- aptalca - 2010-09-16 23:43

BlueCop Wrote:I am not sure how I should implement the feature of searching hulu only or hulu and offsite. Should it be an option you choose before searching? A setting?

I was thinking a setting with context menu options on the search item to bring up a search for either.

Also how should saved searches be done? I don't like the idea of saving everything I search and would rather it be a manuel process to save a certain search. I will think about because I didn't have a good answer.

I think doing it the way the subtitles addon does would be pretty cool. By default, it searches for subtitles on one site, but among the search results, the first option (in a different color) is "Search on *alternate* site"

Similarly you could display Hulu results with an item: "search on other sites"


- BlueCop - 2010-09-16 23:53

philipacentaur Wrote:BlueCop: I've noticed that shows from outside of Hulu (e.g. History Channel's "Pawn Stars") already show up in the listings, and the episodes are listed properly and everything -- they just don't play when you select them, of course. Just FYI, in case you haven't noticed this already.
Pawn stars is actually on hulu. They have an affiliation with history channel. I am not sure why they won't play. I tried a couple episodes myself and they seem to work fine.

Icarus3000: hopefully when I add queue/subscription support should solve that.


- philipacentaur - 2010-09-17 00:42

aptalca: Yes, I'm using Linux, and no seeking isn't working properly (for me). The behavior under Linux is different from what you're describing under Windows though.

BlueCop: Weird. I thought it went to some History Channel page when I looked on the Hulu site, but I guess I'm misremembering. I'll try it again.


- BlueCop - 2010-09-17 02:46

aptalca Wrote:I think doing it the way the subtitles addon does would be pretty cool. By default, it searches for subtitles on one site, but among the search results, the first option (in a different color) is "Search on *alternate* site"

Similarly you could display Hulu results with an item: "search on other sites"

I think this is a good plan. I am going to have the default search type in the settings then the user has option to search only hulu or search other sites as the first item depending on the default setting.

I could also just have a separate search item for to include offsite results.

I also think when searching offsite I am adding and option to filter content based on the hosting website. So you can select a specific result and then filter the content to just that provider.




I am working on the viacom module right now. so far these are the supported sites. All should be supported soon because they use very similar system but require some tweaks based on the site except maybe game trailers.
unsupported - CMT, BET, Atom, Logo, NickJr, Nickelodeon, Game Trailers
supported - The Daily Show, Comedy Central(includes colbert), TV Land, South Park Digital Studios, MTV, VH1, Spike

I am also working on Turner owned companies but they use different enough system to have a few separate modules. Turner companies = TNT, TBS, Adult Swim, Catoon Network, CNN, and TruTV.

Once I complete those and added CBS news to the CBS module I will commit them to the repo for people to try out.

This only covers a few of the better content providers though. Right now if the external video provider is unsupported it will prompt the user and ask them to report the provider. They index a ton of sites though. I want to do modules for crackle, funny or die, Revision3, G4, PBS, Fora TV, Crunchyroll.

there are others that i care less about though like E! Online,The Insider, Travel Channel, TMZ, etc.

I absolutely love having a central point to search for and queue media I want to watch. I can build a playlist of new episodes I want to watch with just a few searches. anyway I am really excited about this off site search with hulu. Also I have discovered tons of cool media that I didn't know existed. I just searched ricky gervais and found tons of cool videos. I would probably have never seen from various sites.


- ozzmantsjeh - 2010-09-21 22:24

Hi BlueCop,

First of all I'd like to thank you for your work. Amazing plugins!

However, I do get errors on the Daily Show and the Colbert Report. I am using the Dharma beta 2 install of XBMC.

This is the error log of the Colbert report:

Code:
5:48:16 T:2782542704 M:1209282560  NOTICE: The Colbert Report --> getURL :: url = http://www.colbertnation.com/full-episodes/mon-september-20-2010-pavement
15:48:16 T:2782542704 M:1209282560  NOTICE: The Colbert Report --> getURL :: url = http://media.mtvnservices.com/player/config.jhtml?uri=mgid:cms:fullepisode:comedycentral.com:359639&group=entertainment&type=network&site=colbertnation.com
15:48:17 T:2782542704 M:1209282560  NOTICE: The Colbert Report --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:267167&showTicker=true
15:48:17 T:2782542704 M:1209282560  NOTICE: The Colbert Report --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:359640&showTicker=true
15:48:17 T:2782542704 M:1209282560    INFO: -->Python script returned the following error<--
15:48:17 T:2782542704 M:1209282560   ERROR: Error Type: exceptions.AttributeError
15:48:17 T:2782542704 M:1209282560   ERROR: Error Contents: 'bool' object has no attribute 'replace'
15:48:17 T:2782542704 M:1209282560   ERROR: Traceback (most recent call last):
                                              File "/home/oscar/.xbmc/addons/plugin.video.the.colbert.report/default.py", line 382, in ?
                                                PLAYFULLEPISODE(name,url)
                                              File "/home/oscar/.xbmc/addons/plugin.video.the.colbert.report/default.py", line 238, in PLAYFULLEPISODE
                                                stacked_url += rtmp.replace(',',',,')+' , '
                                            AttributeError: 'bool' object has no attribute 'replace'
15:48:17 T:2782542704 M:1209282560    INFO: -->End of Python script error report<--


On the Daily Show I get:

Code:
15:48:41 T:2782542704 M:1201463296  NOTICE: URL: http://www.thedailyshow.com/full-episodes/mon-september-20-2010-jimmy-carter
15:48:41 T:2782542704 M:1201463296  NOTICE: Name: September 20, 2010 - Jimmy Carter
15:48:41 T:2782542704 M:1201463296  NOTICE: The Daily Show --> getURL :: url = http://www.thedailyshow.com/full-episodes/mon-september-20-2010-jimmy-carter
15:48:41 T:2782542704 M:1201463296  NOTICE: The Daily Show --> getURL :: url = http://media.mtvnservices.com/player/config.jhtml?uri=mgid:cms:fullepisode:comedycentral.com:359623&group=entertainment&type=network&site=thedailyshow.com
15:48:43 T:2782542704 M:1201463296  NOTICE: The Daily Show --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:262586&showTicker=true
15:48:43 T:2782542704 M:1201463296  NOTICE: The Daily Show --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:359624&showTicker=true
15:48:43 T:2782542704 M:1201463296  NOTICE: The Daily Show --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:359625&showTicker=true
15:48:47 T:2782542704 M:1201471488  NOTICE: The Daily Show --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:359626&showTicker=true
15:48:47 T:2782542704 M:1201471488  NOTICE: The Daily Show --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:359627&showTicker=true
15:48:47 T:2782542704 M:1201471488    INFO: -->Python script returned the following error<--
15:48:47 T:2782542704 M:1201471488   ERROR: Error Type: exceptions.UnboundLocalError
15:48:47 T:2782542704 M:1201471488   ERROR: Error Contents: local variable 'furl' referenced before assignment
15:48:47 T:2782542704 M:1201471488   ERROR: Traceback (most recent call last):
                                              File "/home/oscar/.xbmc/addons/plugin.video.the.daily.show/default.py", line 458, in ?
                                                PLAYFULLEPISODE(name,url)
                                              File "/home/oscar/.xbmc/addons/plugin.video.the.daily.show/default.py", line 308, in PLAYFULLEPISODE
                                                rtmp = GRAB_RTMP(uri)
                                              File "/home/oscar/.xbmc/addons/plugin.video.the.daily.show/default.py", line 370, in GRAB_RTMP
                                                return furl
                                            UnboundLocalError: local variable 'furl' referenced before assignment
15:48:47 T:2782542704 M:1201471488    INFO: -->End of Python script error report<--
15:48:47 T:2782542704 M:1201471488    INFO: Python script stopped

Could you help me fix these errors? Any help would be greatly appreciated.


- kricker - 2010-09-21 23:06

I am seeing something similar with some episodes of the Colbert Report:
Code:
:58:17 T:1968 M:4242001920  NOTICE: URL: http://www.colbertnation.com/full-episodes/wed-september-8-2010-joe-biden
16:58:17 T:1968 M:4242001920  NOTICE: Name: September 08, 2010 - Joe Biden
16:58:17 T:1968 M:4242001920  NOTICE: The Colbert Report --> getURL :: url = http://www.colbertnation.com/full-episodes/wed-september-8-2010-joe-biden
16:58:17 T:1968 M:4240887808  NOTICE: The Colbert Report --> getURL :: url = http://media.mtvnservices.com/player/config.jhtml?uri=mgid:cms:fullepisode:comedycentral.com:352264&group=entertainment&type=network&site=colbertnation.com
16:58:17 T:1968 M:4240867328  NOTICE: The Colbert Report --> getURL :: url = http://www.comedycentral.com/global/feeds/entertainment/media/mediaGenEntertainment.jhtml?uri=mgid:cms:item:comedycentral.com:271429&showTicker=true
16:58:17 T:1968 M:4240982016   ERROR: Error Type: exceptions.AttributeError
16:58:17 T:1968 M:4240982016   ERROR: Error Contents: 'bool' object has no attribute 'replace'
16:58:17 T:1968 M:4240982016   ERROR: Traceback (most recent call last):
                                              File "C:\Users\karl\AppData\Roaming\XBMC\addons\plugin.video.the.colbert.report\defaul​t.py", line 382, in ?
                                                PLAYFULLEPISODE(name,url)
                                              File "C:\Users\karl\AppData\Roaming\XBMC\addons\plugin.video.the.colbert.report\defaul​t.py", line 238, in PLAYFULLEPISODE
                                                stacked_url += rtmp.replace(',',',,')+' , '
                                            AttributeError: 'bool' object has no attribute 'replace'
16:58:17 T:5952 M:4240982016   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.the.colbert.report/?url=http%3A%2F%2Fwww.colbertnation.com%2Ffull-episodes%2Fwed-september-8-2010-joe-biden&mode=10&name=September+08%2C+2010+-+Joe+Biden&season=6&episode=112&premiered=09%2F08%2F10&plot=Stephen+salutes+the+returning+troops+with+Yogi+Berra%2C+Ray+Odierno+and​+Joe+Biden.&thumbnail=http%3A%2F%2Fcolbertnation.mtvnimages.com%2F%2Fimages%2Fshows%2Fco​lbert_report%2Fvideos%2Fseason6%2F06112%2Fcr_06112_01_16x9.jpg%3Fwidth%3D400]
16:58:23 T:1488 M:4242640896  NOTICE: -->Python Interpreter Initialized<--

It does not happen on all episodes though.


- BlueCop - 2010-09-22 02:42

hmm they are making their mediagen url more pickey about it's parameters. I will upload a fix in the morning. I am extremely tired at the moment. They changed this sometime today because I watched the new episodes this morning fine.

Please in the future if you could post the logs to a paste service and not on the forum. They aren't easily read in quote box and it clutters up the forum.

I have a lot of modules finished but found several problems with hulu indexing expired videos. Also sometimes sites don't update their video maps often enough. I know the TNT video map they are using is at least 6 weeks old. I would have committed a offisite version already if it weren't for this. I don't want a bunch of post about people not being able to play expired videos. I could explain the reasons to the users and then commit a version but some users wouldn't read it anyway and just start complaining.

I am most likely canceling my hulu plus subscription unless they make some major changes soon. They have a 30 day delay for it's always sunny in philadelphia and a 7 days for House. These waits are fucking ridiculous if they think I am going to pay to wait they are nuts. If they want to compete with piracy then you have to offer a better product then the competition.

anyway what this means to you is that I can't guarantee hulu plus will continue to work for other plus members in the future. I still plan to maintain it but if plus support breaks in the future then I won't be able to fix it.