AutoHotkey Community

It is currently May 27th, 2012, 7:50 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
PostPosted: September 15th, 2006, 8:40 am 
I guess it would serve everyone's purpose better if the script relies on data directly from the television channel's website so that anyone could configure it for any country.So, if someone plz. make a script to capture data/feed from the channel websites and not yahoo.
Check this URL for Instance:
http://www.startv.com/schedule.html?country=IN

Rajat wrote:
i don't think its supported :(

Don't pout Rajat, Only less skilled persons like me have to pout.
:cry:
I have been stalking your posts and i guess you are up to the task.
Plz. try to make an EPG for India.
With your intellect, I am sure you can help us. :roll: :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 15th, 2006, 9:09 am 
Quote:
Plz. try to make an EPG for India
Are there any other options then dancing movies? :lol: (just kiddin :wink: )


Report this post
Top
  
Reply with quote  
PostPosted: September 15th, 2006, 10:47 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
..:: Free Radical ::.. wrote:
Plz. try to make an EPG for India.
That is just another web site that has limited data. E.g. check this:
http://www.startv.com/schedule.html?country=EU

Sorry, but if you want to have it, try to customize my script. It would become to difficult to add more pages to it, especially when more people would request very specific channels or regions.

Until there isn't a web site with all the information / regions I will not change it. Up to now - AFAIK -, Yahoo has the broadest range of regions and channels.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject: XPath Data Script
PostPosted: September 17th, 2006, 2:56 am 
Okay, guess I was asking for too much.
But your script is so beautiful that I want to use it very much
:lol:
Can you instead suggest me how to simply display the XPath data of any given website (sorry if its a n00b query)
For instance, I found out the XPath data for the Star TV website posted above
(Strangely, For Indiia, they display several channels unlike the europe content)
http://www.startv.com/schedule.html?country=IN
The XPath query for getting the schedule is
Code:
//table[@width='596' and @cellspacing='0' and @cellpadding='0' and @border='0']

So, Now can anyone helpme write a script to display this data using autohotkey.
Fellow AHK users, compatriots, anyone out there :?:

btw bobo, I hate all the melodrama on indian television too.
Just that I need an EPG. :wink:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 24th, 2006, 10:07 pm 
Hi,
i just found this very useful script.
Unfortunatly i dont get the right tvprogram for the right day.
i want to know the german tvprogram,
and today is the 24.09.06. and if i click now on
24.09.2006 i get the tvprogram for 25.09.2006.
25.09 shows the 26.09 and so on...
so im not be able to see the tvprogram for today.
do i have to change something in the script
or can i do something else get it work correctly?

greets


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 24th, 2006, 10:25 pm 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
I can reproduce this. Funny.
There must be some change in the yahoo pages. I do not have the time right now to find out where the problem is. I guess it has to do with the shift between summer/winter time. But that is ust a guess. And if so it would proof that not any people are using the script :|

Sorry, you have to look at the code yourself.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 24th, 2006, 10:56 pm 
Quote:
...you have to look at the code yourself.

I did take a look at the script,
but unfortunately i just understand "Bahnhof" :twisted:
Maybe i have some luck and a more experienced user is
checking this script, otherwise i´m f :evil: cked

But very nice script, just wanted to uninstall "TV Browser",
but i have to wait till the script is fixed.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: September 25th, 2006, 7:59 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
I might be able to take a look in 2 weeks. Before I'm occupied with other errants. Sorry.

In between, you could take the challenge to get from "Bahnhof" to "Hey, Ich habe Einiges verstanden" by trying to write some small scripts yourself and getting familiar with AHK. It's not that difficult and the manual is perfect. Thus I recomment to start reading it. If you find it hard to read it in english you can use the german wiki to read an older yet still accurate german translation. Have fun.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2006, 8:29 pm 
OK, two weeks are over and i´m still waiting... :cry:
I also wrote a few little (noobish) scrypts, but they working for me :D
But to be true, i´m still far away to understand your scrypt,
so please, PLEASE fix it. :lol: ... would you, please...?

If you fix it, i will maybe name my firstborn child "toralf",
even if it will be a daughter :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2006, 8:48 pm 
Funny, but you are pushing.

Please post code, and maybe toralf might be able to look at it some time.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 14th, 2006, 10:46 pm 
Offline

Joined: February 17th, 2005, 8:09 pm
Posts: 23
Location: Frankfurt
I like this script very much :)

My workaround for German TV looks like this:

Just add to DownloadTVStationProgram:
Code:
DateString -= 86400



This is far from being perfect, but it works ;) ... don't know if this affects other regions, too.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2006, 4:45 am 
@Willigis
Thanks for yout tip, unfortunately it shows just the programm for saturday
(and right now its sunday).

But i searched a little, replaced this and that, and finally i found a way :D
Not perfekt, cause under "Available dates" it shows the "14.10.06"
for the tvprogram of today (15.10.06),but it works! (for now).

in line 512 replace the 8 with 0
Code:
Today += 0, Hours


I tried hours and nothing worked, and then its just one stupid number
to replace and it works again.
PS: it was just luck, no skill :oops: :wink:

greets


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2006, 6:06 am 
Sorry, again me...

the scrypt should be fixed if you replace the 8 with 0 in line 512 and 560
line 512
Code:
Today += 0, Hours

line560
Code:
StartDate += -0, Hours

:D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2006, 11:04 am 
Offline

Joined: January 31st, 2005, 9:50 am
Posts: 3910
Location: Bremen, Germany
Sorry for not responding. But I'm still busy. I see that you found a solution. That is great and congratulations. Let's see waht happens if we go back to summer time. Maybe there has to be an automatic switch depending on current date.

_________________
Ciao
toralf
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: October 15th, 2006, 6:33 pm 
Offline

Joined: February 17th, 2005, 8:09 pm
Posts: 23
Location: Frankfurt
Hm sorry, i missed that... checked only the current day and was happy that it worked :roll:

Great you found a solution!


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 61 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Cristi®, nothing and 12 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group