Hi millerdev,

Hey, I'm developing a new LMS theme, and I'm releasing it early so
others can try it out.

Excellent! I've been wanting to see a new web UI for a long, long time. And from what I've seen from yours so far you're on the right track to something cool!

While it has functional player controls and I
find it useful, it is far from feature complete. Currently it's really
only useful as a supplement to the default LMS theme. Check out the
github project for more details: https://github.com/millerdev/lms-ultralight

I must admit that "ultralight" and "npm" made me jiggle :-). But yeah, it's only the build tool which requires hundreds of MBs of downloads. The skin itself seems really light indeed.

Disclaimer: currently it requires a patch to the server itself because
LMS does not serve the font files (it also does not serve the
manifest.json file, but that's less important).

There are a few peculiarities about LMS built-in web server. First of all: all static content other than stylesheets and probably JS files need to be in the html sub-folder. Eg. all the fonts need to be in there. Unfortunately I'm not familiar with React and everything. So I don't know where to change this.

My Perl skills are not
strong, and I'd appreciate help with getting a better fix implemented in
LMS so the patch is not needed. I'd also appreciate tips on the best way
to distribute a packaged theme that is easy for less tech-savvy users to
install.

A "plugin": I'm currently storing your skin in Plugins/UltralightSkin/HTML/ultralight. You'll likely only need an install.xml file, but not even the Plugin.pm file. Plus a custom-types.conf file: that's where you can register the additional content types for the font files.

Please let me know about any further questions. I've tried to come up with a pull request for the plugin stuff. But it doesn't really fit in with your current build setup.

--

Michael
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to