Page 1 of 1
Taking a long time to appear on device

Posted:
Fri Jul 24, 2015 6:11 am
by Nutbolt
I have recently setup serviio on a home server, running CentOS7 (linux). Lovely bit of software, loving all the metadata it collects etc... Nice and fast as well.
My issue is, it takes for ever to appear on my phone. With my old mediaserver (twonky on a NAS), it always appears almost instantly. However with Serviio it can take over a minute to appear.
I doubt it is a hardware/network issue as 1.) my old mediaserver software has no issues whats so ever 2.) The network is plenty stable etc... with no outdated kit.
Am I correct in assuming it is some kind of broadcast signal Serviio sends and I need to set it to send it more frequently so it appears faster? If so, how do I do this?
Thanks!
Re: Taking a long time to appear on device

Posted:
Fri Jul 24, 2015 2:36 pm
by zip
Serviio advertises itself on start and then every 30 seconds or so.
You can try to upgrade java, in a case of a Java bug.
Re: Taking a long time to appear on device

Posted:
Fri Jul 24, 2015 3:26 pm
by Nutbolt
Ah every 30 seconds? I thought I had read somewhere it was every 3 minutes. It certainly seems longer than 30 seconds. I shall start counting :p
Is there no way to adjust this myself?
(Java is up to date, as had to install 8 to get it to work in the first place).
Thanks
Re: Taking a long time to appear on device

Posted:
Fri Jul 24, 2015 5:54 pm
by zip
First 3 sends are at 10 seconds, then it goes every 30 minutes (1800 seconds) max - usually it's much less (around 300 seconds).
You can change that 1800 to something else using the -Dserviio.advertisementDuration property.
Re: Taking a long time to appear on device

Posted:
Fri Jul 24, 2015 6:04 pm
by Nutbolt
zip wrote:First 3 sends are at 10 seconds, then it goes every 30 minutes (1800 seconds) max - usually it's much less.
You can change that 1800 to something else using the -Dserviio.advertisementDuration property.
Thanks for the info! I definitely do want to change this, as I have been testing tonight and I sometimes have to wait >2 minutes before my phone picks up the server.
I am running Serviio on CentOS 7 (linux). Where do I set this property? I assume in /bin/serviio.sh? Where abouts in there?
Thank you for the help!
Re: Taking a long time to appear on device

Posted:
Sat Aug 01, 2015 6:02 am
by Nutbolt
bumpity bump.
Cheers

Re: Taking a long time to appear on device

Posted:
Wed Aug 05, 2015 5:49 am
by Nutbolt
zip wrote:First 3 sends are at 10 seconds, then it goes every 30 minutes (1800 seconds) max - usually it's much less (around 300 seconds).
You can change that 1800 to something else using the -Dserviio.advertisementDuration property.
If somebody could explain how I set this property when running on unix (CentOS) that would be fantastic, thank you! Because currently it is almost unusable as I have to wait so long for it to appear on devices. Thanks!