Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 code on github [1] if anyone wishes to fork it and get it going again. The necessary changes will be to UKStandardRoute.pm.doParseContent(). I also notice that the query URLs have been changed (although the old ones still work) but it may be worthwhile changing those too. I did start work on a plugin for the SBC (way back when it was still called Jive) which could be resurrected too. Matthew [1] https://github.com/mflint/LiveDepartures -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 BBG to GLQ' entering state TEMP_ERROR This is the webpage I think it's reading http://www.livedepartureboards.co.uk/ldb/sumdep.aspx?T=BBGS=GLQ and this is the code that is failing from UKStandardRoute.pm: if (DISPLAY_TYPE_ALL_DEPARTURES_FROM == $self-{DISPLAY_TYPE} || DISPLAY_TYPE_DEPARTURES_FROM_TO == $self-{DISPLAY_TYPE}) { # departures from... so expect to find Train Departures or Bus Departures if ($tableRow =~ m/Train Departures/) { $transportType = TRANSPORT_TYPE_TRAIN; $log-info(This transport section is TRAIN DEPARTURES); } elsif ($tableRow =~ m/Bus Departures/) { $transportType = TRANSPORT_TYPE_BUS; $log-info(This transport section is BUS DEPARTURES); } elsif ($tableRow =~ m/Departures/) { # if this just contains Departures then there's no transport type - so shouldn't expect any details below $transportType = undef; } else { # bad bad bad - fatal error $log-info(fatal error: expected Train Departures or Bus Departures in first row); $fatalError = 1; It may be that the webpage has altered so causing the error. Unfortunately I can't fix it. I agree it's a shame if it's no longer being supported. Steve -- skind56 skind56's Profile: http://forums.slimdevices.com/member.php?userid=9792 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=12752 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 it available for adoption in the near future. Anyone interested?) Matthew -- mflint 'LiveDepartures plugin' (http://wiki.insignificant.org/index.php?title=LiveDepartures) - 'GoalRush plugin' (http://wiki.insignificant.org/index.php?title=GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=22297 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 far... so that's the new maximum version. Matthew -- mflint 'LiveDepartures plugin' (http://wiki.insignificant.org/index.php?title=LiveDepartures) - 'GoalRush plugin' (http://wiki.insignificant.org/index.php?title=GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 7.3.1 nightlies (actually now 7.3.2). Is there some trick to get this to work? Should specifying maxversion of '7.3+' work?? Is this hosted on a repo somewhere for 7.3 extension downloader? Thanks, Tom -- twynne twynne's Profile: http://forums.slimdevices.com/member.php?userid=1326 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=10286 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 start and/or destination routes appropriate to the route type. Example: if you choose all departures from, then only the Start station name should be entered. Got it resolved, i was doing the saving as you suggested, i think the problem was something else altogether, i'm going to double check tonight and report back if it was what i think it was. -- RibRob RibRob's Profile: http://forums.slimdevices.com/member.php?userid=13201 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 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 start and/or destination routes appropriate to the route type. Example: if you choose all departures from, then only the Start station name should be entered. Which route are you trying to enter? RibRob;360305 Wrote: On a separate note, it's appearing fine (well, the Underground routes are!) on my SqueezeBox Classic and my Boom, but should i also be able to see it via my Duet Remote? Duet Remote... err, not yet. I have some thrown-together code which does it, but it's not polished enough yet to be relied upon. I can't see me being able to spend much time finishing this off... Thinking of maybe releasing what I've got and hoping someone tidies things up a bit. Any volunteers?! ;-) Matthew -- mflint 'LiveDepartures plugin' (http://wiki.insignificant.org/index.php?title=LiveDepartures) - 'GoalRush plugin' (http://wiki.insignificant.org/index.php?title=GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 Boom, but should i also be able to see it via my Duet Remote? r. -- RibRob RibRob's Profile: http://forums.slimdevices.com/member.php?userid=13201 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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| +---+ -- amcluesent amcluesent's Profile: http://forums.slimdevices.com/member.php?userid=10286 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 other VFD devices (SB2/SB3/TP) there are still improvements that can be made. SBG/SB2/SB3 Are people generally happy with the two-line solution? Or do you sometimes wish that either: - you could display three lines to stop stuff scrolling, or - you could have it set to ENORMOUS MODE, thereby easily read from across the room TP For the Transporter, I could do better there too. Any suggestions? An easy change would be to move the time into the second display permanently, perhaps duplicating the standard DateTime arrangement there. (I only own one SB2, one SB3 and a Duet, so don't have strong opinions about how this plugin could be useful for Boom or TP) I'd be interested to hear any ideas :) Matthew -- mflint 'LiveDepartures plugin' (http://wiki.insignificant.org/index.php?title=LiveDepartures) - 'GoalRush plugin' (http://wiki.insignificant.org/index.php?title=GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 submits patches? Boom support: shouldn't be too hard. Three lines is a great idea - I'll have a go and report back. Is there Boom emulation in SoftSqueeze? Apologies again for being so slack! Matthew -- mflint 'LiveDepartures plugin' (http://wiki.insignificant.org/index.php?title=LiveDepartures) - 'GoalRush plugin' (http://wiki.insignificant.org/index.php?title=GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://wiki.insignificant.org/index.php?title=LiveDepartures Apologies again for being so absent... Matthew -- mflint 'LiveDepartures plugin' (http://wiki.insignificant.org/index.php?title=LiveDepartures) - 'GoalRush plugin' (http://wiki.insignificant.org/index.php?title=GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 Route Information Journey Information -- amcluesent amcluesent's Profile: http://forums.slimdevices.com/member.php?userid=10286 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=10286 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 undefined value as an ARRAY reference at P lugins/LiveDepartures/RouteManager.pm line 181. in the log thanks for any ideas david -- webfish webfish's Profile: http://forums.slimdevices.com/member.php?userid=17822 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 before and it didn't work with same error that I posted previously. Anyway, I seem to be sorted but please note in case any other members have similar problem and think that they are going mad :) Hi... pleased to see you're sorted. Hope it doesn't go wrong again! 'Tis strange that people are having trouble though, with this plugin but not any others. There's definitely something amiss, but I can't think what it could be... Matthew -- mflint 'LiveDepartures plugin' (http://insignificant.org/wiki/index.php/LiveDepartures) - 'GoalRush plugin' (http://insignificant.org/wiki/index.php/GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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. Still missing LiveDepartures :( -- ggjw ggjw's Profile: http://forums.slimdevices.com/member.php?userid=11577 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 with same error that I posted previously. Anyway, I seem to be sorted but please note in case any other members have similar problem and think that they are going mad :) -- ggjw ggjw's Profile: http://forums.slimdevices.com/member.php?userid=11577 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the final release over the top. 7.1 any time soon? :) -- skyedog skyedog's Profile: http://forums.slimdevices.com/member.php?userid=4014 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 (http://svn.slimdevices.com/repos/slim/7.0/trunk/server) and it all seems OK for me... (I go to the settings page, select the Plugins tab, then hit the 'settings' link next to Live Departures) Matthew -- mflint 'LiveDepartures plugin' (http://insignificant.org/wiki/index.php/LiveDepartures) - 'GoalRush plugin' (http://insignificant.org/wiki/index.php/GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 normally be in a Linux (Ubuntu) install? The file is called plugin-data.yaml and it is in the Cache directory. Check Settings/Status for current Cache directory setting. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 LiveDepartures (from [url=http://wiki.insignificant.org/index.php?title=LiveDepartures]my Wiki) - uncompressed the tarball to a folder in my home directory - 'cd squeezecenter-7.0-17793/Plugins' - unzipped the LiveDepartures zip file - 'cd ..' - ./slimserver.pl - browse to 'http://localhost:9000' - followed the setup wizard - click 'Settings', 'Plugins', 'Live Departures Settings' - entered two stations, selected some underground stations, pressed 'Save' - launched SoftSqueeze to check the screensaver works If I shift-click on the 'Live Departures Settings' link (so the plugin settings appear in new window), the URL is shown as: http://localhost:9000/settings/plugins/LiveDepartures/settings/basic.html?player=... Which is exactly the URL that is causing you trouble. Curious... I think I need to think a little more! :-( Matthew -- mflint 'LiveDepartures plugin' (http://insignificant.org/wiki/index.php/LiveDepartures) - 'GoalRush plugin' (http://insignificant.org/wiki/index.php/GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 day's time. Sorry for the inconvenience! Matthew -- mflint 'LiveDepartures plugin' (http://insignificant.org/wiki/index.php/LiveDepartures) - 'GoalRush plugin' (http://insignificant.org/wiki/index.php/GoalRush) - 'Occasional blog' (http://insignificant.org/) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 make a changes moving/re-installing plugins around make sure you delete the cached plugin information especially plugin-data.yaml. -- bpa bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 I'll have a look in a few day's time. Sorry for the inconvenience! Matthew What are you doing even *looking* on this forum on your honeymoon? No rush. -- skyedog skyedog's Profile: http://forums.slimdevices.com/member.php?userid=4014 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 Plugin or Plugins. When you make a changes moving/re-installing plugins around make sure you delete the cached plugin information especially plugin-data.yaml. Well, it's not the only plugin, and the others work fine. I installed it as I described - same place I had it previously. I removed the old version using Synaptic, but didn't go out of my way to delete any cached plugin information. Where would that normally be in a Linux (Ubuntu) install? -- skyedog skyedog's Profile: http://forums.slimdevices.com/member.php?userid=4014 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 message: 404 Not Found: settings/plugins/LiveDepartures/settings/basic.html The basic.html is found at /usr/share/squeezecenter/Plugins/LiveDepartures/HTML/EN/plugins/LiveDepartures/settings/basic.html I've tried reinstalling, but I still get the same errors. Any thoughts/advice, anyone? All other plugins seem to have survived the upgrade. Thanks in advance. -- skyedog skyedog's Profile: http://forums.slimdevices.com/member.php?userid=4014 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 me from doing it :) No problem, my pleasure :-) Matthew -- mflint 'GoalRush and LiveDepartures plugins' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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. Because the I had clicked on the add route button it had an empty route before trying to save, this was making the validation fail and so it wasn't then saving the data. Hope this is clear, and thanks for writing something very useful, saves me from doing it :) Thanks, Adrian -- adrianw adrianw's Profile: http://forums.slimdevices.com/member.php?userid=15243 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the hope that you can tell me what's going on. Thanks, Ade. +---+ |Filename: server.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=4193| +---+ -- adrianw adrianw's Profile: http://forums.slimdevices.com/member.php?userid=15243 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 it, then I'll need to quiz you further! Matthew -- mflint 'GoalRush and LiveDepartures plugins' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 significant new features: * London Underground * extra detail for journeys (where available). This will give extra detail for Underground lines when the service isn't good, and departure platforms for stations such as Birmingham. Matthew +---+ |Filename: LiveDepartures-config.jpg| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=4065| +---+ -- mflint 'GoalRush , LiveDepartures and ArtistPlaylist plugins' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 :) Matthew -- mflint 'GoalRush , LiveDepartures and ArtistPlaylist plugins' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: plugins/LiveDepartures/settings/livedepartures_settings.html I see that I have a path C:\Program Files\SlimServer\server\Plugins\LiveDepartures\HTML\EN\plugins\LiveDepartures\settings\basic.html but seems not to be what the server is looking for? This is with 2.0.116 plugin and SqueezeCenter Version: 7.0 - 13568 - Windows XP - EN - cp1252 Ceejay. -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 needed, but you should be able to make some progress... Matthew -- mflint 'GoalRush , LiveDepartures and ArtistPlaylist plugins' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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. An alternative (possibly more flexible) would be to add two more settings to each route: 1. omit departures/arrivals within the next n minutes 2. only show n arrivals/departures So if you were a 15 minute walk away from the station, you could restrict the resultset to the next 3 trains departing no earlier than 15 minutes from now. Both of those would need some work in sorting all the departures into time order. (They are usually, but not always) Unfortunately they day job is getting in the way again... but patches always welcome! ;-) Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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's Profile: http://forums.slimdevices.com/member.php?userid=539 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 discussions about how the plugin might work, or be improved. Up/down switches between routes. There is currently no way to force the plugin to move between trains for a given route, though that is a suggestion I have made. Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 it'll be fine though :) I did ask NationalRail (twice!) if they had a more friendly interface, such as a WebService... but never received any reply at all. Without a definitive description of the possible results (such as WSDL or XML Schema) there's always the possibility of breakage. I also fear them rolling out enhancements to their service which cause further incompatibilities... Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 why it is only happening to me :-) string: Undefined string: string: Requested language: EN - failsafe language: EN LiveDepartures::Route 0 entering state UPDATE using URL http://www.livedepartureboards.co.uk/ldb/sumdep.aspx?T=AFK LiveDepartures: fromTo is *div class=containertitlebigh2span class=redLIVE/span DEPARTURES:span class=redbr ASHFORD INTERNATIONAL (AFK)/span/h2/div* This transport section is TRAIN DEPARTURES found DESTINATION as expected temp error - expected 5 cells in a row, but found 6 LiveDepartures::Route 0 entering state TEMP_ERROR HMM, nasty - if you run the same query from the national rail site, you'll see that a query on AFK throws up 6 columns of data, whereas the norm is 5. The extra column is platform. I trolled around a few other stations that might be expected to be big or complicated and only found one other that does the same - Birmingham New Street. I'm sure there are others - but the point is that this is unusual. So, yes, it is just you! (and the good people of Birmingham, but we don't care about them, do we?) The fix would be to amend the code to accept either 5 or 6 columns and, if there are 6, to discard the second one. I'll have a quick look to see if I can spot this one... Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 poor people of Ashford and Birmingham on line... Ceejay. +---+ |Filename: Route.pm | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=3037| +---+ -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 www.livedepartureboards.co.uk and I can go their with my browser and confirm a route and connection etc - my Slimserver connects to the Net OK for all other function and my firewall isn't blocking the net access - wondered if someone had come across this before ? Many thanks -- rodlogic rodlogic's Profile: http://forums.slimdevices.com/member.php?userid=8716 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 detail is relevant but this is when I saw it: It was set to use the screensaver when Stopped. I'd been trying to play an internet radio station but the station failed to connect for some reason. After the set timeout, the screensaver kicked in and I got the display you described. This left me in a very tricky position: the only way out of the screensaver in this case is to press now playing, but as far as SS was concerned there wasn't anything playing so the only way I could get out was to power the SB down. Pressing the up or down key caused the plugin to try another route but fail in the same manner. I then checked that the network and network rail site were ok by manually starting the plugin and it worked fine. HTH Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 about and don't really want to wait a minute for a long list to cycle round. I did have a look in the code myself but couldn't figure this one out... Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 that's top of my list of things to fix when I have a spare hour... Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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? HTH Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the folder: /share/HDA_DATA/ubuntu/slimserver/Plugins Now I guess I just have to move / copy the LiveDepartures directory from somewhere I can put (unzip) it using XP, to that folder. And then reboot. Dave. -- Furry Furry's Profile: http://forums.slimdevices.com/member.php?userid=11328 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 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. -- Furry Furry's Profile: http://forums.slimdevices.com/member.php?userid=11328 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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. 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 I've no idea if this is still current... Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 I've no idea if this is still current... Ceejay 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. -- Furry Furry's Profile: http://forums.slimdevices.com/member.php?userid=11328 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 offer for your next release. In plugin.pm, near line 67, change to: Code: my %mainModeFunctions = ( 'up' = sub { my $client = shift; my $button = shift; if ($button !~ /repeat/) { Plugins::LiveDepartures::UI::enterStateSwitchRouteOption($client, 0); } }, 'down' = sub { my $client = shift; my $button = shift; if ($button !~ /repeat/) { Plugins::LiveDepartures::UI::enterStateSwitchRouteOption($client, 1); } }, I borrowed this from James' lastFM plugin and it seems to debounce very effectively. HTH Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 file. Don't have time to look further just now, but hope this helps. Ceeja -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 columns are clearly labelled otherwise. It might not be pretty English, but can I suggest changing the label to something like Arrivals from ... at ... to remove the ambiguity? However this was a bit academic for me because I couldn't find out how to switch between the different journey options: your web page suggests we use the Now Playing key, but all this did for me was to return to the Now Playing display. Which was just as well, because this appeared to be the only key that got me out of the Screensaver mode. What might I be missing? Testing with SS 6.5.1 on Win XP, using Softsqueeze in Transporter and SB mode, with Live Departures selected as screensaver for both Stopped and Playing. Many thanks Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the SB is powered on. I'll investigate :-) M -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 went to the National Rail website and found that it wasn't displaying any trains for my chosen journey either! Dave. -- Furry Furry's Profile: http://forums.slimdevices.com/member.php?userid=11328 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=11328 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 on the Squeezebox, so it's now not necessary to set it as a screensaver. Feedback still welcome, of course! Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 happening). I like the up and down arrows, please pass on my thanks to your Other Half. Just one very minor quibble - it seems to be very quick to repeat on hold (this both on softsqueeze and the real SB/remote), any chance you could make it slightly less sensitive? And having it directly available from the menu is also handy. This is a fine piece of work, thanks again! Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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! Matthew Excellent news, I will give this a try over the weekend. Fortunately I don't have to get the train every day but, when I do, I always use this plugin! Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 service on my line, the extra sleep I'd get would be well worth it...:) Thanks for the kind words... I wouldn't take any payment, but could suggest a charity or two that donations could be sent to :-) The next version is still work-in-progress. Ceejay, I'd like to have a version for testing as soon as possible, but there's a house-move to get through first :-/ Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 restricts the possible trains (note that not all services stop at London Bridge!). On the website's timetable you can enter London to get around this but there is no three letter code for this from what I can see. Please keep the enhamcements coming! Hey, thanks for that. By chance, I'm working on it now (for the first time in weeks) Unfortunately, my day job has been getting in the way for a while... :-/ The plugin uses the Live Departure Boards website (_'link' (http://www.nationalrail.co.uk/ldb/)_). For your generic trains to London query, I'd like to see the URL of the results page - all I get is an error about London being an ambiguous destination. Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 destination stations for your favourite routes - on first run, client displays details for the first route - switch from one route to the next by pressing 'favourite' (I hope that'll be easy to remember) - each client to remember the last route displayed - if only the start station is entered, it'll display all departures. If only the destination station, it'll show all arrivals -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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. http://wiki.slimdevices.com/index.cgi?SlimServer7Plugins Your proposed set of enhancements looks great. Just one thing - if you are coding to be able to show arrivals instead of departures (last bullet), would it be possible to define a preferred pair where the arrival time is shown (eg show the arrival times at Slough for all trains from Paddington), this would be especially useful for the prospective taxi driver waiting at home... Thanks again Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 and practices in SlimServer plugin coding. Perhaps in that case I chose wrong! ceejay;192189 Wrote: Also, without wanting to put you off, have you considered the impact of SS 7.0, see e.g. http://wiki.slimdevices.com/index.cgi?SlimServer7Plugins Yes, I've thought about it... enough to install SS 7.0 alongside 6.5.2 on my dev box. But haven't gone any further, as I understand the 7.0 API is still fluid. If we had a definite release schedule (or even a vague one!) for 7.0, it'd make it easier for plugin developers to plan their migration. Right now, it's rather a moving target - and there's little incentive to migrate just yet while use of 7.0 isn't widespread. ceejay;192189 Wrote: Your proposed set of enhancements looks great. Just one thing - if you are coding to be able to show arrivals instead of departures (last bullet), would it be possible to define a preferred pair where the arrival time is shown (eg show the arrival times at Slough for all trains from Paddington), this would be especially useful for the prospective taxi driver waiting at home... Ah, that'd be CeeJayCabs I guess?! ;-) I think we need four views: - all departures from start - departures from start to destination - all arrivals at destination - arrivals at destination from start -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 annoucement boards?! :) -- cparker cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 SP2). You're right about the whole issue of how plugins like this interact, and the use of SaverSwitcher or something else to select. Of course if you're thinking ahead I guess you should also be looking at the not-very-far-away-now impact of 7.0 which I believe changes quite a few things for plugins. Maybe worth bringing up in the Developers list? Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 destination, for example - most useful when the route has a mix of fast and slow trains. Or maybe operator for routes where there is a choice (analogous to pressing Right on a song to get all the detailed info...) (3) on the list of trains, perhaps have item 0 on the list as Options: press right to select which route, show arrivals vs. departures, maybe level of detail I'm afraid my coding contribution is going to be very limited but happy to test anyone elses hard work!! HTH Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 option for Live Departures, although I can see all the other custom plugins I've installed. Just tried a reboot but still no luck. Any ideas?? Great idea for a plugin btw! cheers, -- wullsy wullsy's Profile: http://forums.slimdevices.com/member.php?userid=5251 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 available, look down the thread a bit. Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the first post, 1.1 is available, look down the thread a bit. Ceejay Ah ha! thanks! -- wullsy wullsy's Profile: http://forums.slimdevices.com/member.php?userid=5251 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 clearer: that it's on the TODO list, not the DONE list ;-) Will let you know... Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 gave me my first taste of plugin development. The attached file is a dropin replacement of Matthews LiveDepartures Plugin.pm. Perhaps somebody can help me package this up. Jens +---+ |Filename: Plugin.pm| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=2619| +---+ -- jpkolind jpkolind's Profile: http://forums.slimdevices.com/member.php?userid=7236 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 my hacked-together webpage...? Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 to be able to select which is active from the remote. This would handily cover A to B as well as B to A (the morning/evening thing, although a neat idea, doesn't work for me) and A to C, D to E etc etc. A to B and A to C would certainly get used in my house... I suppose one way might be to assign each pair a number from 0 to 9 and switch using the keypad. Many thanks for this already! Ceejay -- ceejay ceejay's Profile: http://forums.slimdevices.com/member.php?userid=148 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
@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 improvements you've made to the HTML parsing. Regular expressions are good at what they do, but I can never debug them if I've slept since writing them! ;) @Ceejay: Thanks for the kind words :) With Jens' version, starting SlimServer in debug mode gave me the error Can't locate WWW/Mechanize.pm. (To fix this, I installed the Ubuntu package libwww-mechanize-perl) I'm torn; Mechanise, at a glance, will make the thing much easier to maintain, but do we force folks to install extra libraries? -I'd be interested to hear people's views on this.- Re: your enhancement request for extending the number of possible journeys: yes, I've wondered about that. I've also wondered about having journeys set per squeezebox too. But how to switch between them? To use the digits would probably conflict with the SaverSwitcher plugin. Could use up/down, I suppose, to switch... -(Aside: I use SaverSwitcher in its manual mode: pressing 1 displays DateTime, 2 gives LiveDepartures, 3 gives _'GoalRush' (http://www.insignificant.org/wiki/index.php/GoalRush)_, 4 gives TimeSpeller. I don't want or need LiveDepartures to be running full time)- This might lead to a wider discussion about the direction of ScreenSavers - whether we need to extend the Saver API somewhat, or come up with something new for this type of application: it's clear that people are now using their Slim devices as 'information gathering' devices. I'm not totally convinced that the ScreenSaver route is the best suited device for stuff like LiveDepartures... Matthew -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 invalid entry. New value for destStation rejected: Invalid value specified: Am I doing something wrong?? Cheers -- cparker cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 say after lunchtime. Also if its possible how about a press up and down buttons to see the next train thats coming? Anyway, a great plugin, very nice, simple and uncluttered :) Thanks for developing it! -- cparker cparker's Profile: http://forums.slimdevices.com/member.php?userid=2083 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the return journey be the primary display say after lunchtime. That's a great plan - I like it :) Also if its possible how about a press up and down buttons to see the next train thats coming? Yep, it's on the list. The Law Of Sod said that I needed that feature this morning, after making the plugin public just 8 hours previously. :) 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 -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 the return journey be the primary display say after lunchtime. That's a great plan - I like it :) Also if its possible how about a press up and down buttons to see the next train thats coming? Yep, it's on the list. The Law Of Sod said that I needed that feature this morning, after making the plugin public just 8 hours previously. :) 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 -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 config for this yet, just a proof of concept, 'cos my coding after a beer or two ain't that great! ;-) M -- mflint 'Clicky-woo linky' (http://www.insignificant.org/wiki/index.php/Slim_Plugins) to web page of my plugins mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Announce: LiveDepartures screensaver plugin
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 / Plugins web page to configure the start and destination stations. These need to be the 3-letter station codes. (eg. YRK=York, LDS=Leeds, LIV=Liverpool, SHF=Sheffield) Comments / bugreports welcome. Matthew +---+ |Filename: LiveDepartures-1.0.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=2592| +---+ -- mflint mflint's Profile: http://forums.slimdevices.com/member.php?userid=2102 View this thread: http://forums.slimdevices.com/showthread.php?t=33913 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins