AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Electronic Program Guide (EPG) - GUI
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Jan 08, 2006 11:10 am    Post subject: Electronic Program Guide (EPG) - GUI Reply with quote

This topic is old now. The new topic is here: www.autohotkey.com/forum/viewtopic.php?p=46534

Hi all,

I want to create an EPG with AHK. But I'm stuck with the decision on how to design the GUI. Which controls should be used to represent the data.

My current design would be Text and picture controls in horirontal order (time line). Each line a station. The picture controls would be used for very short shows, e.g. the news, where the text would be too long for the time period.
The text controls would hold the title of the show.
The problem is to position these controls correctly in the time line, but I guess it is possible.

Do you have a better idea to present the data?
_________________
Ciao
toralf


Last edited by toralf on Sat Feb 04, 2006 12:35 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Boskoop



Joined: 01 Jan 2005
Posts: 71

PostPosted: Sun Jan 08, 2006 12:51 pm    Post subject: Reply with quote

For inspiration you can find a long list of EPGs here:

http://membled.com/twiki/bin/view/Main/XmltvRelatedProjects

I personally like this software best (swedish language only):

http://hem.bredband.net/tvguide

That's because of its interface (unfortunately its database isn't of much use to me):

http://hem.bredband.net/tvguide/release/picture1.jpg

Unlike other programs, it gives you all shows of the stations of your choice in one list. You can define filters that highlight your favorite shows or filter out the unwanted ones. The shows you chose are shown in a second window.

I really would appreciate an interface like this, using XMLTV as a database Smile

Boskoop
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sat Jan 14, 2006 4:25 pm    Post subject: Reply with quote

Today I finished the seventh beta (over 500 lines, no comments).

For history of changes see comments in code.

Every feedback is appreciated.
Code:
Code removed: improved code at
www.autohotkey.com/forum/viewtopic.php?p=46534

_________________
Ciao
toralf


Last edited by toralf on Sat Feb 04, 2006 12:36 am; edited 11 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
garry



Joined: 19 Apr 2005
Posts: 1034
Location: switzerland

PostPosted: Sat Jan 14, 2006 5:04 pm    Post subject: Reply with quote

hello toralf,
great, toll, stark...
do you know, how can I pre-select my favorite stations like:
Germany >3SAT and ARTE and SF1
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Sat Jan 14, 2006 5:35 pm    Post subject: Reply with quote

Nice Very Happy What we've to expect next ? Selected details will be displayed within an edit box? Selected items can be converted to become a playlist for your favourite VDR ? Whoopeee ... Grüße auch an die beste Ehefrau von allen Wink
Back to top
BoBo
Guest





PostPosted: Sat Jan 14, 2006 5:51 pm    Post subject: Reply with quote

a) What about a reset option? Otherwise a prev. selected station will be included within a following index (if that one doesn't contain as much items as the prev one).
b) dateformat (Available Dates) will be kept! Have a try, swap from German to French.
c) the GUI isn't localized (default=english) while the displayed details will be localized "a HH:MM Uhr". Combined with the previous issue b) I've got 3 languages displayed. GUI=english, Date=francais,Details=deutsch
Back to top
toralf as guest
Guest





PostPosted: Sat Jan 14, 2006 6:41 pm    Post subject: Reply with quote

BoBo wrote:
Nice What we've to expect next ? Selected details will be displayed within an edit box?
Maybe, but I first have to check if the format is the same. I already had to parse the US pages differently. I do not want to parse too many different HTML formats since each time yahoo changes the format, I have to update the script.
BoBo wrote:
Selected items can be converted to become a playlist for your favourite VDR ? Whoopeee ...
That might be possible. But i'm not sure if the data is accurate enough.
BoBo wrote:
a) What about a reset option? Otherwise a prev. selected station will be included within a following index (if that one doesn't contain as much items as the prev one).
I made it on purpose that way. I wanted to have a list with the programs of multiple stations. So I can see what is running on my favorite stations at the same time on one glance.
BoBo wrote:

b) dateformat (Available Dates) will be kept! Have a try, swap from German to French.
I take the format of the web page. Otherwise I would need to translate. And I guess it will not be a problem, since if you are interessted in French TV I guess you understand french.
BoBo wrote:

c) the GUI isn't localized (default=english) while the displayed details will be localized "a HH:MM Uhr". Combined with the previous issue b) I've got 3 languages displayed. GUI=english, Date=francais,Details=deutsch
As I said before I take what is on the web page. I do not translate. But I wonder how you got the "Uhr" when you were looking at french TV, the "Uhr" is only on german TV. Same as the Details. For details on french TV programs you should get to a link of an french webpage.
Could you give me an example?

I plan to create a filter, so that the user can easily limit the time-range of the program. E.g. I'm mostly not interessted what is shown at 6am-15pm and from 23pm-5am. But at that time the format of the different pages kicks in again. Neutral
Back to top
BoBo
Guest





PostPosted: Sat Jan 14, 2006 6:42 pm    Post subject: Reply with quote

No idea if this isn't a default. If you double click at the separator line (the line which separates two columns at the column bar (details area)) the column shrinks to a preset (?) width. I would have expected that its the other way arround (spreads to its content max width). But I might be wrong ...
Back to top
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sat Jan 14, 2006 6:45 pm    Post subject: Reply with quote

BoBo wrote:
No idea if this isn't a default. If you double click at the separator line (the line which separates two columns at the column bar (details area)) the column shrinks to a preset (?) width. I would have expected that its the other way arround (spreads to its content max width). But I might be wrong ...
If you double click at the separator line the column width is adjusted to fit its content. Do you see a different behavior?
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BoBo
Guest





PostPosted: Sat Jan 14, 2006 7:02 pm    Post subject: Reply with quote

Quote:
Do you see a different behavior?

I've to be more specific. The listbox is empty. If you double cklick at the sep. line. its column will "collapse" to a default/minimum, regardless that the content/columnheader indicates that it shouldn't.

Wenn in der spaltenüberschrift "Lines" drinsteht, dachte ich, die spalte reduziert sich auf die breite des wortes "Lines" solange nicht durch spalteninhalte anderweitig vorgegeben. stattdessen schrumpft sie auf eine defaultbreite und schluckt die spaltenüberschift. Eigentlich kein wirkliches problem - eher akademischer natur Rolling Eyes Wink
Back to top
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sat Jan 14, 2006 7:05 pm    Post subject: Reply with quote

If there is nothing in the column, and you double click on it, the column will shirnk to a very narrow column. It doesn't care about the header. That is normal behavior.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sat Jan 14, 2006 7:35 pm    Post subject: Reply with quote

Second beta in above post.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
BoBo
Guest





PostPosted: Sat Jan 14, 2006 10:46 pm    Post subject: Reply with quote

Quote:
Second beta in above post.
Would you mind to point out fixes/changes aka history. JM2C. Cool
Back to top
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Jan 15, 2006 2:33 pm    Post subject: Reply with quote

Third beta in above post, with change history as comment in code.
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Sun Jan 15, 2006 4:34 pm    Post subject: Reply with quote

Fourth beta in above post
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group