Page 1 of 1

no connectio after a while

PostPosted: Thu Apr 04, 2013 2:03 pm
by OohnoO
[quote][/quote]Hi all!

I think I have a related problem. I start serviio (1.1, 1.2, 1.2.1) on my server and I can play perfectly on my samsung tv. After a random interval (usually hours/days) the TV cannot find Serviio anymore under the available sources. From the host PC if i try to stop/restart the server, the problem is still there
TV: UE240ES5000, TV Profile "Samsung TV / Player (C/D/E series)
The only solution I came out with is to restart the computer. This is not very normal (at least for me), and I think I make a mistake somewhere, since I cannot believe this is a good solution...
Anyone help please, since I'm a newbee

Re: no connectio after a while

PostPosted: Thu Apr 04, 2013 2:52 pm
by slyguy42o
I had similar issues at one point so I setup a script to restart my serviio service every morning at 4am. Would have the same effect as rebooting.

Re: no connectio after a while

PostPosted: Thu Apr 04, 2013 9:15 pm
by slyguy42o
what OS are you running serviio under?

Re: no connectio after a while

PostPosted: Fri Apr 05, 2013 2:42 pm
by slyguy42o
This was posted in another thread. Use these steps to create a scheduled task that will restart your service on a regular basis

1. Create a new text file with the following two lines, and save it as C:\Scripts\Restart-Serviio.cmd:

  Code:
net stop serviio
net start serviio


2. Open Task Scheduler (hit Start, type it in)
-- Click Task Scheduler Library in the left pane
-- Click Create Basic Task in the Actions pane

3. Create the task
-- Name it what you want, such as Restart Serviio, hit Next
-- For a Trigger, select a schedule
-- For an Action, select Start a program, hit Next
-- Program/script: C:\Scripts\Restart-Serviio.cmd, hit Next
-- On the Finish page, check Open the Properties dialog for this task when I click Finish, hit Finish

4. Finishing steps
-- On the General tab, ensure the selected user account has sufficient privileges to restart services, and select Run whether user is logged on or not, and Run with highest privileges
-- Click OK