Hello all,
Sorry to be the bearer of bad news, but I have ceased maintaining this
plugin, as I no longer have any need to use it.
Unfortunately this has co-incided with a major change to the Live
Departures website, which this plugin scrapes, thereby rendering the
plugin broken.
I've put the
The plugin stopped working for me over a week ago. This is from the
logfile:
Plugins::LiveDepartures::UKStandardRoute::doParseContent (414) fatal
error: expected Train Departures or Bus Departures in first row
Plugins::LiveDepartures::RouteBase::enterStateTempError (231) Route
'Departures from
Its a real shame as this app is a godsend.
I which I knew Perl as I'd try to fix it.
Anyone know the if this one is still supported (I hope it is!)
--
theDUFF
theDUFF's Profile:
Should it work, or is it no longer being maintained?
Rob
--
RibRob
RibRob's Profile: http://forums.slimdevices.com/member.php?userid=13201
View this thread: http://forums.slimdevices.com/showthread.php?t=33913
Hey,
Sorry to hear about the problems with Underground. To be honest, I
didn't think anyone was using it!
I have tonight bumped the version so it'll work with the latest version
of Squeezebox Server. Fixing the Underground thing will take a bit
longer.
(I don't use this plugin anymore, so make
The underground lines don't seem to work anymore, I think TFL made
changes to their site earlier this year.
Any news on a later build that may work?
--
nofuse
nofuse's Profile:
Hi all,
(Apologies for the long absence!)
There's a new version available here:
http://wiki.insignificant.org/index.php?title=LiveDepartures
And a shiny-new repository here:
http://wiki.insignificant.org/images/Pluginrepo.xml
I've done very brief testing with SC7.4, and it all seems OK so
amcluesent;366820 Wrote:
Any chance of a build for the 7.3 release?
Even hacking the install.xml file doesn't seem to be enough to make
v2.3.420 work with the 7.3 nightly.
edit. my mistake, it is OK to hack the install.xml
Changing the install.xml no longer seems to work with the latest
Any chance of a build for the 7.3 release?
Even hacking the install.xml file doesn't seem to be enough to make
v2.3.420 work with the 7.3 nightly.
--
amcluesent
amcluesent's Profile:
mflint;360443 Wrote:
I think you need to use the [Save] button which is part of the plugin's
form, not the main [Apply] button which SqueezeCenter provides. (That's
a bug in my plugin)
Also, check for saving errors, which appear inside the routes table.
You need to make sure you enter
RibRob;360305 Wrote:
For some reason it doesn't want to save any of the rail routes i add,
though is happy with the Underground routes. It's a fresh install of
7.2.1, and version LiveDepartures-2.3.420.zip
I think you need to use the [Save] button which is part of the plugin's
form, not the
For some reason it doesn't want to save any of the rail routes i add,
though is happy with the Underground routes. It's a fresh install of
7.2.1, and version LiveDepartures-2.3.420.zip
On a separate note, it's appearing fine (well, the Underground routes
are!) on my SqueezeBox Classic and my
Looking good on my Boom and the mods haven't affected the display on the
TP.
+---+
|Filename: photoc.jpg |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=6200|
Nice, thanks for posting the update.
Not sure what else we can do to make it fit any better. Perhaps you
could move from Peterborough to Ely? ;)
Seriously though: currently, for the Boom, it's hard-coded for three
lines - which is probably the only sensible arrangement for that
machine. But for
Hey all... Sorry for being so quiet lately. Haven't had any time to
devote to this :(
Version changes: yes, i'll get that fixed and tested against 7.1.
Duet support: I did make a start on this... It's functional but not
polished. Perhaps I should make available what I've done and hope
someone
Hi folks,
I've made an update - not especially well tested, cos it's late ;-)
This includes the following changes:
* bumped supported versions, so no more hacking install.xml
* added crude support for the smaller Boom screen
Get it here:
Note sure if this plugin is being maintained :(
Anyhow, running this on my new Boom and the reduction in screen size
compared to the SB3 makes the information much harder to read.
It would be great if the plugin could be configured to use Boom 3-line
display/font, do you'd have
Current Time
This looks great but how do i get it to work on a duet?
--
wilgartw
wilgartw's Profile: http://forums.slimdevices.com/member.php?userid=19007
View this thread: http://forums.slimdevices.com/showthread.php?t=33913
7.1 any time soon? :)
I just hacked the plugin's install.xml to make the maxversion 7.1a and
Live Departures is OK again on SqueezeCenter Version: 7.1 - 21630.
--
amcluesent
amcluesent's Profile:
hi im probably just being a duffer here but i can seem to save my
settings in the settings screen
and i am getting the error
[08-05-27 20:35:03.7365] Slim::Control::Request::execute (1779) Error:
While trying to run function coderef
[Slim::Control::Commands::buttonCommand]: [Can't use an
ggjw;303153 Wrote:
Well I don't understand this - I tried installing it again (for 5th or
6th time!) and this time after starting up SqueezeCentre and clicking
on settings next to LiveDeparture on plugin tab I get the page that
allows me to enter routes. Seriously I tried this a few mins
Hi,
How do you get the Squeezecentre version number? Still getting used to
the new interface!
I downloaded LiveDepartures from the site as above - it is version
2.2.193 but I have Windows.
If I have to re-install Squeezecentre I will but note that I went from
6.5.1 to 7.0 not via any 7.0 betas.
Well I don't understand this - I tried installing it again (for 5th or
6th time!) and this time after starting up SqueezeCentre and clicking
on settings next to LiveDeparture on plugin tab I get the page that
allows me to enter routes. Seriously I tried this a few mins before and
it didn't work
In the end, I killed off the entire Squeezecenter installation and did a
clean 7.0 install from the repository. The plugin's working again now.
I know that isn't an answer, but it looks as though it was a problem
caused by chasing v7 through different beta versions and then simply
installing
Hello again,
Sorry for the delay in getting back to you all. I should be able to
look at this now...
To the two people having problems: can you let me know, please, exactly
which version of SqueezeCenter you are running?
I'm running revision 19193 from SVN
Well, it's not the only plugin, and the others work fine. I installed
it as I described - same place I had it previously.
It may help if you give the path of where you did install the plugin.
but didn't go out of my way to delete any cached plugin information.
Where would that
OK, I've had a chance to investigate - and I can't get it to fail.
Here's what I did (on a pristine Ubuntu machine):
- downloaded SqueezeCenter 7.0 (from the 'SlimDevices download page'
(http://www.slimdevices.com/su_downloads.html), the .tar.gz version)
- downloaded version 2.2.193 of
Hmm, that's not great :(
I tend to run the trunk version of SC7, and don't update as often as I
probably should. 'Tis odd that it should stop working...
You've caught me in the middle of my honeymoon in the Scottish
Highlands, so I can't investigate right now, but I'll have a look in a
few
Some of the causes of the 404 error include
1. The plugin has been installed in a directory too deep e.g.
server/Plugins/Plugins/LiveDepartures
2. The plugin has been installed in the correctly but it is the only
plugin in Plugins and ther is empty directory called Plugin or
Plugins.
When you
mflint;292346 Wrote:
Hmm, that's not great :(
I tend to run the trunk version of SC7, and don't update as often as I
probably should. 'Tis odd that it should stop working...
You've caught me in the middle of my honeymoon in the Scottish
Highlands, so I can't investigate right now, but
bpa;292358 Wrote:
Some of the causes of the 404 error include
1. The plugin has been installed in a directory too deep e.g.
server/Plugins/Plugins/LiveDepartures
2. The plugin has been installed in the correctly but it is the only
plugin in Plugins and ther is empty directory called
I'm running LiveDepartures on Ubuntu. It was fine with the pre-release
versions of 7.0, but now I've moved to the proper release,
LiveDepartures doesn't show up on the Squeezebox. It does show up on
the list of plugins on the web interface.
When I try to access the settings page I get an error
adrianw;263702 Wrote:
Hi,
I've worked out what the problem was, I think it was a
mis-understanding on how the system worked, or possibly not [reading]
the instructions
;-) I know that feeling!
adrianw;263702 Wrote:
Hope this is clear, and thanks for writing something very useful, saves
Hi,
I've worked out what the problem was, I think it was a
mis-understanding on how the system worked, or possibly not ready the
instructions, hey I'm a programmer :)
What I was doing was entering the values in the table and then clicking
on the add route button then clicking on the save/apply.
Hi I just installed the last build of squeezecentre,
SqueezeCenter Version: 7.0 - 16791 - Windows Vista - EN - cp1252
So that I can try your new release of the plugin 2.2.193, however I
can't get it to save the settings.
I'm probably being a complete numpt but I've attached the server log in
Erk... that doesn't look great.
The only thing that comes immediately to mind: the settings page
doesn't yet work well with the Apply button which comes for free with
SqueezeCenter in the bottom-right corner. Instead, you should use the
Save button inside the settings pane itself.
If that's not
bouton;216192 Wrote:
Thanks for the great plugin! - want to do one for the london underground
now? ;)
It took a while, but it's done now!
There's a new version (2.2.193) on the website. Note that this requires
SqueezeCenter 7.
http://insignificant.org/wiki/index.php/LiveDepartures
Two
Thanks, that's better.
Ceejay
--
ceejay
ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=33913
Hey all,
If any of you brave souls are making the leap to SqueezeCenter v7.0,
then there's a (beta quality) version of LiveDepartures now available.
Other than being v7-compatible, this has no new features.
http://insignificant.org/wiki/index.php/LiveDepartures
Feedback / bug reports welcome
Well, how could I resist? Especially when my production system will NOT
be upgraded until LiveDepartures works!
Not much success, I'm afraid. Plugin seems to install ok (shows up the
settings page) but when I click the settings button I get
404 Not Found:
Gah - will try again. I tested it all fine, then had trouble in the
packaging. Maybe the PluginBuilder stuff has borked it...
Sorry lad - watch this space!
M
--
mflint
'GoalRush , LiveDepartures and ArtistPlaylist plugins'
(http://www.insignificant.org/wiki/index.php/Slim_Plugins)
OK, I've tried it again...
It works if you access the settings by selecting SqueezeCenter
settings from the main page, then choose Live Departures in the
drop-down list.
If you choose Extras from the drop-down list, then Live Departures
and Settings, then it doesn't work.
More investigation
Yup, that works. Not pretty but usable!!
Ceejsy
--
ceejay
ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148
View this thread: http://forums.slimdevices.com/showthread.php?t=33913
Re: adding information about The Tube:
Good idea - if that data is available, it should be possible to hack it
in. I may investigate...
Re: moving through departing trains on one route:
I don't think this is a five-minute job, but not too big a task. It all
depends what you want to achieve.
or someway to change the scrolling time?
Anyway - used it this morning and worked fine - thanks a million!!
Re: tube time - really its just if its open/closed/cancelled or not.
http://www.tfl.gov.uk/tfl/livetravelnews/realtime/tube/default.html
--
bouton
bouton;216192 Wrote:
Question.. reading this forum indicates that i should use the up/down
arrow to move through departing trains on a route - but that switches
me between routes and not train times on one route. Suggestions?
I think you mght be caught up by some of the early
Hi
yep, that seems to work for all the cases I have.
And, as I suspected, a much more elegant solution to that last bug than
my nasty kludge!
Ceejay
--
ceejay
ceejay's Profile:
Thanks again guys for your help in debugging this plugin. I've uploaded
a new version:
http://www.insignificant.org/wiki/index.php/LiveDepartures
Matthew
--
mflint
'Clicky-woo linky'
(http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page
of my plugins
Rodlogic
Platform eh? Well I never! I hadn't seen that before... I thought I'd
done a fair amount of testing too, on the little line I use every day,
and also routes in/out of Leeds and Manchester to get a good load of
routes.
Ceejay
Thanks again for making a patch - I'll take a look. I'm sure
Slightly off-topic I know, but I *love* the collaborative nature of this
forum!
--
mflint
'Clicky-woo linky'
(http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page
of my plugins
mflint's Profile:
rodlogic;213213 Wrote:
Hi,
I have run the debug command and set LiveDepartures going for a simple
query - all departures from AFK (Ashford International - note not
Ashford Euorstar)
I see there is an error - temp Error expected 5 cells in a row but
found 6
Could this be the problem and
Rodlogic
ok, try this. Attached is a patched version of route.pm which does
what I said. It seems to work for AFK and also BHM, without breaking
at least the routes I normally have set up.
Matthew - its not pretty but it works, I'm sure you'll make this more
elegant but at least it gets the
I wonder if someone could help me in getting to the bottom of this error
with Live Departures.
I have installed the plugin OK, restarted Slim.exe - input the routes
OK (confirmed the 3 letter per station) and all seems OK - but when run
I get the captioned error message - I see a connection to
mflint;211554 Wrote:
Speaking of bugs, I do see the plugin occasionally fail to grab times
off the net, but doens't report the error. Instead, it just displays:
--
From To
No Departures
--
OK, just seen that on one of my SBs. Not sure how much of this
I don't recall having seen that display.
One other idea occurs to me: would it be possible to have the right
arrow key (which is otherwise redundant) force the display on to the
next journey (within the current route)? This would cover the case
where you blink and miss the one you really care
Cool! :-)
Thanks again for the patch - I'll make sure I include it.
Speaking of bugs, I do see the plugin occasionally fail to grab times
off the net, but doens't report the error. Instead, it just displays:
--
From To
No Departures
--
Not sure why it happens, but
Furry;211277 Wrote:
Can I install this for use with SlimServer running on a Qnap? If so,
how?
TIA,
Dave.
I dont have a Qnap but ... the same way as any other plugin? Copy the
LiveDepartures directory from the downloaded ZIP file into the
server/plugins directory, and restart Slimserver?
ceejay;211342 Wrote:
I dont have a Qnap but ... the same way as any other plugin? Copy the
LiveDepartures directory from the downloaded ZIP file into the
server/plugins directory, and restart Slimserver?
HTH
Ceejay
It took a bit of hunting around, after telnet-ing into the qnap, to
find
ceejay;211342 Wrote:
I dont have a Qnap but ... the same way as any other plugin? Copy the
LiveDepartures directory from the downloaded ZIP file into the
server/plugins directory, and restart Slimserver?
HTH
Ceejay
I don't think its that simple / the same. The Plugins directory, found
Furry;211450 Wrote:
I don't think its that simple / the same. The Plugins directory, found
by telnet-ing into the Qnap:
/share/HDA_DATA/ubuntu/opt/slimserver/Plugins
I can't simply unzip from my XP machine to there, I'm pretty sure
there's a bit more to it than that.
Dave.
Ah, yes.
ceejay;211453 Wrote:
Ah, yes. Not really a LiveDepartures question then - you need to look in
the 3rdPartyHardware board for discussion on Qnap plugins. I found this
one http://forums.slimdevices.com/showthread.php?t=24435 which suggests
you need to ask Progressive to do this for you, but
Furry;211459 Wrote:
Yes, I've been searching and just found that, and wonder the same - can
someone tell me what's the history / situation with Progressiveav?
Dave.
Possibly, but not in this thread!! I suggest you open up one of the
existing threads on the topic.
Ceejay
--
ceejay
Matthew
ok, so back on topic... remember a while ago I complained about the up
and down arrow keys being too sensitive? Well, in particular using a
Harmony remote on my Transporter it was completely impossible (each
up/down moved by at least three) so I looked into it and I have a patch
to
It looks as if you have the URL syntax wrong for the arrivals case. The
URL I see when I use the web site is
...?T=startstationP=deststation
However I'm obviously missing something because when I put this in at
line 338 in route.pm it didn't work - something about a temporary error
in the log
Thanks for that CeeJay. Your fix is good... see the webpage for a newly
packaged version.
http://insignificant.org/wiki/index.php/LiveDepartures
Matthew
--
mflint
'Clicky-woo linky'
(http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page
of my plugins
OK, so I've given it a try...
The setup page was pretty easy to use (I even managed to see a nice
error message!), well done for that. Only one small usability query:
the Arrivals at ... from ... option label might suggest that you have
to put the destination station first, though of course the
CeeJay... thanks for te suggestion about the change of wording - yes,
that makes sense.
I'm disappointed you're having trouble with changing routes. I must
admit I've only been using it (and testing it) in power off
screensaver mode, so I guess something else is grabbing the keypress
event when
Thanks Matthew, this is the first plugin I've, er, plugged in to
Slimserver. Useful for me because I use the train a lot.
Typically, though, when I tried it (just now), there are no trains
running, so it displays 'No Journeys'!
For a while, I thought the plugin wasn't doing its thing, until I
Furry;210695 Wrote:
this is the first plugin I've, er, plugged in to Slimserver.
Hmm, no it isn't, I've just remembered that I'm using Alien BBC too.
--
Furry
Furry's Profile:
Hi folks,
I've done another release, which should fix the problem CeeJay was
having. Rather than using Now Playing button to switch routes, my
Other Half suggested using the Up and Down buttons instead. Much more
sensible...
It also now works through the Plugins-Screensavers-LiveDepartures
menu
Hi
Very nice, thanks. Just one bug to report for now: the route option
arriving at A from B shows correctly on the SB display but you are
actually looking at arrivals at B from A on the railtrack site, I
think! (it took me a while to figure this out but I'm pretty sure this
is what's
Hi all,
There's a new version here:
http://insignificant.org/wiki/index.php/LiveDepartures
The major new feature is the ability to enter multiple routes and
different journey types.
No time now to explain - will give more details over the weekend...
Have fun!
Matthew
--
mflint
'Clicky-woo
mflint;210414 Wrote:
Hi all,
There's a new version here:
http://insignificant.org/wiki/index.php/LiveDepartures
The major new feature is the ability to enter multiple routes and
different journey types.
No time now to explain - will give more details over the weekend...
Have fun!
skyedog;205237 Wrote:
...it really is. Thank you.
Now -how about an alarm clock function, that deducts a user-specified
number of minutes from the expected arrival time of a given train and
wakes me up then? I would - quite seriously - pay good money for that
- with FirstGreatWestern's
mflint;202031 Wrote:
Unfortunately, my day job has been getting in the way for a while...
:-/
I know, nuisance isn't it
If you find yourself with an alpha version that needs testing, feel
free to pm me, I'd be happy to give it a going over!
Ceejay
--
ceejay
ggjw;201974 Wrote:
I love the idea of this plugin and actually signed up for the forum just
so that I can add my voice to make the destination optional!
I travel into London and can go to any of London Bridge, Canon Street
or London Waterloo East - if I put any one station in then it
hmm I've been getting a Data Fetch Error all day today, is it just me??
:(
--
cparker
cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083
View this thread:
ceejay;192068 Wrote:
... telling me exactly how fast I had to rush...
Ain't it always the way? Glad it works for you. :)
I've been playing with the Template Toolkit (nice!), and will soon have
a version which can handle multiple routes. Here's the plan:
- enter multiple start and/or
Sounds good, I look forward to testing it!
One minor thing you might want to do - change the names of the
prefs-file entries so they start with plugin_livedepartures which
would fit the general model.
Also, without wanting to put you off, have you considered the impact of
SS 7.0, see e.g.
ceejay;192189 Wrote:
One minor thing you might want to do - change the names of the
prefs-file entries so they start with plugin_livedepartures which
would fit the general model.
Ah yes... for things like that, I generally choose another random
plugin to look at, to determine general customs
mflint;192200 Wrote:
I think we need four views:
- all departures from start
- departures from start to destination
- all arrivals at destination
- arrivals at destination from start
Can we have some funky dropping down text as well, like those proper
old skool
cparker;192263 Wrote:
Can we have some funky dropping down text as well, like those proper old
skool annoucement boards?! :)
Of course! I'll have a test version sent to you immediately by flying
pig. ;)
--
mflint
'Clicky-woo linky'
(http://www.insignificant.org/wiki/index.php/Slim_Plugins)
mflint;192200 Wrote:
Ah, that'd be CeeJayCabs I guess?! ;-)
Indeed!
I think we need four views:
- all departures from start
- departures from start to destination
- all arrivals at destination
- arrivals at destination from start
Yes, just so.
Ceejay
--
M
used the plugin this morning in anger and it worked brilliantly - the
SB in my bedroom was telling me exactly how fast I had to rush...
Thanks!
Ceejay
--
ceejay
ceejay's Profile:
FYI, the error I get with Jens' version is
Can't load Plugins::LiveDepartures::Plugin for Plugins menu: Undefined
subroutine Plugins::LiveDepartures::Plugin::getDisplayName called at
/PerlApp/Slim/Utils/PluginManager.pm line 257.
Perhaps this is a Windows/Linux difference? (I'm on Win XP Pro
Have been giving possible enhancements a bit of thought ... I should
warn that this is strictly from a user point of view, taking no account
of how hard this might be... !
(1) up and down arrows to force the list to scroll
(2) press right for more info on this train: arrival time at
ok, not sure where I'm going wrong here...
I just downloaded the zip in the first post.
Extracted it to my plugins directory.
In Slimserver, I have the configuration available for Live Departures.
I put my stations in - SLO to RDG (Slough to Reading). However, in the
Plugins menu, I don't have an
In the player UI, it doesn't appear as a Plugin - its a Screensaver.
Got to Settings - Screensavers - then select whichever mode you want it
for (playing/stopped/off) then select it from the list of available
screensavers.
BTW there is a later version than the one in the first post, 1.1 is
ceejay;191612 Wrote:
In the player UI, it doesn't appear as a Plugin - its a Screensaver.
Got to Settings - Screensavers - then select whichever mode you want it
for (playing/stopped/off) then select it from the list of available
screensavers.
BTW there is a later version than the one in
cparker;191169 Wrote:
Hi Matthew
Quick one, I removed the destination station to activate the above and
it tells me its an invalid entry.
New value for destStation rejected:
Invalid value specified:
Am I doing something wrong??
Cheers
No, it's my bad. I should have made it
Dear Matthew and all,
I have updated the plugin to
1 - Use WWW::Mechanize
2 - report planned departures as well as the next live departure
3 - Change from reporting departing trains before midday and late in
the evening, to reporting arrivals
This helps my wife know when I will be home and
Jens...
That's cool. I'm rather a novice with Perl, so didn't know
WWW:Mechanize even existed. (Though I should have guessed!)
Will take a look over the weekend. It's nice to know folks are
interested enough to hack the code! :-) Would you mind me taking your
changes and updating the version on
What a brilliant piece of work! I've just tried the v1.1 and it works
well. I did try Jens' patched version and for some reason it didn't
start.
Here's my enhancement request (have to admit I've no idea if its
feasible) ... I'd like to be able to specify more than one
start/destination pair, and
@Jens:
It's good, but does display a lot of information. I wonder if this
could be an option to turn on in the settings? (Or the simpler version
could be an option to turn on!) We'd have to put a longer delay into
the journey-switching too, as I can't read it fast enough...
I really do like the
mflint;190382 Wrote:
For your info, the other functional item on the list is to make the
destination station optional, so it shows every arrival/departure
from the start station.
M
Hi Matthew
Quick one, I removed the destination station to activate the above and
it tells me its an
Hi Matthew
This is a fantastic plugin!
Some suggestions for improvements;
How about adding a return option, so that I can see what time my wife
is getting home from London. You could have the display cycle between
them or even have an option to have the return journey be the primary
display
Hey cparker,
Thanks for the positive feedback! It makes a slightly-p*ssed bloke very
happy on a Monday evening...
How about adding a return option, so that I can see what time my wife is
getting home from London. You could have the display cycle between them
or even have an option to have
Hey cparker,
Thanks for the positive feedback! It makes a slightly-p*ssed bloke very
happy on a Monday evening...
How about adding a return option, so that I can see what time my wife is
getting home from London. You could have the display cycle between them
or even have an option to have
Okey doke, there's an updated version _'here'
(http://www.insignificant.org/wiki/index.php/LiveDepartures)_, in a
hastily-thrown-together wiki thing.
It'll now show multiple journeys, cycling through them in turn. 10
seconds for the next departure, 5 seconds for the others. Rinse and
repeat.
No
All,
This is a screensaver plugin to display running information for UK
trains. I use it (along with 'SaverSwitcher') to see whether my trip to
the station each morning will be a sprint or a leisurely walk.
Usage: unzip to the Plugins directory, restart SlimServer. Use the
Server Settings /
100 matches
Mail list logo