Notices


Reply
Thread Tools
Posts: 385 | Thanked: 426 times | Joined on Dec 2009 @ Gothenburg, Sweden
#751
May I propose a slight addition to the wiki?
About how to start knots when server starts. I'm doing that, but with some slight modification. I like to be able to go back to the knots application to see it's output. I do that with the 'screen' application.
So starting knots is done from rc.local:

Code:
sudo -u yourusername -H screen -d -m -S kno /home/yourusername/knots/startknots.sh
Where the 'startknots.sh' script is simply:
Code:
#!/bin/sh
cd /home/yourusername/knots
./knots.rb
The screen session can be resumed from a shell session by issuing:
Code:
screen -R kno
or to simplify further, put an alias in the file /home/yourusername/.bash_aliases:
Code:
alias kno='screen -R kno'
This makes it really easy for me to access knots.

Last edited by Larswad; 2010-05-20 at 10:49.
 

The Following User Says Thank You to Larswad For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#752
Feel free to add that to wiki, since anyone can edit it.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 385 | Thanked: 426 times | Joined on Dec 2009 @ Gothenburg, Sweden
#753
Ok, I can do that for sure! Just wanted to see if you had any objections or maybe some additional view on it.

EDIT: I added it, please let me know if I should change anything or if something should be made more clear.

Last edited by Larswad; 2010-05-20 at 13:09.
 

The Following User Says Thank You to Larswad For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#754
I'm not at all against anything like that, I'm just happy to get help, especially on times like these. So thank you all for help guys, this way Knots will eventually get better and better, I hope.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 121 | Thanked: 45 times | Joined on Mar 2010
#755
I've started to doubt that the previously mentioned audio/video sync problems had anything to do with certain bitrates, since I'm sad to say that I still suffer from it regardless of the bitrates it seems.

Also tried changing buffer size etc, but nothing seems to cure it consistently. The only thing that often worked, albeit only temporarily, was stopping and starting the stream. Which btw seemed to always resume quite a bit later than I stopped.

Watching the stream locally on the pc was always in perfect sync.

Are you guys getting the same sublte sync problems as I am?
 
Posts: 56 | Thanked: 7 times | Joined on Dec 2009 @ Spokane, WA
#756
This is driving me crazy! I have knots installed on my work computer (win 7 64bit) and it works fantastic with my N900. I install it on my home computer (also win 7 64 bit) and it's a no go. I can't even get it to play in the browser on the computer (pop up player or external). I can open VLC then open the video I want no problem though. The stream generated by knots doesn't seem to work though. It does however work with passthrough mode on the computer (not the N900).
 
Posts: 104 | Thanked: 40 times | Joined on Nov 2009
#757
wildt, yeah i kind of get the same problem, i think we need to get some debug information from the n900 because its something that its doing in the background thats screwing it up
__________________
running Knots2 and i Love it!
 
istarskyypsilon's Avatar
Posts: 26 | Thanked: 16 times | Joined on Feb 2010
#758
Hey guys!

I have installed knots server on ubuntu 10.04 and client on N900. Everything went fine, i imported my music collection and was able to listen on my N900. (All custom settings) So far so good.

Now i added an admin user, set a pw and set "Use SSL" to "yes". Restarted the server and logged in successfully (in firefox on my computer). But i cant log in on my N900 anymore. I chose "connect manually", checked the box "Server uses SSL" and set adress to mycomputersip:1978.

Both N900 and my computer are in the same wireless home network at the moment, but still i cannot connect to server with my N900

I also cannot see the option "Force Authentication" under Settings in Knots Server.

Any suggestions? I would be so happy if someone has an idea since i like Knots a lot.
Thanks in advance!

Last edited by istarskyypsilon; 2010-05-22 at 00:57.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#759
Originally Posted by gregc2009 View Post
This is driving me crazy! I have knots installed on my work computer (win 7 64bit) and it works fantastic with my N900. I install it on my home computer (also win 7 64 bit) and it's a no go. I can't even get it to play in the browser on the computer (pop up player or external). I can open VLC then open the video I want no problem though. The stream generated by knots doesn't seem to work though. It does however work with passthrough mode on the computer (not the N900).
Hmm, that sounds odd. Browser profile should work if you have the Adobe Flash plugin installed. If it doesn't, something must be off, since it's a good transcoding test. Have you checked the wiki for the possible UAC bug or made sure your firewall isn't blocking the necessary 1978 and 19780-19790 ports? Also make sure your firewall allows those ports for your network, not just localhost.

Originally Posted by istarskyypsilon View Post
Hey guys!

I have installed knots server on ubuntu 10.04 and client on N900. Everything went fine, i imported my music collection and was able to listen on my N900. (All custom settings) So far so good.

Now i added an admin user, set a pw and set "Use SSL" to "yes". Restarted the server and logged in successfully (in firefox on my computer). But i cant log in on my N900 anymore. I chose "connect manually", checked the box "Server uses SSL" and set adress to mycomputersip:1978.

Both N900 and my computer are in the same wireless home network at the moment, but still i cannot connect to server with my N900

I also cannot see the option "Force Authentication" under Settings in Knots Server.

Any suggestions? I would be so happy if someone has an idea since i like Knots a lot.
Thanks in advance!
For the SSL support you need to install the custom libsoup package listed in wiki because libsoup is missing ssl by default on Maemo. But if you trust just basic auth, you can set ssl off and use "Use authentication without SSL" to enable just basic auth which should work out of the box.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#760
There is now a client in -devel that uses gstreamer by default. This means the current N900 doesn't work with it unless you change video codec or add "mplayer" (without quotes) to the player field of that profile and reconnect.

GStreamer plays sd material so much better that people should probably use the passthrough profile (with the extra codecs) by default and try the profiles listed in this thread for HD material.

EDIT: There's bug in -devel that freezes the client when connecting to an authed server. Please use gconf to store the username and password to prevent that.

Last edited by ukki; 2010-05-23 at 09:09.
 

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

Tags
knots, music, streaming, video


 
Forum Jump


All times are GMT. The time now is 00:38.