My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
WindowServiceInstallation  

Featured
Updated Feb 4, 2010 by kearygri...@gmail.com

How to install StreamBaby as a Windows service

Note: This is not really supported and most of my development is done on Linux, so is only provided as a convenience. I believe it works well, but...

Details

  • Install StreamBaby as normal
  • In the file explorer, browse to the streambaby/extra/service/win32 directory
  • On Vista, you will need to right click on "install-streambaby-service" and select run-as-administrator. For XP simply double clicking on install-streambaby-service should suffice.
    • This will install Streambaby as an auto-start service. It will however not be started immediately after installation (unless you reboot)
    • To start the service without reboot after you install it, for Vista right-click on start-streambaby-service and select run-as-administrator. For XP simply double click.
  • To uninstall streambaby as a service, on Vista right-click uninstall-streambaby-service and select run-as-administrator. For XP simply double click it.
  • Note: Windows services by default don't have access to network drives, so if any of your videos are on network drives you will have a problem. (Same goes but worse if the streambaby app is installed on a network drive)

Linux startup script

There is also a linux script that will run streambaby as daemon using standard linux daemon control parameters (start/stop/etc). The scripts are located in the extra/service/linux32 and linux64 directories and is called simply streambaby.

Comment by safepetp...@gmail.com, Apr 5, 2009

"Windows services by default don't have access to network drives, so if any of your videos are on network drives you will have a problem" - is there any way to fix this so streambaby as a service can access video on a network share?

Comment by nateba...@gmail.com, Aug 17, 2009

if you open up your computer's services and find the streambaby service. Open the properties and then goto the Log On tab. There is an option to specify which account the service uses. Just change it to an account that has privileges at the network location where your videos are. I run mine in this way and it works just fine.

Comment by hesem...@gmail.com, Feb 2, 2010

the xp instruction did not work for windows 7. Do you have the instruction for that?

Comment by rob...@gmail.com, Mar 29, 2010

Seemed to work fine for me on Windows 7 (32-bit)

Comment by ac2...@gmail.com, Aug 25, 2010

did not work on Windows 7 (64-bit)

Comment by tlgree...@gmail.com, May 8, 2011

It works for me on win7 premium. I'm currently running it as a service. The videos are on a samba server (share service). To access them I used dir.1=//servername//sharename/. Using a mapped drive would notworh.

Comment by rob...@thefire.org, Jul 1, 2011

This script did not work for me on Windows Home Server 2011. I even set it to run as Administrator but that did not work either.


Sign in to add a comment
Powered by Google Project Hosting