[WIP] TWiT Addon

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #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
find quote
Hinz
Unregistered

Post: #22
Running XBMC B4.

Can't list Tech News Today episodes. I only get "Script failed! : plugin.video.twit".
http://pastebin.ca/1980696
quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #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.
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #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
find quote
Hinz
Unregistered

Post: #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?
quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #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 fineConfused

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.
find quote
scottmcclung Offline
Junior Member
Posts: 8
Joined: Jun 2009
Reputation: 0
Post: #27
Thanks for the work on this plugin! Using it on a mac mini and it's working great!
find quote
scottmcclung Offline
Junior Member
Posts: 8
Joined: Jun 2009
Reputation: 0
Post: #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 fineConfused

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.
find quote
divingmule Offline
Posting Freak
Posts: 1,269
Joined: Oct 2008
Reputation: 54
Post: #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.
find quote
Hinz
Unregistered

Post: #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: audioonly.png]

TWiT 275: Angry Pigs (November 21st, 2010)
[Image: audiovideo.png]
quote
Post Reply