[RELEASE] TVCatchup.com (Video) Plugin - Live Stream UK Freeview Channels

  Thread Rating:
  • 7 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
fantaman32 Offline
Junior Member
Posts: 25
Joined: May 2009
Reputation: 0
Thumbs Up  [RELEASE] TVCatchup.com (Video) Plugin - Live UK Freeview Channels - Updated 07/06/09
Post: #1
Hey Guys

I've only be using xbmc for a few days now (linux version) but I was so excited by the videos plugins to only be disappointed by the lack of one for live streaming tv.

after a bit of searching around I found TVCatchup.com and after an evening with voinage's plugin tutorial I managed to get up and running my first successful plugin Big Grin

So here it is the TVCatchup.com Video Plugin!!!

**PLEASE NOTE: THE OFFICIAL RELEASE THREAD IS IN THE FORUMS OVER AT TVCATCHUP.COM**
I will try and keep this up to date though.

V2.1 - Temporary fix

* Site seems to have rolled back some changes so this is to temporarily deal with them until they re-implement the API again
* Thumbnails are currently broken (due to recent site changes)
* Now/Next is currently broken (due to recent site changes)


LATEST UPDATES: (v2.1)
- Now hosted as a google code project
- Username / Password are now plugin settings - thanks to dink for this change!
- Now displays simple now/next info when selecting channel
- Work with new site as of 6/6/2009

Notes:
- TVCatchup.com requires registration (free). Sign up and get a username/password
- Extract to the plugins\video folder in your xbmc dir
- Boot up xbmc and enjoy Cool
- (remember to enter your username / password via the plugin settings!)

KNOWN BUGS:
- xbmc seems to hang if you try to watch a channel which is "off-line" at the moment (i.e. five us only broadcasts between certain hours - out of hours xbmc hangs) Fixed in latest T3CH stable build with plugin v2.1
- xbox version of xbmc has a memory leak when trying to watch rtmp streams (like this & iPlayer). The xbox will freeze after 4-5 minutes. (needs a patch to be applied to xbmc SVN code) - info from rudeboyx Fixed in latest T3CH stable build with plugin v2.1
- can be processor intensive on the xbox due to the decryption required on the stream (dj_gerbil)
- Not all thumbnails display as they do not exist on the tvcatchup servers yet (WIP from their side i guess) TVC seem to have updated the servers

simmo2001 posted a video of it in action over at the tvcatchup.com forums check out the video HERE
There also some screenshots - Original Post


DOWNLOAD FROM GOOGLE CODE
(This post was last modified: 2009-06-14 15:06 by fantaman32.)
find quote
Avigrace Offline
Senior Member
Posts: 132
Joined: Mar 2009
Reputation: 0
Post: #2
Wow, looks very nice, the perfect compliment to iPlayer

Thanks, will install and have a play
find quote
Avigrace Offline
Senior Member
Posts: 132
Joined: Mar 2009
Reputation: 0
Post: #3
Installed and had a play, all the channels I tried played back flawlessly.

Do you think it will ever be possible to have a tv guide for the channels? Or at least a now/next
find quote
whufclee Offline
Fan
Posts: 328
Joined: Oct 2008
Reputation: 0
Location: Essex
Post: #4
Damn it I spent ages trying to get my aerial pointing the right way so I can pick up freeview on my TV which took all last weekend! This would have saved me some trouble - great plugin, works a treat. Would be great if the now/next or tv guide could be added too.
find quote
rudeboyx Offline
Posting Freak
Posts: 750
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Thumbs Up   
Post: #5
awsome. been waiting for a mediaportal tvserver plugin / script , so this has gone down nicley.

i agree a now / next / guide would be nice, but great work.

im definatley intersted in any upgrades you do with this plugin.

subscribing to this thread now! and i look forward to any updates

NodNodNod
find quote
rudeboyx Offline
Posting Freak
Posts: 750
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #6
looks like the plugin uses simmilar protocol to the bbc iplayer plugin therefore the XBMC bug on the xbox builds mentioned in the BBC iplayer thread http://forum.xbmc.org/showthread.php?tid=51322 causes a memory leak and eventually xbox freeze after about 4-5 min of playback. until the patch is applied to the xbox branch of XBMC SVN, This plugin will appear to crash often. it is not a plugin bug but XBMC for xbox bug and will be fixed in the near future, as a fix is already implemented in the other platform versions of XBMC
find quote
PantsOnFire Offline
Fan
Posts: 616
Joined: Aug 2008
Reputation: 2
Post: #7
This looks great potentially but I can't get it to work.

