Shoutbox

[Release] TV Programming v1.2 - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Release] TV Programming v1.2 (/showthread.php?tid=70822)

[Release] TV Programming v1.2 by tryxter on 01-18-2007 at 10:15 PM

TV Programming v1.2

My first script to Live Plus!

Description


This script uses XMLHTTP to get TV programming information from the cable tv provider. After parsing all information, you can browse channels programs for the current day or even to the 10 next days/5 last days.
You can add alerts for you favorite tv shows too, and let WLM alert you with a toast when your show is about to begin!

Currently I only added a portuguese cable tv company ("TVCabo"), so this first version it's only useful for portuguese people, but I plan to add other companies.

Screenshot
[Image: screentvprog.JPG]


Change Log
Version 1.0.1
   » Bugfix: Fixed error while loading an empty alerts file.

Version 1.2
   » Bugfix: Alerts added in runtime weren't displayed without a restart.
   » New feature: Created an auto updater for use with all my scripts. (Based on -dt- updater. Many thanks to him! :))
   » Code: has been reviewed and simplified.

To do list
   » Add other TV providers;
   » Add a function to display the alerts x time before;
   » Multi-user;
   » Create a new, more user-friendly, interface.

You can download the package here or use the attachment link.

Hope you like my work!
Thanks to you all for helping me, answering my questions. :)

RE: [Release] TV Programming v1.0 by Voldemort on 01-18-2007 at 10:17 PM

add dishnetwork's from the usa.. you can see the full programming from dishnetwork.com


RE: RE: [Release] TV Programming v1.0 by tryxter on 01-18-2007 at 10:19 PM

quote:
Originally posted by Voldemort
add dishnetwork's from the usa.. you can see the full programming from dishnetwork.com


I'm writing it down! Thanks :)
RE: [Release] TV Programming v1.0 by alexp2_ad on 01-18-2007 at 10:46 PM

Woah... I was totally thinking about making this with XMLTV or something...

You can use http://www.bleb.org/ for UK TV listings in xml btw. ;)


RE: [Release] TV Programming v1.0 by Baggins on 01-18-2007 at 10:57 PM

Sounds like a great script, although i won't be using it because mt TV is broken:(


RE: RE: [Release] TV Programming v1.0 by tryxter on 01-18-2007 at 11:05 PM

quote:
Originally posted by alexp2_ad
Woah... I was totally thinking about making this with XMLTV or something...

You can use http://www.bleb.org/ for UK TV listings in xml btw. ;)


Thanks a lot for the tip! Really really great! :D

quote:
Originally posted by Baggins
Sounds like a great script, although i won't be using it because mt TV is broken:(


Thanks anyway! Hope you get your tv fixed quickly :P
RE: [Release] TV Programming v1.0 by NanaFreak on 01-19-2007 at 01:16 AM

how do i open up the interface?? there is no script menu or a command :/


also you may want to have all the alerts as per user.... because i have multiple people on this computer ;)


RE: [Release] TV Programming v1.0 by tryxter on 01-19-2007 at 01:31 AM

quote:
Originally posted by NanaFreak
how do i open up the interface?? there is no script menu or a command :/

Use the Plus button on the main window or on any chat window.
I just used this way because I don't know what's the best way to load it. :)

quote:
Originally posted by NanaFreak
also you may want to have all the alerts as per user.... because i have multiple people on this computer ;)

One more idea for the list! Thanks a lot :)
RE: [Release] TV Programming v1.0 by NanaFreak on 01-19-2007 at 01:32 AM

quote:
Originally posted by tryxter
quote:
Originally posted by NanaFreak
how do i open up the interface?? there is no script menu or a command :/

Use the Plus button on the main window on any chat window.
I just used this away because I don't know what's the best way to use it. :)
ok well i would if you had the code to be able to do that.... because i have searched your script and you have got no where that there is a menu....
RE: [Release] TV Programming v1.0 by tryxter on 01-19-2007 at 01:33 AM

