Yabby TV Guide - Current Status
Here, I will post the current status of the project including current problems, triumphs, and other info.
Current features:
- Reads from ~/listings.xml file and loads some info, including program title, production date, and a description.
- Displays listings in a simple TreeView.
- Sorts by channel number
Current problems:
- Having problem sorting the data hash. The problem is that it needs to sort by a numerical second-level value -
Sort by $channels{time}{"display2"}
**SOLVED** I solved it by loading two values into a smaller hash, sorting them, and then using these keys to access the original hash.
- Having problem with the signal on the TreeView rows. I need to get the clicked row and column when a user double clicks.
- Another problem is shows that dont start on the hour. I still havent decided changed it to show shows on the half hour (currently its on the hour). But the problem is that times in the listings.xml file are like this : 20070527200000 (year/month/day/hour/minute/second). This is easily parsed in Yabby by dividing and subtractin (you kind of have to see the source to see what I mean). But there are also times like this: 20070527203600, meaning the show starts at 8:36 (surprising, but it happens). So now, I need to make it find the last starting time, which wont be easy. If anyone has any ideas about an easy way to do this, that would be a HUGE help.
If anyone has any ideas on the problems I am having please e-mail me your ideas. I will post your name and a link to your site as a token of my appreciation!
Current Version
Version 0.99 (Alpha)