More > JRiver Media Center 32 for Linux

Linux, Mac, Windows Plugin Feature Request (MCWS need not apply)

<< < (2/5) > >>

bob:
I'd use the stub executable instead of MCWS.

ths61:

--- Quote from: bob on February 07, 2024, 07:23:34 pm ---I'd use the stub executable instead of MCWS.

--- End quote ---

What Linux based "stub executable" ?

The "/usr/lib/jriver/Media Center 31/mc31" app only appears to support sets, not gets. 

MrBiff:
Certainly one wouldn't want to make hundreds of thousands of fork/exec calls.

ths61:

--- Quote from: MrBiff on February 07, 2024, 08:43:43 pm ---Certainly one wouldn't want to make hundreds of thousands of fork/exec calls.

--- End quote ---

That is what a registered callback interface design remedies quite nicely (on state change). 

Low overhead, only called when absolutely necessary (no state changes, no habitual polling calls). 
No waste.
No needless binary-2-text-2-binary format conversions to and from XML/JSON/etc.

ths61:

--- Quote from: bob on February 07, 2024, 07:23:34 pm ---I'd use the stub executable instead of MCWS.

--- End quote ---

For issuing set commands, if "/usr/lib/jriver/Media Center 31/mc31" is faster than MCWS, does it work (or can it work) by reading from a stdin pipe so it only has to be launched once and then blocks on a stdin read command ?

Make it so it optionally isn't a single-shot app.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version