Ok... I guess I found the problem. ScriptInfo.

5 minutes.

EDIT: Problem solved. You can download the new version on the attachment or using this link.


RE: [Release] TV Programming v1.0 by NanaFreak on 01-19-2007 at 02:00 AM

bug:

code:
Function called: OnEvent_Initialize
[TVProg]» Now parsing chans file...
[TVProg]» ...filling list...
[TVProg]» Finished parsing chans file.
[TVProg]» Loading alerts file...
Error: Input past end of file.
       Line: 59. Code: -2146828226.
Function OnEvent_Initialize returned an error. Code: -214735256

with the alerts.txt file you have to have at least 1 character in it or the script will give that error ;)
RE: [Release] TV Programming v1.0 by psycho_maniac on 01-19-2007 at 03:26 AM

wow i love this script. i always forget when my tv shows is comming on. now that the new season of 24 i have to try and watch every episode. please add charter cable also. thank you very much for this.


RE: [Release] TV Programming v1.0 by tryxter on 01-19-2007 at 11:23 AM

quote:
Originally posted by NanaFreak
bug:

code:
Function called: OnEvent_Initialize
[TVProg]» Now parsing chans file...
[TVProg]» ...filling list...
[TVProg]» Finished parsing chans file.
[TVProg]» Loading alerts file...
Error: Input past end of file.
       Line: 59. Code: -2146828226.
Function OnEvent_Initialize returned an error. Code: -214735256

with the alerts.txt file you have to have at least 1 character in it or the script will give that error ;)

Working on it!
One more time, thanks. :)

EDIT: Bug is now fixed.
RE: [Release] TV Programming v1.0.1 by sam06 on 01-26-2007 at 05:27 PM

How do you add British Channels?


RE: RE: [Release] TV Programming v1.0.1 by tryxter on 01-26-2007 at 06:53 PM

quote:
Originally posted by sam06
How do you add British Channels?


Hi sam,

Currently, the script isn't prepared to add british channels, but it will be, when I release the next version of the script. You'll have to wait, sorry. 8-)
RE: [Release] TV Programming v1.0.1 by sam06 on 01-28-2007 at 03:49 PM

Thanks for that :D


RE: [Release] TV Programming v1.0.1 by kao on 01-28-2007 at 04:08 PM

It'll be good once it can show British TV listings


RE: [Release] TV Programming v1.0.1 by Fredzz on 01-28-2007 at 08:58 PM

Ta fixe, assim ja sei quando começa a floribella :rofl:

Nice script! By the way TV CABO provider are a bunch of thieves :D


RE: [Release] TV Programming v1.0.1 by tryxter on 01-28-2007 at 09:02 PM

Lol, sem dúvida! :p

Thanks a lot :D


RE: [Release] TV Programming v1.0.1 by scott2010_h on 01-31-2007 at 04:56 AM

Does this have Direct TV listings Yet? If it doesn't here is the link to the tv guide http://www.directv.com/DTVAPP/epg/theGuide.jsp


RE: RE: [Release] TV Programming v1.0.1 by tryxter on 01-31-2007 at 10:07 AM

quote:
Originally posted by scott2010_h
Does this have Direct TV listings Yet? If it doesn't here is the link to the tv guide http://www.directv.com/DTVAPP/epg/theGuide.jsp


Hi Scott.
I cannot promise a date, but I can tell you I'm working to add new tv providers, and adding other functions to the script.

Thanks one more time

RE: [Release] TV Programming v1.2 by tryxter on 02-01-2007 at 02:38 PM

SCRIPT UPDATED!

Check the first post for the changelog.


RE: [Release] TV Programming v1.2 by roflmao456 on 02-01-2007 at 11:15 PM

maybe a way to add your own provider(s)? would be great lol


RE: [Release] TV Programming v1.2 by tryxter on 02-01-2007 at 11:40 PM

I thought that too, but it's kind of difficult because all providers have different ways to show their tv programming. But if someone finds a way in how to do that, just tell me! :p