Im aware of the xbox incompatibility at the mo, so I'm not even gonna try xbox yet. But on my pc I click on each channel title, but then nothing happens, no stream starts, and there's nothing inside when I click on the channel Confused

I think I've set the username and pass right-- do they have to have the "*" (stars) before and after them or would they just read "password".

Or do they even need the quotation marks? I wasn't clear from the 1st post.

I'm hoping that's all thats wrong cos I'm using:

XBMC 8.10 20024
Build date: 6th May 2009
Aeon version: Stark 0.9

Graetful if anyone can help, it's probably something very simple I've overlooked! Tongue




EDIT: Damn my foolish monday morning self! Tongue I just simply hadn't removed a "*" from the username in the PY file! Tongue Please feel free to delete this post.
(This post was last modified: 2009-05-25 11:10 by PantsOnFire.)
find quote
fantaman32 Offline
Junior Member
Posts: 25
Joined: May 2009
Reputation: 0
Post: #8
rudeboyx Wrote:looks like the plugin uses simmilar protocol to the bbc iplayer plugin therefore the XBMC bug on the xbox builds mentioned in the BBC iplayer thread http://forum.xbmc.org/showthread.php?tid=51322 causes a memory leak and eventually xbox freeze after about 4-5 min of playback. until the patch is applied to the xbox branch of XBMC SVN, This plugin will appear to crash often. it is not a plugin bug but XBMC for xbox bug and will be fixed in the near future, as a fix is already implemented in the other platform versions of XBMC

Thanks rudeboyx! I have added your info to the known issues list on the top post! very much appreciated Big Grin
find quote
fantaman32 Offline
Junior Member
Posts: 25
Joined: May 2009
Reputation: 0
Post: #9
PantsOnFire Wrote:This looks great potentially but I can't get it to work.

Im aware of the xbox incompatibility at the mo, so I'm not even gonna try xbox yet. But on my pc I click on each channel title, but then nothing happens, no stream starts, and there's nothing inside when I click on the channel Confused

I think I've set the username and pass right-- do they have to have the "*" (stars) before and after them or would they just read "password".

Or do they even need the quotation marks? I wasn't clear from the 1st post.

I'm hoping that's all thats wrong cos I'm using:

XBMC 8.10 20024
Build date: 6th May 2009
Aeon version: Stark 0.9

Graetful if anyone can help, it's probably something very simple I've overlooked! Tongue




EDIT: Damn my foolish monday morning self! Tongue I just simply hadn't removed a "*" from the username in the PY file! Tongue Please feel free to delete this post.

I'm very glad you got it working! Wasn't really thinking when I put those asterisks in there! - have updated the post to specify to remove them aswell.
find quote
PantsOnFire Offline
Fan
Posts: 616
Joined: Aug 2008
Reputation: 2
Question   
Post: #10
Yes it plays brilliantly, a little stutter when it gets going but it's a very minor thing. I think this post will become very popular quite quickly.

Just one question.. I've switched to using the MediaStream skin. I've added the links to the channels to my favourites, so they're more easily accessible from the main menu of xbmc. But they don't start from there Sad With regards to logging-in based plugins... is there a requirement of xbmc for this to take place within the MyVideos section of xbmc..

Log:
Code:
1.
      10:46:24 T:1880 M:378458112  NOTICE: DVDPlayer: Opening: rtmp://84.234.22.101/tvcatchup/chans/user=100187/key=4D61C6A6I100187J1P44881T/tvc_bbc_one.sdp
   2.
      10:46:24 T:1880 M:378437632 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
   3.
      10:46:24 T:3712 M:378421248  NOTICE: Creating InputStream
   4.
      10:46:24 T:3712 M:378388480  NOTICE: Creating Demuxer
   5.
      10:46:24 T:3712 M:377921536   ERROR: RTMP_LIB::CRTMP::HandleInvoke, rtmp server sent error
   6.
      10:46:24 T:3712 M:377917440   ERROR: RTMP_LIB::CRTMP::HandleInvoke, rtmp server requested close
   7.
      10:46:24 T:3712 M:377794560  NOTICE: Opening video stream: 0 source: 256
   8.
      10:46:24 T:3712 M:377790464  NOTICE: Creating video codec with codec id: 0
   9.
      10:46:24 T:3712 M:377745408   ERROR: Unsupported video codec
  10.
      10:46:24 T:3712 M:377745408 WARNING: CDVDPlayer::OpenVideoStream - Unsupported stream 0. Stream disabled.
  11.
      10:46:24 T:3712 M:377745408  NOTICE: Opening audio stream: 1 source: 256
  12.
      10:46:24 T:3712 M:377745408  NOTICE: Finding audio codec for: 0
  13.
      10:46:24 T:3712 M:377737216   ERROR: Unsupported audio codec
  14.
      10:46:24 T:3712 M:377737216 WARNING: CDVDPlayer::OpenAudioStream - Unsupported stream 1. Stream disabled.
  15.
      10:46:24 T:3712 M:377704448  NOTICE: CDVDPlayer::OnExit()
  16.
      10:46:24 T:3712 M:377704448  NOTICE: DVDPlayer: eof, waiting for queues to empty
  17.
      10:46:24 T:3712 M:377704448  NOTICE: CDVDPlayer::OnExit() deleting demuxer
  18.
      10:46:24 T:3712 M:377700352  NOTICE: CDVDPlayer::OnExit() deleting input stream
  19.
      10:46:25 T:1880 M:377561088  NOTICE: CDVDPlayer::CloseFile()
  20.
      10:46:25 T:1880 M:377556992 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
  21.
      10:46:25 T:1880 M:377556992  NOTICE: DVDPlayer: waiting for threads to exit
  22.
      10:46:25 T:1880 M:377556992  NOTICE: DVDPlayer: finished waiting
  23.
      10:46:27 T:1880 M:380047360  NOTICE: Storing total System Uptime
  24.
      10:46:27 T:1880 M:380047360  NOTICE: Saving settings
  25.
      10:46:27 T:1880 M:380108800  NOTICE: stop all
  26.
      10:46:27 T:1880 M:380108800  NOTICE: ES: Stopping event server
  27.
      10:46:28 T:1356 M:380559360  NOTICE: ES: UDP Event server stopped
  28.
      10:46:28 T:1880 M:380567552  NOTICE: stop dvd detect media
  29.
      10:46:28 T:1880 M:380579840  NOTICE: stop sap announcement listener
  30.
      10:46:28 T:1880 M:380579840  NOTICE: clean cached files!
find quote
Voinage Offline
Banned
Posts: 846
Joined: Mar 2008
Location: England
Post: #11
Works well on latest t3ch build of xbmc, well done.
Nice.

How about : - Add Username & Pass via Plugin settings & on screen keyboard.
find quote
rudeboyx Offline
Posting Freak
Posts: 750
Joined: Dec 2007
Reputation: 0
Location: Burnley, UK
Post: #12
at the moment the script displays a list of channels, and when you click a channel a stream file is displayed, so you have to select that file to playback the channel.

would it be possible to click the channel you want, to have it playback imediatley and skip a step of the process?
find quote
chunk_1970 Offline
Skilled Python Coder
Posts: 243
Joined: Jan 2005
Reputation: 0
Post: #13
Hi,

Im using the latest bleeding edge version of Xbmc compiled by T3CH.

When i run the plugin I can see the list of channels but when I select a channel I dont see anything else to select.


This is an extract from the xbmc logfile.
----------------------------------------------------------------------
21:43:54 M: 33714176 NOTICE: -->Python Initialized<--
21:43:54 M: 33714176 NOTICE:
21:43:55 M: 30838784 NOTICE: Mode: 1
21:43:55 M: 30838784 NOTICE:
21:43:55 M: 30838784 NOTICE: URL: http://www.tvcatchup.com/channel/3/
21:43:55 M: 30838784 NOTICE:
21:43:55 M: 30838784 NOTICE: Name: itv_one
21:43:55 M: 30838784 NOTICE:
21:43:55 M: 30838784 NOTICE: Get Rtmp
21:43:55 M: 30838784 NOTICE:
21:43:56 M: 29995008 NOTICE:
21:43:56 M: 29995008 NOTICE:
21:44:07 M: 36106240 ERROR: Unable to load: special://home/plugins/video/TVCatchup/resources/settings.xml, Line 0
Failed to open file

Intel Corei3 / 16GB Ram / 120GB (SSD) / 10TB (ZFS): Lubuntu 13.10 / XBMC Gotham 13
Additional Systems: Apple TV2, RikoMagic MK802 IV, Asrock ION 330.
:shocked:
find quote
PantsOnFire Offline
Fan
Posts: 616
Joined: Aug 2008
Reputation: 2
Post: #14
I had the same. Tried the bleeding edge t3ch, no joy. Upgraded to the 'nightly build' ... works.
find quote
HexusOdy Offline
Aeon Group
Posts: 413
Joined: Sep 2008
Post: #15
I have 2 questions here Smile

1) I thought Live TV streaming was not currently possible in XBMC? Dink has been trying for a while with iPlayer and the general consensus was something needed fixing in XBMC. A new guy comes along and does it in his first rough plugin? :confused2:

2) TVcatchups name is misleading because it shows Live TV, not things you have missed! Big Grin
find quote
Post Reply