[WIP] TWiT Addon
#16
Adam: the other streams for ustream and justin.tv are rtmp and harder to access. Also justin.tv rmtp server use an unsupported token that will not work with xbmc's librtmp. I am not sure about the ustream ones currently. I haven't looked at them lately.

the bit gravity streams which are in plain text in the html work great though and http only. there is also a 400kbit stream which also works.

divingmule: they follow a the same naming conventions so it is easy enough to support all quality levels with web scraping.

I am rewriting this to include web scraping for complete episode lists since it seems no one else wanted to. Also I am going to set more meta data like episode descriptions and air date.

sjefen6: a long time ago I submitted a ticket about a buffering problem for twit live streams but that has been fixed. what version of xbmc are you using? here is the ticket
http://trac.xbmc.org/ticket/6384
Reply
#17
BlueCop Wrote:Adam: the other streams for ustream and justin.tv are rtmp and harder to access. Also justin.tv rmtp server use an unsupported token that will not work with xbmc's librtmp. I am not sure about the ustream ones currently. I haven't looked at them lately.

the bit gravity streams which are in plain text in the html and http. there is also a 400kbit stream which also works.

divingmule: they follow a the same naming conventions so it is easy enough to support all quality levels with web scraping.

I am rewriting this to include web scraping for complete episode lists since it seems no one else wanted to. Also I am going to set more meta data like episode descriptions and air date.

sjefen6: a long time ago I submitted a ticket about a buffering problem for twit live streams but that has been fixed. what version of xbmc are you using? here is the ticket
http://trac.xbmc.org/ticket/6384

Awesome. I haven't looked into the other feeds or what XBMC supports. To be honest, this is the first time I've modified a python script for xbmc.
Reply
#18
I really don't want to discourage you developing this because I would love to see a many more plug-in developers. I am just itching to watch back episodes of security now because I kinda got into the show.

have you considered submitting this to the official repo? I think it would be a valuable addition. twit is one of those great content providers that loves it when their content is spread far and wide.
Reply
#19
BlueCop Wrote:I really don't want to discourage you developing this because I would love to see a many more plug-in developers. I am just itching to watch back episodes of security now because I kinda got into the show.

have you considered submitting this to the official repo? I think it would be a valuable addition. twit is one of those great content providers that loves it when their content is spread far and wide.

I found this pluggin in an unmodefied xbmc 10.0 beta 2 under video pluggins. Am I mixing different pluggins?
Reply
#20
BlueCop Wrote:I really don't want to discourage you developing this because I would love to see a many more plug-in developers. I am just itching to watch back episodes of security now because I kinda got into the show.

have you considered submitting this to the official repo? I think it would be a valuable addition. twit is one of those great content providers that loves it when their content is spread far and wide.

I didn't think there was much value in preview episodes because it's mostly news content. Scraping web content and following links may be outside my skill set at the moment. If you want it any time soon, I'd suggest doing it yourself. Smile

I thought divingmule submitted it to the main repo with this comment:

divingmule Wrote:Sent request to be pulled to the main repo.
Reply
#21
Yeah it's already in the repo. I only started this because no one
seemed interested in doing it. I'm just trying to learn a little bit.

There is a lower quality live stream
http://bglive-a.bitgravity.com/twit/live/low
Reply
#22
Running XBMC B4.

Can't list Tech News Today episodes. I only get "Script failed! : plugin.video.twit".
http://pastebin.ca/1980696
Reply
#23
Hinz Wrote:Running XBMC B4.

Can't list Tech News Today episodes. I only get "Script failed! : plugin.video.twit".
http://pastebin.ca/1980696

Thanks for the heads up. Update on the way.
Reply
#24
I have started to rewrite this add-on, the way bluecop suggested, scraping the website instead of the rss feed.

The problem I'm having is when selecting a video for playback xbmc opens a new directory with the one listing witch from their I can play the video.

Looking at the fox news add-on, it seems basically the same but doesn't behave like that.

Any ideas what I'm doing wrong?

twit.py - http://pastebin.com/V4ZUMqV2
foxnews.py - http://pastebin.com/TG7E6TzV
Reply
#25
Will shows like "Home Theater Geeks" and "This Week In Computer Hardware" be added to the addon when you switch to scraping the website?
Reply
#26
Hinz Wrote:Will shows like "Home Theater Geeks" and "This Week In Computer Hardware" be added to the addon when you switch to scraping the website?

Yes, and a couple more I think. We'll lose 'the daily giz wiz' I'm afraid. Not sure if that will disappoint anyone.

I've been working on this and everything is looking good only one major problem. Some of the video play fine others don't play at all.

It's really strange all the 'this week in tech' videos play fine, but none of the 'security now' videos work. Some of the other shows one video will play the next won't.

The plugin seems to be getting the correct url. The log reports 'no data from the stream'. I can copy the failed url from the log to a .strm file and it plays fineHuh

Here is a log where I play the first video fine. Then I try a couple that fail. http://pastebin.com/mSFvEdfp

Here is the code. http://pastebin.com/bScH0gnY

Any help is appreciated.
Reply
#27
Thanks for the work on this plugin! Using it on a mac mini and it's working great!
Reply
#28
drivingmule, you have probably already solved this, but it appears the issue with the Security Now episodes is caused by whitespace at the end of the link on the twit.tv website. If you strip whitespace from the url the videos work great.

hope that helps...
cheers!


Quote:It's really strange all the 'this week in tech' videos play fine, but none of the 'security now' videos work. Some of the other shows one video will play the next won't.

The plugin seems to be getting the correct url. The log reports 'no data from the stream'. I can copy the failed url from the log to a .strm file and it plays fineHuh

Here is a log where I play the first video fine. Then I try a couple that fail. http://pastebin.com/mSFvEdfp

Here is the code. http://pastebin.com/bScH0gnY

Any help is appreciated.
Reply
#29
scottmcclung Wrote:drivingmule, you have probably already solved this, but it appears the issue with the Security Now episodes is caused by whitespace at the end of the link on the twit.tv website. If you strip whitespace from the url the videos work great.

hope that helps...
cheers!

Thanks for pointing that out! I had given up all hope:0

Look for an update in the near future.
Reply
#30
divingmule, with the new way of getting episodes they show up in the addon as soon as a direct link to the audio is up on the site. Then when selecting the episode no video will play as they haven't added a direct link to the episode yet.

TWiT 276: Derp (November 28th, 2010)
Image

TWiT 275: Angry Pigs (November 21st, 2010)
Image
Reply

Logout Mark Read Team Forum Stats Members Help
[WIP] TWiT Addon0