I want to try to make some changes to LMS. I compiled the scan module once on my raspi (already forgot how I did that, but I assume I could do it again), so I have some "knowledge".
I would like to compile it on Windows, as this is the fastest machine I have and that's where my Test-LMS is installed. What do I need?
I'm sorry as this may sound dumb and I'm in way over my head. That is probably true. Only one way to find out.![]()
Results 1 to 10 of 15
Thread: Compiling LMS
-
2019-09-05, 03:37 #1
Compiling LMS
QLMS 8.2@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4
-
2019-09-05, 04:47 #2
Compiling LMS
> I want to try to make some changes to LMS. I compiled the scan module
> once on my raspi (already forgot how I did that, but I assume I could do
> it again), so I have -some- "knowledge".
What parts of LMS do you want to change? Most of it could be run from
the source (Perl is interpreted). You'd have to install ActivePerl 5.14
on your computer (PM me if you need the installer - it's become hard to
find on activestate.com).
Those modules like Audio::Scan etc. are special in that they include C
code etc. But these hardly ever need to be compiled.
If you want to change some of LMS own Perl code, I'd suggest you get git
set up, install ActivePerl 5.14, and clone
http://github.com/Logitech/slimserver. You'll then be able to just run
"perl slimserver.pl"
--
Michael
-
2019-09-05, 13:03 #3
As I wrote you (at least I think that I did...), I want to try to add some more tags, have a look at the menu structure. IF I get it working, I'll try to make a plugin. Never done that before, will be fun.
"Hardly ever" normally means that I have to.
Okay, thank you, I'll give it a try. (And I'll write you a PM.)QLMS 8.2@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4
-
2019-09-05, 13:54 #4
Compiling LMS
> As I wrote you (at least I think that I did...), I want to try to add
> some more tags, have a look at the menu structure. IF I get it working,
> I'll try to make a plugin. Never done that before, will be fun.
Oh... I don't remember all discussions and who held them :-)
>> Those modules like Audio::Scan etc. are special in that they include C
>> code etc. But these hardly ever need to be compiled.
>
> "Hardly ever" normally means that I have to.
Good luck! Please get in touch with Andy if you need building this on
Windows. I'm not sure what the current toolchain required is.
--
Michael
-
2019-09-05, 14:52 #5
-
2019-09-05, 23:32 #6jvromans@squirrel.nlGuest
Compiling LMS
On Thu, 5 Sep 2019 13:47:01 +0200, Michael Herger <slim (AT) herger (DOT) net> wrote:
> You'd have to install ActivePerl 5.14
> on your computer (PM me if you need the installer - it's become hard to
> find on activestate.com).
I find ActivePerl very much outdated. Many of the Perl modules lag years
behind. Current Perl version is 5.30! AS support is stalled.
Personally I switched from ActiveState to Strawberry, which is up to date,
complete, and actively maintained.
I assume LMS can run with Strawberry?
-- Johan
-
2019-09-06, 01:50 #7
Compiling LMS
>> You'd have to install ActivePerl 5.14
>
> I find ActivePerl very much outdated. Many of the Perl modules lag years
> behind. Current Perl version is 5.30! AS support is stalled.
AS Perl in general or the version we're using? The problem is that we'd
have to re-compile all modules for a newer Perl version - which I'm not
looking forward to at all... Pull requests are welcome!
> Personally I switched from ActiveState to Strawberry, which is up to date,
> complete, and actively maintained.
>
> I assume LMS can run with Strawberry?
You might need to build the binaries yourself. But then it certainly should.
--
Michael
-
2019-09-06, 08:57 #8
I'd appreciate it if you could tell me, where the menus are defined. Then I'd had a starting point.
QLMS 8.2@2.21 x64 (digimaster) with perl 5.30.1 / QNAP 469L QTS 4.3.4
-
2019-09-06, 09:17 #9
Compiling LMS
> I'd appreciate it if you could tell me, where the menus are defined.
> Then I'd had a starting point.
Slim::Menu::BrowseLibrary is creating the music menus. This in turn is
using all the albums/artists/genres etc. queries, as defined in
Slim::Control::Queries.
--
Michael
-
2019-09-06, 09:30 #10