[slim] SlimServer buffer settings
Hi, does anybody know how can I change/tweak the buffer size on the slimserver? I tried to change values in the *.pm files in SlimServer\server\Slim\Networking but had no success. Need some advise from a skilled SS user/developer ;-) Thanks in advance, Virgus -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
Thanks for the fast reply, I meant the server buffer setting as I'm experimenting with softsqueeze and other sw players. ...but surely I'll buy a couple of softboxes as I'll come to the US!! I'd like to try to decrease the buffer not to have that annoying 8 seconds delay between track changes... -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
Thanks Aznick3 for your explanation, I'd like to better understand (and manage) the stream.mp3 as I reduced the buffer of the player to the minimum. I made some tests and think that the Slimserver stream.mp3 has its own buffer for broadcasting. I found some parameters in the stream.pm file as I wrote, but didn't affect the streaming buffer size. I made some experiments with icecast changing its buffer to the best value for my lan. It worked well having no latency between different players, and now would like to adjust the slimstream buffer as well :-) keeping two different stream broadcasts across the house. I am also experiencing some sync problems between 4 softsqueezes all connected through GB NICs to the same GB Switch. It might be that the buffer size of the server affects this delay too... There's little need of a big server buffer on wired LAN environment as you can adjust the players' buffers... -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
To Aznick: Thanks for the effort :-) I've been playing with slimserver for less than 24 hours now and I am getting really excited about its potentials (paired also to the SB2s/SB3s...). I've read somone has installed slimserver onto a buffalo NAS I'm trying to tweak my buffalo rigt now :-) -- To Kdf: Thanks I'm totally new to this and to perl too. Specifically I'd like to reduce the 6-8 seconds delay between the stream.mp3 output and the skip(track) button press in the nowplaying window. Generally I'd like to control the buffer size as I can do within Icecast ini file. It would be really useful I think to have this feature in one of the next releases of SS... I'll try ActivePerl in the next few days, meanwhile ...is there a whishlist thread for SS new features? :-D Ciao, V. -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
Hi Kdf, half way from getting slimserver run from my linkstation, I spent some time in trying to change the buffer. I changed many values in the following files: Slim\Networking\stream.pm Slim\Networking\Slimproto.pm and found these two entries in Slip\player\Squeezebox.pm: # if this is a remote stream, then let's start after 5 seconds even if we haven't filled the buffer yet. my $quickstart = Slim::Music::Info::isRemoteURL($url) ? 5 : undef; # make sure we have at least 10K before starting with a quickstart. If not, then check again in a second. if ($fullness 10 * 1024)... Unfortunately nothing changes, I suppose these are not related to stream.mp3 broadcast :-( Any idea on where to look? How does the streaming engine work here?!? Thanks, V. -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
Kdf your feedbacks are so helpful! The buffer settings as you pointed out depend on the MAXCHUNKSIZE value. I think I'm getting closer to the solution: what took me on the wrong path is the fact that when I change/pause/stop a track data is still broadcasted. I kept thinking it was the buffer but it's not! If I play a track from the server and keep pressing play button on the client player I send a request of the stream.mp3 which keeps playing as it should. If I press stop/pause/skip on the server and do nothing on the client player I keep hearing the same track for about 6-8 seconds If I press stop/pause/skip on the server and press play on the client player then the command is accepted and executed instantly by the server! So it's not a buffer misbehaviour, it's the server waiting from the player acknowledgment to execute the command! :-) I'm happy I found out but have NO IDEA on how to solve this :-D Well I guess it's too much for today, I'll be happy to read any other feedback from you in the next days. :-) Good Night, V. -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
Thanks Radish! I was wrong this time too: I kept listening to squeezebox and after killing slim.exe task it took 47 seconds to the buffer to empty! Wow I didn't expect a 128k buffer took so long to be emptied! I shouldn't do tests too late at night, it's easy to get wrong conclusions ;-) On the stream.mp3 side I confirm my observation: If I press stop/pause/skip on the server AND press play on the client player then the command is accepted and executed instantly by the server instead of the 6-8 seconds wait. The server waits from the player acknowledgment to execute the skip/pause/stop commands or waits some time to do it anyway... Really wish I could solve this... Ciao, V. -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
[slim] Re: SlimServer buffer settings
Aznick, thaks for the link it was useful to better understand. I don't know the technical details either but regarding Icecast it's just the server side of the streaming. Then you need an encoder that actually produces the stream accesset through icecast. Radish, Kdf, Aznick thanks for making me better understand, I really appreciated it. I tried to move to Linkstation as a server but its 200Mhz processor is too slow :-( to manage a 40MB slimserver database I guess. I moved all to my laptop and surprisingly the big latencies were greatly reduced. The strange thing is that the laptop is less powerful and has no Gigabit NIC! Might it be the NIC? I'll try to change it with a new GB NIC I got... Have a good day! -- Virgus Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=23623 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/discuss
Re: [slim] Control your SqueezeBox or Transporter with Foobar2000
Fizbin wrote: > I have completely revamped the instructions and included all files > needed. > > You need to have Foobar2000's ColumnsUI for this to work. (IE: Using a > skin) > > https://www.dropbox.com/s/e9q95z87vx5dp0e/FooSQ.7z?dl=0 > (Just close the Sign In box and then you can download) > > Password: sbt Hello Fizbin, hello everybody, I just discovered this thread and all the related ones. I downloaded the archive from the dropbox link and installed everything with Foobar latest version (v1.4.3). I followed the instructions carefully and double checked them but I couldn't make it work. I tried everything on an old XP for compatibilty purposes... I also tried setting the foobar library on a tmp network path (and set $m_naspath = "\\Asus\ShareTmp") as I don't know how the squeezebox server would access the files from my PC but got no improvement at all. Does anybody have a working portable setup to share with me? Thanks and have a nice weekend, V. Virgus's Profile: http://forums.slimdevices.com/member.php?userid=5351 View this thread: http://forums.slimdevices.com/showthread.php?t=79575 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss