Re: [SlimDevices: Plugins] Extension Downloader: which plugins updated... and more
OK. The message telling me to that there were updated plugins available was on the SBS web gui home page. I *do* have Update all plugins automatcially selected. I need to get something clear. I have no evidence either way that any plugins needed updating. If I did then they probably updated fine and everything worked as exactly as I'd have expected it to... with one exception... there was no indication on the ED page informing me which plugins needed updating (or maybe more correctly, were being updated). I was under thye ipression (form a post form Phil above??) that the plugins needing updates would be highlighted in bold. --- Before posting this I went to the ED page to make sure that I had selected Update all plugins automatically. Despite no notifications anywhere (that I can see) the pop-up window appeared informing me that I needed to restart SBS for the updates to take affect (I have not made any updates since last posting and have restarte at least twice since then. I have done 2 full rescans though). I elected to restart later. Is it worth me turning on the debugging again to trap the restart pop-up for my next visit to the ED page, or is it to late now for useful info? I think if I am the only one receiving oddities like this then it might be because of the Additional third party repositories I have added. I'm a bit dubious the first one of them. They are: http://www.mikecappella.com/wallpaper/wallpapers.xml http://erlandplugins.googlecode.com/svn/repository/trunk/testing.xml. I have not installed any of Erlands beta plugins. MC -- ModelCitizen Think the third party Squeeze plugins and applets are important? Then 'vote for bug 14194' (http://bugs.slimdevices.com/show_bug.cgi?id=14194) so more can be made. Last.fm/user/ModelCitizen ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446 View this thread: http://forums.slimdevices.com/showthread.php?t=69573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Extension Downloader: which plugins updated... and more
MC - so I think this is working as expected with automatic updates enabled. What is missing is log of what has be updated. We need to add this... If you look at: http://svn.slimdevices.com/slim/vendor/plugins/ You will see the repo.xml and other.xml files have been updated frequently for the latest versions of each of the plugins. If you have any of these installed then your server will check these xml feeds once every 24 hours and download any updates. The only visual clue of this is the needs upgrade message. Would this explain what you are seeing? I think it would be useful to put something in the plugin status page info area to say what was installed at the last restart. At this point we know it has been succefully installed. -- Triode Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=69573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;473738 Wrote: Label: Play random French Baroque albums Command: Code: cli://04:20:00:12:23:45 playlist clear04:20:00:12:23:45 randomplaygenreselectall 004:20:00:12:23:45 randomplaychoosegenre French%20Baroque 104:20:00:12:23:45 randomplay albums Let me know what you think of this. C'est énorme!! The discussion is a little bit over my head, but I think I agree with peterw on 2 points: - If the command can default to execute in the context of the current player, labels can be more generic and will work automagically (and player name is nicer than a MAC, too) - Syntax commonality is really desirable. I feel the cli bridge is something great. Let's start sharing macros ! (So now I can add audio cues to what srvPowerControl is going to do next. Gordon, do you really have those voice samples of Sarah Palin ??) -- epoch1970 epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Extension Downloader: which plugins updated... and more
I still think we might be missing each othera bit. There are two (possibly entirely distinct) problems. Problem 1: No indication which individual plugins are being updated (or need updating). This after receiving a notification on the main SBS page that some plugins need updating and a restart required. I think this is the one we agree I am seeing and needs fixing so a user can know which plugins are beiung updated. Problem 2: No indication appears on the SBS home page (or anywhere else) that plugins need updating but when ED/Plugins page is navigated to the Choose to restart now or later pop-up ..err.. pops up. MC -- ModelCitizen Think the third party Squeeze plugins and applets are important? Then 'vote for bug 14194' (http://bugs.slimdevices.com/show_bug.cgi?id=14194) so more can be made. Last.fm/user/ModelCitizen ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446 View this thread: http://forums.slimdevices.com/showthread.php?t=69573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Extension Downloader: which plugins updated... and more
It has just struck me that Problem 2 might be reslted to this problem (and in fcat be a bug in the status reports that appear at the bottom of the SBS home page, rather than ED. At least twice in ther last three days after doing full rescans the status notice at the bottom of the web gui that says something like SBS is still scanning your music library has persisted after the scan has finsished and after* I've shut down the web gui and reopened it. MC -- ModelCitizen Think the third party Squeeze plugins and applets are important? Then 'vote for bug 14194' (http://bugs.slimdevices.com/show_bug.cgi?id=14194) so more can be made. Last.fm/user/ModelCitizen ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446 View this thread: http://forums.slimdevices.com/showthread.php?t=69573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Extension Downloader: which plugins updated... and more
ModelCitizen;473842 Wrote: Problem 1: No indication which individual plugins are being updated (or need updating). This after receiving a notification on the main SBS page that some plugins need updating and a restart required. I think this is the one we agree I am seeing and needs fixing so a user can know which plugins are beiung updated. For the moment on this one, could you try setting server.plugin logging to info and selecing persist logging. This should mean that any updates are logged to the log file. This will confirm you are only seeing restart messages when it has done something. For problem 2 - this is possibly because the web front page is not fully refreshed? At present plugin state reuses the server upgrade available message. This means it is not refreshed while you are looking at the page and needs a full refresh of the front page to see it. It will also be hidden if there are any server updates indicated. -- Triode Triode's Profile: http://forums.slimdevices.com/member.php?userid=17 View this thread: http://forums.slimdevices.com/showthread.php?t=69573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Extension Downloader: which plugins updated... and more
Triode;473860 Wrote: For the moment on this one, could you try setting server.plugin logging to info and selecing persist logging. This should mean that any updates are logged to the log file. This will confirm you are only seeing restart messages when it has done something. Will do Triode;473860 Wrote: For problem 2 - this is possibly because the web front page is not fully refreshed? At present plugin state reuses the server upgrade available message. This means it is not refreshed while you are looking at the page and needs a full refresh of the front page to see it. It will also be hidden if there are any server updates indicated. No, at least once this was from opening up Firefox for the first time after rebooting my PC! MC -- ModelCitizen Think the third party Squeeze plugins and applets are important? Then 'vote for bug 14194' (http://bugs.slimdevices.com/show_bug.cgi?id=14194) so more can be made. Last.fm/user/ModelCitizen ModelCitizen's Profile: http://forums.slimdevices.com/member.php?userid=446 View this thread: http://forums.slimdevices.com/showthread.php?t=69573 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
First, this is by far the most used app on my iPhone. Well done. I don't see the thumbs up/down anymore after upgrading to the latest version of iPeng. When using Pandora and looking at the now playing screen with the album art, the overlay menu just shows the track time and progress bar. Am I missing something obvious? Thanks again. -- greigmg greigmg's Profile: http://forums.slimdevices.com/member.php?userid=6502 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
My basic rationale: - Specifying where to run (ALL,OTHERS, player name, MAC address) requires appending a : to the first word of the command (e.g. *ALL: power 0*) so KidsPlay can easily identify location specifiers; I've never seen a CLI command with a : in its first word. - Commands are joined with ; because it's what I'm used to. But from a programmer's perspective, it better represents how KidsPlay works. Right now it just fires off the commands in sequence, without waiting for earlier commands to finish, or verifying that earlier commands worked. When I see *do this do that*, looks like a boolean operator (harkens back to Unix shells), almost like you're saying do that shouldn't occur if do this failed. Maybe I should add a new command or syntax extension to tell KidsPlay to wait for one command to finish before executing the next one in the macro. - Words including whitespace (*display My message here*) use regular quotation marks and no URI-escaping so it's easier to use. Of course you're most welcome to grab any code from KidsPlay if you'd like. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] CLI Apps
I am trying to replicate the 'My Apps' menu on the controller. The only result I want to see when sending apps or similar via the cli is the currently installed apps not the entire list of apps that are or are not installed. -- Speed Speed's Profile: http://forums.slimdevices.com/member.php?userid=7311 View this thread: http://forums.slimdevices.com/showthread.php?t=69909 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland;473386 Wrote: There is now a 2.7.1 version of Custom Scan available that hopefully should solve the scanning problem in larger libraries. *aeo12* and *dip*, it would be great if you verified that this solves your problem. I think the new solution might be a little bit slower than the old one in 7.3, so let me know if it works acceptable or not. Check the server.log after the scanning to make sure you don't get any errors. Please note that it is possible the first scan might be a bit slower and possibly also show some errors, because at the moment you have duplicates in your database. This should only happen during the first scanning. It would also be great if you after the initial scan could run this new Custom Scan version an additional time with info level logging on plugin.customscan and look in the server.log file for entries that looks like this: Code: Plugins::CustomScan::Scanner::initTrackScan (1351) Deleted track data after 3.449936 seconds You should have one for Custom Tag module and then another one a bit later for the Mixed Tag scanning module. I'm interested to see how many seconds/minutes these rows indicates in your libraries which are a lot larger than mine. The new Custom Scan version worked successfully after a scan for new items. I then ran it manually and was successful. Both scans were slower than before, although the second scan was a little faster. With a large library, I always need to plan ahead as to when I will run a scan, so the slower speed really will not be a problem (but of course it was a pain yesterday when I was impatiently waiting to see how the scans turned out!). Here's the log data from the second scan that you requested: [09-10-17 17:56:45.5322] Plugins::CustomScan::Scanner::initTrackScan (1353) Deleted track data after 1.07052 seconds [09-10-17 17:56:45.5583] Plugins::CustomScan::Scanner::initTrackScan (1363) Got 97645 tracks -- aeo12 aeo12's Profile: http://forums.slimdevices.com/member.php?userid=10883 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
For me the new version also works perfectly. Thanks a lot Erland! I don't know if the scan is slower than before since it takes some time and I don't know exactly how long it took before. But that is not so important since usually I don't scan so often. Browsing is perfectly fast on the Squeezebox Classic as it was before. I did two scans as requested and enclose my server.log file. Thanks again Erland for your help and your great plugins! +---+ |Filename: server.log | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=8483| +---+ -- dip dip's Profile: http://forums.slimdevices.com/member.php?userid=902 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Peter Epoch: pardon me if I don't quote your points exactly. I'll try to wade through my thoughts here while the caffeine slowly makes it's way across the blood/brain barrier. It wasn't my intention to duplicate Peter's KidsPlay functionality. I should have known better and kept myself informed on his work in this area. What I was after, really, was to follow up on Danco's desire for custom menu entries and Epoch1970's idea of many months ago for a plugin that could process CLI commands embedded in a playlist (which is a brilliant idea.) Allowing cli requests to be valid 'commands' store-able in SrvrPowerCtrl's prefs also made sense to me in light of the switch in 7.4.x to the 'Restart Squeezebox Server' service restart function now being initiated via a cli request rather than an external script. Anyway, this was supposed to be my first baby steps in that direction. I was hoping that my cli processing code could form the basis for a future plugin that would explore Epoch's cli-requests-in-playlists idea. It sounds like Peter's code in KidsPlay might be better suited to this. My 'cli://' parsing code is a very dumbed-down version of Slim::Plugin::CLI::Plugin::cli_process(). To make my facility 'macro compatible' with KidsPlay, I'd need to duplicate most all of the logic in cli_process()...that or blatantly plagiarize Peter's code (and not for the first time!) Since Peter is so graciously offering this, perhaps this is the tack I should take. In principle, both the 'macro compatibility' and 'easy player names' features appeal to me. My inner lazy programmer is being resistant only because it's worried about the number of changes needed to my underlying code in order to support this. I'll hack away today at trying to keep track of the originating client with command requests and see just how daunting a task this is going to be. Re '' vs ';' as separator: I picked '' simply because it's the conventional in-line command separator in the windows script world...ignoring the fact that many people will see this as a Boolean operator. I was sure that SBS's cli processor would never want to touch anything so ugly. If you're certain that ';' isn't used by SBS's cli anywhere, I'll be glad to make the change. My code certainly isn't testing the success or failure of any particular command before moving on to the next. Re ':' in the first word of a CLI command: of course, MAC addresses include ':'s. I'm using ($client, $arrayRef) = Slim::Control::Stdio::string_to_array($cmd); to create the client and array ref of the cli command. This makes the processing very easy...if no mac address prefaces the cli request, $client remains undef. Moving towards player id aliases means forgoing this simplicity. Then again, looking at string_to_array()'s code shows it to be simplicity itself, itself. Anyway, thank you both very much for the feedback. You've given me much to think about. PS: Sarah Palin voice cues: a number of years ago, I got Frances McDormand to sign my copy of 'Fargo' when she was filming scenes from 'North Country' in New Mexico (ironic, eh?). If what you're after are voice cues in a boreal patois, wouldn't you rather have Marge Gunderson's voice than Sarah Palin's? Palin's voice is known to cause spontaneous cerebral vascular accidents in listeners. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music IP Mixer help
Ok, did a full rescan with 7.4.1 and still have no luck. I don't believe this has anything to do with the 7.4 release. This occurred during the 7.3 or earlier release and coincided exactly with using shortcuts. -- Ultraviolet Ultraviolet's Profile: http://forums.slimdevices.com/member.php?userid=16516 View this thread: http://forums.slimdevices.com/showthread.php?t=67070 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;473995 Wrote: What I was after, really, was to follow up on Danco's desire for custom menu entries... 'As I said.' (http://forums.slimdevices.com/showpost.php?p=469412postcount=956) Re: Marge Gunderson. Excellent suggestion. I'll watch the movie again. -- epoch1970 epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
epoch1970;473838 Wrote: EDIT: So I gave it a shot and installed (in cache/InstalledPlugins/Plugins). I created a test action saying cli://rescan. I had the item appear in the web UI, great. But I can't hook this action as, for example the EOD Action to take after idle time: There is no facility to pick any of the custom commands in any of the action to take drop-down lists. But you could always set the EOD custom command string to 'cli://rescan'. Also: remember that this and all subsequent versions of SrvrPowerCtrl treat scans scheduled in the Rescan plugin as 'alarms'...i.e. SrvrPowerCtrl will automatically wake the system for scheduled scan. So scheduling a scan via EOD is not necessary. epoch1970;473838 Wrote: Label chaining, would that be advisable ? Something like: Label Say bye now cli://playlist clear;cli://playlist play time%20to%20go.wav Label EOD custom cli://rescan;cli://srvpowercontrol::customaction::say%20bye%20now;cli://srvpowercontrol:: pmaction::suspend Not sure. Brain too muddled to think that one through at the moment. I'll try to keep this in mind. Eventually, the light should dawn. epoch1970;473838 Wrote: On the web UI, may I suggest: - Restart SqueezeCenter - Restart Server (or SqueezeBox Server) - Shutdown Server - Shutdown Computer Noted. Thanks. I've given up with trying to maintain parallel 'SqueezeCenter' 'Squeezebox Server' strings in strings.txt. I'll just make everything SBS. I'm leaning towards 'Shutdown Server Computer'. epoch1970;473838 Wrote: Also, I am not actually sure the commands are run from the web UI. I'm trying cli://wipecache and it doesn't seem to budge. The server has no players attached. Hum. Trying from a controller, the commands seem to work, but not all the time. It is not a matter of custom command, I have launched a rescan. But using Restart SqueezeCenter doesn't seem to work (pids do not change when I run ps). On the UI, there are times I have the message waiting 15 seconds... and other times, I go direct to executing -failing to, it seems- the command, or to action canceled. To clarify (a bit), I see this from the web UI and the controller. I'm sure there's debugging to be done here. Set SrvrPowerCtrl logging to debug and see if any light gets shed in the server.log. I'll keep an eye open for this too. epoch1970;473838 Wrote: I run SBS 7.4.0. Shall I upgrade to a beta of 7.4.1 ?Can't hurt. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
Feat.Request: - Shuffle and Repeat buttons below the time slider If I tap on the album in Now Playing I get the timebar with Repeat and Shuffle buttons on the sides. I rather would see the timebar using the whole width of the screen and the shuffle buttons beneath the time bar. It is possible then to position more accurate, and the risk of accidently tapping the shuffle or repeat is less. B.t.w. Wouldn't it be more logical to display the large time indicator above the timeslider? As it works now my finger covers the digits while using the timeseek control - Information about an album in the list. Is this already possible? When browsing the list I'd like to see i.e. what the bitrate is from an album or song. Also I encountered several times that the Squeezecenter (7.4) Service stopped when using the time slider. The only way to get it up then is by starting the service manually with the Windows Service Manager (or by computer restart). -- Bert0123 Bert0123's Profile: http://forums.slimdevices.com/member.php?userid=18574 View this thread: http://forums.slimdevices.com/showthread.php?t=51929 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Headphone Switcher for Squeezebox Duet
If the option to improve playing from the controller is no longer needed, shouldn't you remove it? -- Kuben72 /Kuben72 1 Duet, 1 SBR, 1 SB3 and 1 Boom Kuben72's Profile: http://forums.slimdevices.com/member.php?userid=15308 View this thread: http://forums.slimdevices.com/showthread.php?t=67139 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Headphone Switcher for Squeezebox Duet
Kuben72;474058 Wrote: If the option to improve playing from the controller is no longer needed, shouldn't you remove it? 4.7.1 is not official yet. -- bluegaspode 1x SB-Controller+Receiver, 1xSB-Boom. 1x Radio Server running on Linkstation NAS (LS-CHL) (7.3.3) and Windows Vista (7.4.0 for the radio). Looking for hacks to make the Radio run against 7.3.3 server ... bluegaspode's Profile: http://forums.slimdevices.com/member.php?userid=31651 View this thread: http://forums.slimdevices.com/showthread.php?t=67139 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Gordon, I'm working on improvements to KidsPlay to allow escaping and ;. There should be a key routine like getCommands($client,$macroString) that returns an array of command arrays. Each command array would have $client or undef in the first (last?) spot and the rest would be CLI args parsed out as appropriate. Good point about recognizing MAC addresses: I'll update KidsPlay to not require the terminal : if the first word is a MAC address, so 00:04:20:11:22:33 and 00:04:20:11:22:33: as the first word would mean the same thing. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
peterw;474070 Wrote: Gordon, I'm working on improvements to KidsPlay to allow escaping and ;. There should be a key routine like getCommands($client,$macroString) that returns an array of command arrays. Each command array would have $client or undef in the first (last?) spot and the rest would be CLI args parsed out as appropriate. Good point about recognizing MAC addresses: I'll update KidsPlay to not require the terminal : if the first word is a MAC address, so 00:04:20:11:22:33 and 00:04:20:11:22:33: as the first word would mean the same thing. An array of arrays, or, how about simple loop processing? This is how I'm presently doing it: Code: my @commands = split('', $command ); foreach my $cmd (@commands) { # parse the command my ($client, $arrayRef) = Slim::Control::Stdio::string_to_array($cmd); if (!defined $arrayRef) { next; } $res = Slim::Control::Request::executeRequest($client, $arrayRef); } I'm not regex savvy enough to know offhand what the proper arg for split would be that would mean: ';' is a token, but not '\;'. But I'm sure there is one. A new version of string_to_array could be written easily enough that could do all your command parsing, carving out clients from aliases, mac addresses, keywords, etc. In the case of multiple clients, $client could become an array ref. I can't confidently say that I know the CLI well enough that I can foresee all the syntax needs here. And my approach to writing perl code is pretty heavy handed. There's probably a more elegant way of going about this. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;474087 Wrote: An array of arrays, or, how about simple loop processing? Array of arrays, so I can use the scheduler API and minimize the impact on server responsiveness. Keywords like ALL and OTHERS will result in mutiple command arrays, each with one $client reference. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SlimNAS 1.9.99 for SqueezeboxServer 7.4.1+ / FreeNAS 0.7
Using Slimnas 1.9.99 and squeezeboxserver 7.4.1-28877. Scanning isn't working as before. Getting error as follows:- [09-10-18 22:21:34.2401] Slim::Utils::Scanner::scanDirectory (333) Scanning: /mnt/Media/Music/Dr. Feelgood/Down By The Jetty (Disc 2, Stereo)/2-01 She Does It Right.m4a [09-10-18 22:21:34.7405] Slim::Formats::readTags (180) Error: While trying to -getTag(/mnt/Media/Music/Dr. Feelgood/Down By The Jetty (Disc 2, Stereo)/2-01 She Does It Right.m4a) : buffer_append_space: len 13846699 too large (max 10485760) at /mnt/Media/Slimnas/squeezebox/Slim/Formats/Movie.pm line 49. [09-10-18 22:21:34.7408] Slim::Formats::readTags (180) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/mnt/Media/Slimnas/squeezebox/Slim/Formats.pm line 180) frame 1: Slim::Formats::readTags (/mnt/Media/Slimnas/squeezebox/Slim/Schema.pm line 917) frame 2: Slim::Schema::newTrack (/mnt/Media/Slimnas/squeezebox/Slim/Utils/Scanner.pm line 347) frame 3: Slim::Utils::Scanner::scanDirectory (/mnt/Media/Slimnas/squeezebox/Slim/Music/MusicFolderScan.pm line 79) frame 4: Slim::Music::MusicFolderScan::startScan (/mnt/Media/Slimnas/squeezebox/Slim/Music/Import.pm line 569) frame 5: Slim::Music::Import::runImporter (/mnt/Media/Slimnas/squeezebox/Slim/Music/Import.pm line 374) frame 6: Slim::Music::Import::runScan (/mnt/Media/Slimnas/squeezebox/scanner.pl line 294) frame 7: (eval) (/mnt/Media/Slimnas/squeezebox/scanner.pl line 288) frame 8: main::main (/mnt/Media/Slimnas/squeezebox/scanner.pl line 439) This problem occurs with about 10 albums. When these albums are removed from the scan, the scan completes, but then have problems with artwork scan. One problem at a time though. -- tobyjug tobyjug's Profile: http://forums.slimdevices.com/member.php?userid=201 View this thread: http://forums.slimdevices.com/showthread.php?t=69460 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Music IP Mixer help
Ultraviolet;473538 Wrote: Squeezebox Server is pointed to a single folder C\Squeezecenter Library that contains 30+ shortcuts to music folders on multiple drives--all are local drives/arrays. MiP is pointed to each folder (30+) directly. The folders are located on volumes E:\ and G:\. All songs are analyzed in MiP. Likewise, Squeezebox Server also has all the tracks in the MySQL database. I am completely unable to get MiP info into Squeezebox Server however. Here is my setup: (Of particular note, is that this exact same setup has worked perfectly for over a year until I had to point Squeezebox Server to a folder of shortcuts after I exceeded the 2tb volume limitations on a 32-bit Win XP system.) Ultraviolet, this appears exactly the same as my setup that works, which is as follows: In MIP the Watchfolders are F:\Music and G:\Classical In SqueezeCenter (7.3.4 - 28402) the Music Folder is F:\SqueezeCentre Music F:\SqueezeCentre Music contains two shortcuts, created by right click New Shortcut then following the Create Shortcut gui. They are Classical music from G with a target of G:\Classical and Music from F with a target of F:\Music . In F:\Music are 27 directories of music (why so many? Because each directory refers to the physical location of the CDs and also keeps MP3 and FLAC separate) In G:\Classical are 3 directories. All I can suggest is try deleting and re-creating your shortcuts and re-scan. -- Wirrunna A camel is a racehorse designed by a committee. Wirrunna's Profile: http://forums.slimdevices.com/member.php?userid=3225 View this thread: http://forums.slimdevices.com/showthread.php?t=67070 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
peterw;474099 Wrote: Array of arrays, so I can use the scheduler API and minimize the impact on server responsiveness. Keywords like ALL and OTHERS will result in mutiple command arrays, each with one $client reference.Ah. That's a much more sophisticated (and better) approach than what I've taken. I'll probably just lift your code verbatim, if you don't mind. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] iPeng support thread
ModelCitizen;473385 Wrote: It's taken me a long, long time but I've finally got the iPeng modes. Once understood they work very well indded but pure nirvahna is negated by one seemingly insurmountable problem: It is far too easy to destroy/replace a carefully built up playlist by touching the album art by mistake when meaning to touch the title of an album. Touching the album art replaces the current playlist with the whole album whereas touching the album name takes you to the track listing. Directly playing an album by touching the cover is a very often requested feature. There was a time during beta when it didn't work, you should have seen the comments :-) If you are right handed and hold the iDevice in the right hand whilst using the finger of your left hand to make selections it is extremely easy to touch the album art by mistake. Now this is an interesting observation. I am right-handed myself but I always hold my iPhone with the LEFT hand, even when using it single-handed. Will try to consider this in the future. I tried out iPeng on a group of friends last night. All were right handed and at some point all suffered from this problem (on the bright side they, they all got the modes once I'd explained it to them). Good :-) So, at least for users that choose to play single tracks only my vote is for a touch on the album art to do the same as touching the album title. No way (as said above). Maybe as an option Also from last night, the ability to drag and drop songs within a playlist just ceased to work at some point. Is this a known bug? I can't find any reference to it anywhere. No, didn't hear about that one. Can you give more details? What did you see then? ModelCitizen;473387 Wrote: I'm not not sure I understand what you mean. InfoBrowser (and its plugins already works (and well) on the Touch/Radio. You can find it under Extras. How does it need adapting? Ah... OK, then it uses LUA. This will make it VERY hard to adapt it to iPeng. havoc1;473715 Wrote: 1. In the album view, we get the alphabet on the right side of the screen to let us quickly jump to the relevant letter. But this isn't there on the Artists view. Can you give us quick jump letters on that screen too? Do you have less than 100 artists? If not it _should_ be there. 2. Is there any chance of an incremental search on Napster, so that as you start to type the name of a band the matches come back immediately, rather than having to type the whole thing? I noticed this on the Sonos iphone app demo and thought it would be really useful. Not really. I can't directly search Napster, the Search is a feature of the Napster plugin and that would have to provide this. MeSue;473741 Wrote: Oh, I can answer this... Playlist Manager only works with the classic interface (IR Remote and Boom front panel). It doesn't work with SqueezePlay powered devices, and iPeng is using SqueezePlay menus in some places. The developer of Playlist Manager was trying to get it working for SqueezePlay (which is why you see it in the menus) but was never able to make it work :(. Thanks! YOu just saved me some time testing! greigmg;473935 Wrote: I don't see the thumbs up/down anymore after upgrading to the latest version of iPeng. When using Pandora and looking at the now playing screen with the album art, the overlay menu just shows the track time and progress bar. Am I missing something obvious? Thanks again. Hm. I've heard this before. Will have to do a bit of investigating. I can't test Pandora myself (not available in Europe) so this is a bit hard... Bert0123;474045 Wrote: - Shuffle and Repeat buttons below the time slider If I tap on the album in Now Playing I get the timebar with Repeat and Shuffle buttons on the sides. I rather would see the timebar using the whole width of the screen and the shuffle buttons beneath the time bar. It is possible then to position more accurate, and the risk of accidently tapping the shuffle or repeat is less. B.t.w. Wouldn't it be more logical to display the large time indicator above the timeslider? As it works now my finger covers the digits while using the timeseek control I believe there's a ticket for this... - Information about an album in the list. Is this already possible? When browsing the list I'd like to see i.e. what the bitrate is from an album or song. https://trac.penguinlovesmusic.de/trac/ipengnat/ticket/121 Also I encountered several times that the Squeezecenter (7.4) Service stopped when using the time slider. The only way to get it up then is by starting the service manually with the Windows Service Manager (or by computer restart). Hm. That sounds like a server issue. In no way should it do that, you should probably file a bug on bugs.slimdevices.com -- pippin --- see iPeng, the Squeezebox iPhone remote, at penguinlovesmusic.com
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;474142 Wrote: Ah. That's a much more sophisticated (and better) approach than what I've taken. I'll probably just lift your code verbatim, if you don't mind. Not at all. I'm a little surprised how much code I ended up writing to handle the escaped characters; life certainly is easier if you can just assume URI encoding of whitespaces! -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;473995 Wrote: Epoch1970's idea of many months ago for a plugin that could process CLI commands embedded in a playlist (which is a brilliant idea.) That sounds cool but dangerous. I can imagine writing a SC/SBS cli protocol handler so you could embed commands in a playlist; I expect that would be pretty easy. But what would happen if you loaded a PLS playlist from my web site that included cli:// URLs? Could I mess up your server? Shut it down if SvrPowerControl is loaded? Use prefset commands to turn off your alarms? -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
peterw;474163 Wrote: Could I mess up your server? Shut it down if SvrPowerControl is loaded? Use prefset commands to turn off your alarms? Yes. Yes. Excellent!! --although wake-up at 4AM to Motorhead at 100% might be even better :) Well, that would be naughty of you, adding all those bad cli commands. But that would be my fault, downloading stuff and feeding it blindly to my machine, wouldn't it ? One idea is to have the command visible, with an icon same as an album, so that you can on the fly add cli controls, or check if a command is really suitable. I imagine I would have volume up commands before some songs in some playlists. But that wouldn't be suitable for every player or any time of the day, so same as removing a song, I could remove the cli action. Eventually I suppose some anti-CSRF contraption can be invented, like requesting a unique hash to be added to the cli url (that's heavy, IMHO), or passing through a filter that accepts/rejects cli actions. Perhaps the cli:// must refer only to a package, blessed, signed and all, in the extensions downloader way ? (with a way to self-sign my volume-ups, please.) One thing for sure: if there were a security level, I would disable it. I am the king on my Lan, a nobody outside of it, and I know it. And I will never, ever download a playlist again from you, Peter W. ! (and I'm glad you two show interest in this. Thanks.) -- epoch1970 epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: FindArt plugin beta
No! FindArt plugin, where are you!? Just today i tried to use the plugin and it says error check your aws credentials or something like that. Did FindArt violate some AWS policies? -- Line Line's Profile: http://forums.slimdevices.com/member.php?userid=23800 View this thread: http://forums.slimdevices.com/showthread.php?t=49245 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
peterw;474163 Wrote: That sounds cool but dangerous. I can imagine writing a SC/SBS cli protocol handler so you could embed commands in a playlist; I expect that would be pretty easy. But what would happen if you loaded a PLS playlist from my web site that included cli:// URLs? Could I mess up your server? Shut it down if SvrPowerControl is loaded? Use prefset commands to turn off your alarms? Yes, I've been thinking of this issue too. I think you'd have to have a way of limiting the allowable cli command requests to a whitelisted safe subset. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] SlimNAS 1.9.99 for SqueezeboxServer 7.4.1+ / FreeNAS 0.7
I need troubleshooting assistance to figure out why Squeeze Server is unable to start up a UPNP session to pull mp3's from my Window's PC. As shown in the log below, it reports missing protocol. I have disabled freenas's UPNP server (Fruppes) -- which does work -- and now curious if I need to tweak a configuration file somewhere on freenas. Thanks, Martin Log excerpt. 09-10-18 23:25:56.6395] main::init (320) Starting Squeezebox Server (v7.4.1, r28887, Fri Oct 16 04:05:39 PDT 2009) perl 5.008009 [09-10-18 23:25:59.0964] Slim::Networking::Async::Socket::UDP::mcast_add (62) Error: While adding multicast membership, UPnP may not work properly: Protocol not available [09-10-18 23:25:59.0969] Slim::Networking::Async::Socket::UDP::mcast_send (46) Error: While setting multicast TTL: Protocol not available -- mstokoe mstokoe's Profile: http://forums.slimdevices.com/member.php?userid=33425 View this thread: http://forums.slimdevices.com/showthread.php?t=69460 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;474200 Wrote: Yes, I've been thinking of this issue too. I think you'd have to have a way of limiting the allowable cli command requests to a whitelisted safe subset. I have a hard time imagining what commands would be safe. Perhaps the handler could look at the URL for the current playlist and default to only accepting cli:// URLs from playlists with file:// URLs referring to the local host (no http addresses, no UNC paths, etc.)? I think it's possible to determine the playlist that's being used. I pushed an updated KidsPlay to my testing area, directory http://www.tux.org/~peterw/slim/slim7/TESTING/KidsPlay/ and repo URL http://www.tux.org/~peterw/slim/slim7/repodata-test.xml that - supports \ as an escape char (for escaping and ; -- use \\ to include \ itself - allows a player to be specified by plain MAC (*00:04:20:11:22:33 power 1*) or with the colon that KidsPlay used to insist on (*00:04:20:11:22:33: power 1*) -- and also supports name + :, ALL:, and OTHERS: - has some routines you can grab for getting arrays of arrays -- look for the macro-parsing routines comments before and after -- for getCommands(), makePlayerList(), parseFields(), splitLines(), and getClientByName(). They're not optimized, but they work. Comments before getCommands() explain what the array of arrays looks like. You should be able to pass undef for $client if you don't know the client -- you'll end up with undef for the calling client, and undef for the context client for any command that doesn't specify something with MAC, name, ALL, or OTHERS. Please let me know how that works for you. You'll have to look elsewhere in the code to see how I use the task scheduler API -- look for processCommandFromQueue(), addToQueue(), etc. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins