[MOD] Tube Travel Status Update

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #11
Almost there...

[Image: 2lidbnl.png]

(and for the eagle-eyed who spotted that the first train is at 22:16 and "on time" but the time is 22:19, it's because I hadn't bothered to refresh the times for the screenshot!)

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
PatrickBateman Offline
Posting Freak
Posts: 1,643
Joined: Mar 2011
Reputation: 15
Location: Another Earth
Post: #12
Ohh,

I like it! Are you gonna get these scrips of yours in a repo or something sometime? I think you need one Big Grin

Looking great and eagerly awaiting a release Nod

Amazing work as usual dude.
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #13
PatrickBateman Wrote:Ohh,

I like it! Are you gonna get these scrips of yours in a repo or something sometime? I think you need one Big Grin

Looking great and eagerly awaiting a release Nod

Amazing work as usual dude.

The trouble is, these scripts tend not to be the download-and-run type, they work best when a skinner incorporates them directly into the skin (although I could conceivably change this).

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #14
Pat,

You should move to London. They're about to release the live bus stop data to developers.

When I get a chance I'll see if I can scrape the Edinburgh data for you.

el_P

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
eddiem Offline
Senior Member
Posts: 112
Joined: Oct 2010
Reputation: 0
Location: Edinburgh, Scotland
Post: #15
Don't know if it helps but there are Android App's for Edinburgh.
http://code.google.com/p/androidedinburghbustracker/
http://code.google.com/p/redbus/
(This post was last modified: 2011-11-17 16:26 by eddiem.)
find quote
PatrickBateman Offline
Posting Freak
Posts: 1,643
Joined: Mar 2011
Reputation: 15
Location: Another Earth
Post: #16
Cheers Eddie Nod
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #17
eddiem Wrote:Don't know if it helps but there are Android App's for Edinburgh.
http://code.google.com/p/androidedinburghbustracker/
http://code.google.com/p/redbus/

No idea how android stuff is coded but I'll see if I can pick out the data source that the code uses!

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #18
Well, I've found one way it could be done - just scraping data from a WAP/text page. Not ideal.

They really should make the raw data available to developers.

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
el_Paraguayo Offline
Fan
Posts: 448
Joined: Feb 2011
Reputation: 7
Location: London, UK
Post: #19
Pat,

I got in touch with the guy who wrote the android app. I understand that Edinburgh Council are working on an API for the site which will make my job much much easier.

The only downside is that this may not be availble until the new year.

I think I'll wait until this is done and then write the script.

It can be a late Christmas present!!

el_P

MythSuspendAlarm: Suspend xbmc and set ACPI wake alarm based on next scheduled MythTV recording.
BBC Football Scores: Get live football score notifications.
Random Movie Script: Play random movies from user's library (for skinners).
find quote
PatrickBateman Offline
Posting Freak
Posts: 1,643
Joined: Mar 2011
Reputation: 15
Location: Another Earth
Post: #20
el_Paraguayo Wrote:Pat,

I got in touch with the guy who wrote the android app. I understand that Edinburgh Council are working on an API for the site which will make my job much much easier.

The only downside is that this may not be availble until the new year.

I think I'll wait until this is done and then write the script.

It can be a late Christmas present!!

el_P

Aww thanks el_p Big Grin
My very first e-gift Blush

I agree, if it's gonna change in a few weeks/months etc anyway best to wait and use the updated API.

Really appreciate it though bro, i appreciate the time and the effort you've put into this and can't wait for it's release Nod

How's the updates to your movie scripts coming on, looking forward to see where you that to as it's defiantly got some legs on it Nod
find quote