NSSM windows service


(John) #1

Probably wrong area but wasn’t sure where to put this. Will MCEBuddy work thru a Windows Service or making one with NSSM?

Thanks.

JR


(Goose) #2

MCEBuddy Engine runs as a Windows Service when it’s installed by default. You can force it to run a user application by starting the MCEBuddy Engine from the Start Menu (it’ll shut down the Windows Service at start up and will restart the service at shutdown).

Don’t see why you need it as NSSM given you can run it as native Service or a User application.


(John) #3

Thanks for the reply. Ahh did not notice that. Guess I was confused as when the GUI opened it was set to stopped. And I can start and stop buddy from it. So is the service stopping and starting or how does that work?

Thanks.

JR


(Goose) #4

The “service” is always running (otherwise the GUI will show cannot connect to engine).

You can interact with the engine, start/stop conversions, settings etc from the GUI.


#5

I was looking for exactly this answer. So the GUI has nothing to do with the service? I can stop/start the GUI and it doesn’t affect whether MCEBuddy will continue to process in the background?

Also, I presume the service still pulls the settings from what we set in the GUI? For4 example, MCEBuddy was already running. I opened the GUI and added a custom naming option. Will the already running service automatically pull that info from what I did?

Thanks!

PS: I think this is one of the most useful programs for HTPC ever!


(Goose) #6

Correct, the GUI is just a user interface to configure the engine and to gets its current status.

All the settings are stored in the engine. The GUI is a way to retrieve those settings, modify them and send them back to the engine.

This is why the GUI (aka Remote Client) can be installed anywhere and you have multiple Remote Clients running at the same time across different machines. They connect to the core engine, retrieve the status/settings and display them.


#7

Woah…you mean I can have MCEBuddy running on two machines and it will take the settings across the network from a single GUI?

Can it do the dishes and order sushi for me too…:wink:


#8

Actually I found this so no worries:

This seems to cover my question since the SERVICE would have to be running on multiple machines to do this. I have it on my media server and access it remotely to do this. I was thinking I could maybe have it on my primary PC as well, sharing those settings so I could process the occasional local rip.


(RBoy) #9

To add to what @goose said, if you have the MCEBuddy engine running on, say, 3 machines (all headless or remote for e.g.), you can monitor all 3 from your laptop remotely. Install the Remote Client in 3 separate folders and have each connect to the 3 engines. Now you can see in real time what all 3 engines are doing remotely.

Also see this post regarding installing the engine on multiple machines:

You can also have multiple engines share a common queue and process files over a network/NAS drive. You can create separate folders for each engine or have different file filters so you can increase your processing power or use scripts for distributed processing: