View Single Post
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#541
Originally Posted by Larswad View Post
1. Sometimes VLC refuse to start when starting knots2 (knots informs about this in the terminal). What I do then is to stop knots2 and retry, and then usually it starts again.
Well I'm not doing anything differently each time so if VLC refuses to start, I can't really help it. I increased the timeout to 10 seconds, maybe that helps.

Originally Posted by Larswad View Post
2. Sometimes knots2 cannot be stopped with CTRL+C, it just refuse to die. I have to kill the process using kill <pid>.
There is a 15 second timeout and after that it should die forcefully. If it hangs, you could provide me a list of things it has open. lsof -p <pid> is good for that.

Originally Posted by Larswad View Post
3. Not too seldomly it appears to end up in a state where the song appears to be playing but no sound actually comes out. Solution is to restart knots2 a couple of times.
With Nxx0 client or browser?

Originally Posted by Larswad View Post
4. The is no log out option in knots2, therefore it's difficult to switch user. Sometimes it also accumulates users at the status tab, even if I'm at the very same browser session.
I'm using basic auth where browser keeps the username and password in memory for that session. It's different from normal http server session management and the official answer is, that you can't really clear them server side. Since I can control the http server, I added support for this and it seems to work fine in Firefox, but ymmv. There's not much I can do about this.

Originally Posted by Larswad View Post
5. Fetching covers may fail without obvious reason. I overcame this by increasing some hard loop limit in the code where the covers are fetched (don't remember where I did that, but it helped when having lot of music).
There was a safety mechanism to prevent tons of http requests if something goes wrong, but I fixed it a bit to only stop when there are 10 errors in a row. Hopefully that helps.

Originally Posted by Larswad View Post
6. I'm used to a normal 'pause' button...there is none.
And there will never be one. Resume support pretty much makes it useless and at least when I last tried it, pausing requires pausing both client and VLC streaming to prevent it from filling the buffer and resuming the stream requires a new stream anyways. So basically pause would just be stop and resume.

On the N900 client you should be able to pause the stream with space/p but don't leave it paused.

Originally Posted by Larswad View Post
7. Regardless if the current tune has completed or is currently playing (and after having used the 'hide' button), I have to go back to the tune I played and press the blue 'stop' button, otherwise I won't be able to start another song.
I changed the player a bit, it now uses its own lightbox and allows new playback when it's hidden.

Originally Posted by Larswad View Post
8. The player plugin doesn't seem to work in IE at all (it's not fully sized and no song plays even if bar is moving). Doesn't matter to me though since I'm not using IE.
I don't care about IE either, sorry if it's someones only option to use Knots

I also made the server to switch automatically between the telnet modes on unix, so it should work out of the box on lucid/os x now. On Windows you need to change it manually because I can't check VLC version using the command line. There are also some bug fixes etc so git users should update and let me know if I broke something.
 

The Following User Says Thank You to ukki For This Useful Post: