Re: [slim] LMS Plugin Development
cliveb wrote: > Thanks Peter, but as you'll see from my post #24, I now have it working. I missed that but am glad to hear it! owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at *www. tux.org/~peterw/*) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial 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=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
peterw wrote: > Here's some code from my DenonSerial plugin that I think should help: > ... > Thanks Peter, but as you'll see from my post #24, I now have it working. The problem was never intercepting and dealing with the power status change - it was figuring out how to install the plugin so it was usable on any kind of player. Incidentally, I suspect that my desire to control the Meridian 218 is pretty niche and therefore not worth the effort to release it as a 3rd party plugin. (There's a whole heap of extra functionality that would be needed to handle all the possile use cases that 218 owners might want). But if anyone else wants it, drop me a PM and I can send you the code. I think it should also work with a Meridian Audio Core 200 as that uses the same protocol. Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
cliveb wrote: > OK, making progress. I decided that all I really needed to do was switch > the Meridian 218 on & off with the Squeezebox player, Here's some code from my DenonSerial plugin that I think should help: Code: # outside/before initPlugin() is where I usually put this: $serverPrefs = preferences('server'); # inside initPlugin() register to have your code run any time the power status changes for any player: $serverPrefs->setChange(\, 'power'); # inside initPlugin you might also want to tell LMS to run some code when a new player connects (after player reset, network disruption, etc): Slim::Control::Request::subscribe( \, [['client']],[['new']]); # after initPlugin() define the powerChange() function sub powerChange { my ($pref, $val, $client) = @_; my $id = $client->id(); # client ID, e.g. MAC address if normal Squeezbox; use this to decide what to do / if you care #$val will be 1 if the player just turned on, 0 if it just turned off # do your work } # after initPlugin() define newPlayerCheck(): sub newPlayerCheck { my $request = shift; my $client = $request->client(); my $id = $client->id(); # client ID, e.g. MAC address if normal Squeezbox; use this to decide what to do / if you care #etc } owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at *www. tux.org/~peterw/*) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial 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=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Sorry to be late to the party, but if this plug-in is only for your own use in your setup, it might be easier to just ssh into the SBR and run a shell script on it on a cron schedule to turn your amp on/off together with the player. See my post from a few years ago on the Domoticz forum. It reads the Lux sensor in the SBR and updates Domoticz accordingly. Not quite your application but might give you some ideas to push from the SBR instead of push from LMS. https://www.domoticz.com/wiki/Logitech_Media_Server#Using_Ambient_Light_Sensor_in_SB-Radio_and_SB-Touch philchillbill's Profile: http://forums.slimdevices.com/member.php?userid=68920 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
mherger wrote: > > After restarting LMS, here's what happens: > > You need to initialize the Settings in your plugin. Add > > use Plugins::M218::Settings; > > at the top of it, and in initPlugin() you do: > > Plugins::M218::Settings->new(); > > Instead of dealing with a pCP's folders I'd recommend you run LMS on > your local dev machine. This allows you to easily restart LMS without > having to copy files around etc. Got home from being out for the afternoon to see your very quick response, and tried your suggestion. Success! It was as simple as adding those extra lines into my plugin. I will now start looking at adding the additional configuration settings that it ought to have, and remove the hard-coded stuff. Thank you so much for your assistance, much appreciated. BTW, it's no problem for me to copy files to the pCP server using Samba, and restarting LMS is no hassle. I'm not planning to be a regular plugin developer, so this is all pretty much a one-off. Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Plus ... running LMS on Windows makes it harder to debug tricky things when (as I had to do to recently understand the Protocol Handler stuff better) I need to put extra tracing code in the core LMS. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
I don't like running a 2nd LMS on the same LAN because real players used by others in the house sometimes migrate to it and leads to turmoil. I do this all the time, in the office as well as at home. AFAIK original hardware would never switch server. squeezelite would pick whatever was available when starting and the "old" server wasn't available. But none of this should happen out of the blue. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
mherger wrote: > > My suggestion (which Michael has said before that he does not like > but > > it works great for me) ... > > But it's so much more complicated than needed... and risks to mess with > > the managed plugins folder. > > I never zip the files before release. I edit them right from inside > their folder where LMS picks them up whenever I restart LMS. I don't like running a 2nd LMS on the same LAN because real players used by others in the house sometimes migrate to it and leads to turmoil. So LMS on pCP is production and development ... and I tend to write the code in Windows using Notepad++ It does mean that I can only try out something new when no-one else is listening to stuff but that is not a big issue since it stops me spending inordinate amounts of time on it! Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
My suggestion (which Michael has said before that he does not like but it works great for me) ... But it's so much more complicated than needed... and risks to mess with the managed plugins folder. I never zip the files before release. I edit them right from inside their folder where LMS picks them up whenever I restart LMS. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Cache/Installed/Plugins is only used for plugin managed by Plugin manager downloaded from repositories. Cache/InstalledPlugins is managed, Cache/Plugins is not. It's LMS Plugins folder on pCP. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
After restarting LMS, here's what happens: You need to initialize the Settings in your plugin. Add use Plugins::M218::Settings; at the top of it, and in initPlugin() you do: Plugins::M218::Settings->new(); Instead of dealing with a pCP's folders I'd recommend you run LMS on your local dev machine. This allows you to easily restart LMS without having to copy files around etc. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
My suggestion (which Michael has said before that he does not like but it works great for me) ... Make a real plugin package and a repo file ... and host the repo file on a web server somewhere. Configure your LMS to use that (private) repo file and let it install into Cache/InstalledPlugins/Plugins/ Then when you want to try out some changes ... simply use WinSCP to copy over the changed files into that folder (overwriting what LMS put there) and restart LMS (no need to update the install.xml at this point). If you uninstall the plugin then LMS will remove all of the files ... so always make the changes that you think you want to keep on your desktop system. To do it 100% properly you could package up each speculative change and update install.xml, make a new zip file and update the repo file (new checksum and version) but that is a lot of extra work to do while you are trying out small changes. There is scope for confusion ... particularly after you have made an official release where you try something out and then forget to push an official update to the zip/repo ... but since you have not released anything to the outside world yet then this does not really matter. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
bpa wrote: > Cache/Installed/Plugins is only used for plugin managed by Plugin > manager downloaded from repositories. > > If you look at WebUI Settings/Information - it lists the plugins > directories. - you'll see a number of directories including > Cached/InstalledPlugins/Plugins and Slim/Plugin. > > Manaully installed user plugins (what you want) go into a *Plugins* > directory at a top level (exact location depends on OS) - do not > install in Slim/Plugin as that is for LMS supplied plugins. On my LMS server (running on piCorePlayer, so the OS is piCore Linux), WebUI/Settings/Information lists these plugin folders: /USR/LOCAL/SLIMSERVER/CACHE/INSTALLEDPLUGINS/PLUGINS, /USR/LOCAL/SLIMSERVER/PLUGINS, /USR/LOCAL/SLIMSERVER/CACHE/PLUGINS So I presume that I should put my plugin into */usr/local/slimserver/Plugins* - but no such folder exists. Is it that LMS is prepared to use plugins if the folder happens to be there, but that the folder may not exist? Can I just create that folder and put my plugin there? (I don't want to just try it without some reassurance, in case it breaks LMS). Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
mherger wrote: > > I think it would be good to share your code if you wanted some qualified > > help. It's hard to follow what you do by your descriptions only. OK, I've zipped up what I've created and attached it here. I placed all of these files in the /usr/local/slimserver/Cache/Plugins directory. After restarting LMS, here's what happens: - The plugins tab on the LMS web interface shows the new plugin as active, and it has a Settings link - Clicking the Settings link results in *404 Not Found: plugins/Extensions/settings/plugins/M218/settings/player.html* - The plugin is available on a SB3 via the Extras menu, and I can enable/disable it as hoped - When it's enabled on the SB3, it works as expected I think if someone can help me figure out how to integrate the player.html and Settings.pm files, I may have a chance of enabling the plugin on other players (eg. SBR, Squeezelite, etc) mherger wrote: > > > I tried moving my new plugin to > > /usr/local/slimserver/Cache/InstalledPlugins/Plugins (which is where > > PowerSave was installed), but that didn't help. > > Don't mess with that folder. It's managed by LMS' plugin manager. It > doesn't like to get confused by you adding/removing stuff there. OK, understood. I only tried there because that's where I found the PowerSave plugin. +---+ |Filename: M218.zip | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=34932| +---+ Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
cliveb wrote: > OK, understood. I only tried there because that's where I found the > PowerSave plugin. Cache/Installed/Plugins is only used for plugin managed by Plugin manager downloaded from repositories. If you look at WebUI Settings/Information - it lists the plugins directories. - you'll see a number of directories including Cached/InstalledPlugins/Plugins and Slim/Plugin. Manaully installed user plugins (what you want) go into a *Plugins* directory at a top level (exact location depends on OS) - do not install in Slim/Plugin as that is for LMS supplied plugins. bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
So I took a look at the PowerSave plugin (which I already have active on the SBR) and noticed that it includes a PLAYER.HTML file that presents the various options in the LMS Settings web interface, and a SETTINGS.PM file that looks like it processes the settings selected in the PLAYER.HTML page. So I built a simple equivalent and placed it with the rest of my plugin. After restarting LMS, a SETTINGS option appeared next to my new plugin, but clicking it results in: Code: 404 Not Found: plugins/Extensions/settings/plugins/M218/settings/player.html I think it would be good to share your code if you wanted some qualified help. It's hard to follow what you do by your descriptions only. I tried moving my new plugin to /usr/local/slimserver/Cache/InstalledPlugins/Plugins (which is where PowerSave was installed), but that didn't help. Don't mess with that folder. It's managed by LMS' plugin manager. It doesn't like to get confused by you adding/removing stuff there. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
OK, making progress. I decided that all I really needed to do was switch the Meridian 218 on & off with the Squeezebox player, so used Felix's PowerSwitchII as a starting point. I put my plugin into /usr/local/slimserver/Cache/Plugins, restarted LMS, and the new plugin is listed as installed in the web interface Plugins tab. I was able to activate it on an SB3 I have via the Extras menu, and it works - turns the Merdian 218 on & off as expected. BUT... I want to use it with a SBR, and I can't see how it can be activated on that. (Presumably I'd have the same issue if I wanted to use it on a Squeezelite player). (Note: I had already removed the code inherited from PowerSwitchII that checks whether the player is a Transporter or SB2/3, but I don't think that's relevant - I haven't even got as far as activating the plugin on the SBR). My next thought was that maybe the way PowerSwitchII is configured uses some kind of legacy mechanism only available on the older players with a display. So I took a look at the PowerSave plugin (which I already have active on the SBR) and noticed that it includes a PLAYER.HTML file that presents the various options in the LMS Settings web interface, and a SETTINGS.PM file that looks like it processes the settings selected in the PLAYER.HTML page. So I built a simple equivalent and placed it with the rest of my plugin. After restarting LMS, a SETTINGS option appeared next to my new plugin, but clicking it results in: Code: 404 Not Found: plugins/Extensions/settings/plugins/M218/settings/player.html I had a poke around, but as far as I can see none of the directories on the server called Extensions have anything to do with PowerSave in them. I tried moving my new plugin to /usr/local/slimserver/Cache/InstalledPlugins/Plugins (which is where PowerSave was installed), but that didn't help. So I'm kind of stuck at this point. There seem to be so many possible places where the various files might belong. Can anyone can give some more guidance? If it's relevant, I'm using piCorePlayer as my server, running LMS 7.9.2 Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
mherger wrote: > > In the INSTALL.XML file for various plugins, I see an attribute > > containing a rather long hex number. > > What is the significance of this, and how do I generate an > appropriate > > ID for my plugin? > > It should be a unique string. I usually use > https://www.uuidgenerator.net to generate a UUID. OK, happy to do that, but out of curiosity what is its actual purpose? Is it mandatory? Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
In the INSTALL.XML file for various plugins, I see an attribute containing a rather long hex number. What is the significance of this, and how do I generate an appropriate ID for my plugin? It should be a unique string. I usually use https://www.uuidgenerator.net to generate a UUID. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
It is optional - and leaving it out (like most 3rd-party plugins do I think) has no obvious bad effects. Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
mherger wrote: > Your best bet > probably is to find a plugin which does similar things to what you want > > to do, and go from there. *And ask questions here.* I spent a bit of time writing a simple Android app to try out the Meridian protocol, hence the delay in following up. But I'm now ready to start developing the LMS plugin, and I do have a question: In the INSTALL.XML file for various plugins, I see an attribute containing a rather long hex number. What is the significance of this, and how do I generate an appropriate ID for my plugin? Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Thanks to everyone for all the useful tips. peterw wrote: > I'm curious - do you have protocol specs? Is it this? > https://www.meridian-audio.com/media/11318/meridian-automation-interface-for-ip-control-issue-4.pdf Yes, that's the one. As it happens, I only had an earlier version from 2017, so thanks for the link to this later one. Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Oh, more thoughts about the CLI -- Squeezebox player settings like power on/off, mute/unmute, and volume are handled as client "pref" preference values. You could simply connect to LMS and "subscribe" to the preferences you care about ("volume", "mute", "power") and issue commands to the Meridian in response to those changes: e.g., when see the player's "mute" pref change to "1", tell the Meridian to "Mute". And if you see a change initiated on the Meridian side, just issue the corresponding LMS CLI command -- you see Meridian "Demute", just issue CLI command "mixer muting 0". owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial 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=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
+1 on Paul's suggestion. I'm curious - do you have protocol specs? Is it this? https://www.meridian-audio.com/media/11318/meridian-automation-interface-for-ip-control-issue-4.pdf If so, I think the existing Denon plugins should definitely help. One option might be using DenonSerial in "Remote system" mode, and writing external software that would connect to the LMS command line interface and subscribe to "denonserial" commands. DenonSerial would then send notifications for the Denon TCP commands it would send (e.g. MUON for muting output) and you'd just need to translate that to the equivalent Meridian command. To keep LMS in sync with the Meridian you'd issue CLI commands mimicking a Denon, e.g. if your tool saw the speakers were "Demute" then you'd send a denonserial CLI command with MUOFF. I do plan to update my DenonSerial (which, despite the name, supports not only RS232 but also Denon's TCP protocol) to support Yamaha's YNCA TCP protocol, but I have been dragging my feet on that. When I get around to it, that will mean abstracting the general commands (power on, power off, mute, unmute, set volume to X, query for current power/volume/mute/source status), and should make it much easier to support other brands' protocols. But did I mention I've been dragging my feet? owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial 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=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Take a look at the Denon plugin. It has had a lot of activity over recent months and maybe the protocols are similar given they both target the the hifi installer market. https://forums.slimdevices.com/showthread.php?60114-Announce-Denon-AVP-Control-Plugin Paul Webster http://dabdig.blogspot.com author of \"now playing\" plugins covering radio france (fip etc), planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, supla finland, abc australia, cbc/radio-canada and rte ireland Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
mherger wrote: > > Can anyone tell me if the wiki page at > > https://wiki.slimdevices.com/index.php/DeveloperGuide.html is still > the > > right place to start (bearing in mind I'm running LMS 7.9)? > > Or is there some more up-to-date guide around that I've not > discovered? > > Documentation for plugins is... inexistent or outdated. Your best bet > probably is to find a plugin which does similar things to what you want > > to do, and go from there. And ask questions here. Ah, right. Thanks for the heads up. What I want to do is turn the Meridian speakers on & off when the player is turned on & off, and adjust their volume. So I think IR Blaster would be the place to start. The difference is that the control signals are sent via TCP over the network, rather than via an IR emitter. Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] LMS Plugin Development
Can anyone tell me if the wiki page at https://wiki.slimdevices.com/index.php/DeveloperGuide.html is still the right place to start (bearing in mind I'm running LMS 7.9)? Or is there some more up-to-date guide around that I've not discovered? Documentation for plugins is... inexistent or outdated. Your best bet probably is to find a plugin which does similar things to what you want to do, and go from there. And ask questions here. ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] LMS Plugin Development
I am about to embark on writing an LMS plugin to control the Meridian 218 I have recently acquired. I have never built a SqueezeCenter/LMS plugin before, and have never written anything in Perl before. But I am a (retired) software developer, experienced with languages like C++, Java, PHP and the like, so should be able to figure it out provided I can find the correct documentation. Can anyone tell me if the wiki page at https://wiki.slimdevices.com/index.php/DeveloperGuide.html is still the right place to start (bearing in mind I'm running LMS 7.9)? Or is there some more up-to-date guide around that I've not discovered? Transporter -> ATC SCM100A cliveb's Profile: http://forums.slimdevices.com/member.php?userid=348 View this thread: http://forums.slimdevices.com/showthread.php?t=114585 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss