How about a TV Catchup plugin?

Discuss plugins for TunerFreeMCE

How about a TV Catchup plugin?

Postby tom » Sat Sep 05, 2009 3:44 pm

Last edited by tom on Thu Oct 29, 2009 7:00 pm, edited 2 times in total.
tom
 
Posts: 14
Joined: Sat Sep 05, 2009 9:26 am

Re: How about a TV Catchup plugin?

Postby Martin » Sat Sep 05, 2009 7:13 pm

First of all, I happen to know that the TV Catchup guys have their own media center add in. See this forum http://forums.tvcatchup.com/showthread.php?t=3759.
http://www.milliesoft.co.uk/
Like our code? Good support? Click here to donate.
User avatar
Martin
Site Admin
 
Posts: 531
Joined: Wed Aug 26, 2009 9:10 pm

Re: How about a TV Catchup plugin?

Postby Martin » Sat Sep 05, 2009 7:19 pm

Secondly, it is pretty easy to develop a plugin for TV Catchup. Each channel has a simple link, e.g. http://www.tvcatchup.com/watch.html?c=1, so it's easy to create a plugin definition for that. First of all, simply create an xml file with the list of the channels in it, e.g.
Code: Select all
<TVCatchupChannels>
<Channel>
<ChannelName>BBC One</ChannelName>
<ChannelCode>BBC_ONE</ChannelCode>
<ChannelLink>http://www.tvcatchup.com/watch.html?c=1</ChannelLink>
</Channel>
<ChannelName>BBC Two</ChannelName>
<ChannelCode>BBC_TWO</ChannelCode>
<ChannelLink>http://www.tvcatchup.com/watch.html?c=2</ChannelLink>
</Channel>
...
</TVCatchupChannels>


and save that in the plugins directory as "feed.xml". Then write a config file to read it, e.g.
Code: Select all
<TunerFreePlugin name="TV Catchup" version="1.0" country="UK" provider="TVCATCHUP" programType="FLASH">
  <channels>
    <channel name="TV Catchup" code="tv_catchup" smallLogo="http://www.tvcatchup.com/images/themes/dark/header_logo.png" logo="http://www.tvcatchup.com/images/themes/dark/header_logo.png" feed="feed.xml"/>
  </channels>
  <parser>
    <programTag>Channel</programTag>
    <episodeTag>ChannelName</episodeTag>
    <linkTag>ChannelLink</linkTag>
    <programIdTag>ChannelCode</programIdTag>
    <programTitleTag>ChannelName</programTitleTag>
  </parser>
  <clicks>
    <PlayNonFS x="W2-490" y="540"/>
    <StartPlay x="0" y="0"/>
    <RevNonFS x="0" y="0"/>
    <FS x="W2+120" y="540"/>
    <PlayFS x="W2-306" y="H*0.96"/>
    <RevFS x="0" y="0"/>
    <HighRes x="0" y="0"/>
  </clicks>
</TunerFreePlugin>


That will read your list of channels, and add them to the TunerFreeMCE interface. Put in some nice logos and so on if you want it to look really good.

Finally, measure the click positions that apply for the flash player for the TV Catchup channel page, and fill those out in the xml too.

As for the authentication, if you add "tvcatchup.com" to your list of trusted sites, you should be able to remember your login in media center.

So, why not have a go at developing the plugin following these instructions?

Martin
http://www.milliesoft.co.uk/
Like our code? Good support? Click here to donate.
User avatar
Martin
Site Admin
 
Posts: 531
Joined: Wed Aug 26, 2009 9:10 pm

Re: How about a TV Catchup plugin?

Postby Martin » Sun Sep 06, 2009 6:11 pm

Check out the post on the "News" plugin - I wrote that as an example of how to do the kind of static list that I talk about here - although that one uses wmv, not flash.

Martin
http://www.milliesoft.co.uk/
Like our code? Good support? Click here to donate.
User avatar
Martin
Site Admin
 
Posts: 531
Joined: Wed Aug 26, 2009 9:10 pm

Re: How about a TV Catchup plugin?

Postby tom » Fri Oct 23, 2009 8:06 pm

Ok this has been developed all 40 channels im just doing some testing then i'll release it for everyone to test and report if there are any bugs.

Bugs:
~ Fullscreen it works but not when there is an ad at the start this does it "per session"

that's all for now report bugs to tom(at)gapras(dot)com or reply to this thread

One more thing the TVCatchup MCE plugin is dead it stopped working when they changed the interface
tom
 
Posts: 14
Joined: Sat Sep 05, 2009 9:26 am

Re: How about a TV Catchup plugin?

Postby Martin » Fri Oct 23, 2009 8:16 pm

That sounds great Tom. Where do I get your plugin from?

Martin
http://www.milliesoft.co.uk/
Like our code? Good support? Click here to donate.
User avatar
Martin
Site Admin
 
Posts: 531
Joined: Wed Aug 26, 2009 9:10 pm

Re: How about a TV Catchup plugin?

Postby tom » Sat Oct 24, 2009 11:16 am

Last edited by tom on Thu Oct 29, 2009 7:00 pm, edited 1 time in total.
tom
 
Posts: 14
Joined: Sat Sep 05, 2009 9:26 am

Re: How about a TV Catchup plugin?

Postby Martin » Sat Oct 24, 2009 12:41 pm

tom wrote:Ok here is a polished up 0.3 release not final

channel logos fixed i'm nearly happy with this the problem is the "quest" channel on TVC actually has a image missing so the logo for quest is different

Bug reports people :)

Love it! Really good plugin Tom.

With the logos, you could create a local copy to get them looking exactly right. In the feed file, put a file:// reference instead of the http:// link
A good hint for people is to add tvcatchup.com to their allowed sites in the IE privacy settings so that media center can remember the login.

I have added this plugin to the main plugins page at http://www.tunerfree.tv/plugins. The only details I have for you is that you are called "tom". Would you like me to put your full name, website, email there so that you can get some more kudos?

Martin
http://www.milliesoft.co.uk/
Like our code? Good support? Click here to donate.
User avatar
Martin
Site Admin
 
Posts: 531
Joined: Wed Aug 26, 2009 9:10 pm

Re: How about a TV Catchup plugin?

Postby tom » Sat Oct 24, 2009 4:05 pm

Yeah i'm going to work on some more tweaks for it there isn't much else to do like the idea of local image files though so I can fix the quest logo also allow change video ratio eg 16.9 / 4.3 etc it works great on my MC though love it!

Sure My name is Tom Parker i do have a website www.tomwrote.info but dont use that much so probably twitter is better http://twitter.com/TParker email address is tom(at)gapras(dot)co(dot)uk

in 0.4 i'll add a readme about the IE logon and security thing too
tom
 
Posts: 14
Joined: Sat Sep 05, 2009 9:26 am

Re: How about a TV Catchup plugin?

Postby Martin » Sat Oct 24, 2009 5:04 pm

Thanks Tom. I have put a link to your twitter page on the plugins page.

Martin
http://www.milliesoft.co.uk/
Like our code? Good support? Click here to donate.
User avatar
Martin
Site Admin
 
Posts: 531
Joined: Wed Aug 26, 2009 9:10 pm

Next

Return to Plugins

Who is online

Users browsing this forum: No registered users and 1 guest