BosseJ wrote: > Thanks for this, looks interesting and promising. However, I know very > little of "widgets" and and I get stuck on making this work. I apologize > for my stupid questions beforehand. > I'm trying to make this work on a MX (Debian10) laptop with LMS 8.3.0 on > a separate MX (Debian10) host (Intel NUC). I started with installing > "gem" and "gem2deb" and then installed Smashing, all on the laptop. > After that I installed the widget according to instructions on your > github, using the 'smashing install 93c6ec070af4cd2247f3c94f387c02c1' > rather than the manual install. I noted that the directory > widget/squeezebox/ was populated with the files mentioned in your > readme-file. > > However I could not follow all instructions. > > 1) I have no idea where to find the ".erb" file. > > Code: -------------------- > > Add the following code snippet to your dashboard .erb file: > <li data-row="1" data-col="1" data-sizex="2" data-sizey="2"> > <div data-id="now-playing" data-view="Squeezebox" data-title="Squeezebox"></div> > </li> -------------------- > > > > 2) In the Smashing github.io page there are more steps than just > installing Smashing, like creating a project etc, but I have no idea > how to go about this. Any hints? > > Thanks
1. The .erb files get generated in the "dashboards" directory which is in the root Smashing folder - the same directory as you found the "widgets" directory in. 2. "Project" is the Smashing terminolgy for an instance of a dashboard - a collection of widgets viewed together in one web page. The project name is the last part of URL used to access it, for example: http://<hostname or IP address>:3030/<project name>. By default there should be a project called "layout" generated on installation which can be used to test the installation, so http://<hostname or IP address>:3030/layout. Once that works then a new project can be created with the command line "smashing new <project name>. That generates an .erb file to which the SqueezeBox code snippet you copied above should be added. 'SqueezeZap - Native Android SqueezeBox Controller App' (http://squeezezap.com) ------------------------------------------------------------------------ kwarklabs's Profile: http://forums.slimdevices.com/member.php?userid=71757 View this thread: http://forums.slimdevices.com/showthread.php?t=115706 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
