Notices


Reply
Thread Tools
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#251
Originally Posted by ukki View Post
stop the server
./scripts/user delete user
./scripts/user add username password admin
start the server

You should be able to login then. If not, delete all users, restart server, use the browser to go to settings -> users and add a user there. Click on the username that appears on the list, switch the role to admin, set its password (it's random by default) and then press change. Then fully reload the page to authenticate as that user.
Wow! This worked for me - thank you!

Okay, so I now can't get in with the N900. It asks for server address and pre-gives me: (Localipaddress):1978.

I should now forward my router's ports 1978 and 19780 ( up to 19783 if I want more than one stream though I don't see the need for that yet), correct?

And then what? I know how to ssh into the server (for VNC), but I don't know what the steps are for SSL'ing.

Trying not to be a noob but no avoiding it I guess. Thank you for your help!
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#252
Originally Posted by jsbigs View Post
Wow! This worked for me - thank you!

Okay, so I now can't get in with the N900. It asks for server address and pre-gives me: (Localipaddress):1978.

I should now forward my router's ports 1978 and 19780 ( up to 19783 if I want more than one stream though I don't see the need for that yet), correct?

And then what? I know how to ssh into the server (for VNC), but I don't know what the steps are for SSL'ing.

Trying not to be a noob but no avoiding it I guess. Thank you for your help!
http://wiki.maemo.org/Knots2#3G_streaming_with_N900

That should get your client to connect to the server with SSL and auth enabled. To connect from outside, you need to forward those ports to your computer and then know your computers public address. Then you should be able to connect to it from outside using the ip and by checking the "Server uses SSL" checkbox. But this requires up-to-date server and client.

I'm considering adding some sort of dyndns type of support to server so that you can register you server to a database and then connect with just that name without having to deal with ip changes etc. No promises though, use dyndns or similar service for now.

Auth and SSL slower the client down a lot. If you are going to use it with 3G, consider using some bandwith saving measures like switching to list view to prevent downloading screenshots/album art, playing video only fullscreen so that it won't update the progress from server and going away from the player page or switching the display off when playing music so that it won't have to update the progress.
 
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#253
Great! I'll test this after brunch. Thank you!
 
Posts: 9 | Thanked: 0 times | Joined on Sep 2007
#254
Ok I pulled the new version from git. Thats what knots say when I try to update my vdr recordings:
Code:
[2010-01-03 22:41:28] Error: undefined method `[]' for nil:NilClass
/home/vdr/knots/knots/lib/collection.rb:225:in `add_vdr_item'
/home/vdr/knots/knots/lib/collection.rb:223:in `each'
/home/vdr/knots/knots/lib/collection.rb:223:in `add_vdr_item'
/home/vdr/knots/knots/lib/collection.rb:207:in `scan_path'
/usr/lib/ruby/1.8/find.rb:39:in `find'
/usr/lib/ruby/1.8/find.rb:38:in `catch'
/usr/lib/ruby/1.8/find.rb:38:in `find'
/home/vdr/knots/knots/lib/collection.rb:189:in `scan_path'
/home/vdr/knots/knots/lib/collection.rb:542:in `update_database'
/home/vdr/knots/knots/lib/collection.rb:541:in `each'
/home/vdr/knots/knots/lib/collection.rb:541:in `update_database'
/home/vdr/knots/knots/plugins/1root.rb:743:in `update_database'
/home/vdr/knots/knots/lib/plugin.rb:88:in `call'
/home/vdr/knots/knots/lib/plugin.rb:88:in `do_GET'
/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
/usr/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
/usr/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
/usr/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
/usr/lib/ruby/1.8/webrick/server.rb:95:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `each'
/usr/lib/ruby/1.8/webrick/server.rb:92:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:23:in `start'
/usr/lib/ruby/1.8/webrick/server.rb:82:in `start'
./knots.rb:54:in `initialize'
./knots.rb:280:in `new'
./knots.rb:280
I use Ubuntu karmic and vdr 1.7.10
Can you help me?
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#255
do "git pull" in knots dir and see if it passes that.
 
Posts: 9 | Thanked: 0 times | Joined on Sep 2007
#256
Great ut works! But... I can just add one directory. How can I add more?
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#257
Originally Posted by seef View Post
Great ut works! But... I can just add one directory. How can I add more?
You can add several to the list. But if you add a path like /media/disk, you can't add /media/disk/recordings because it's already scanned and vice versa.

You should add as many paths as your can like /media/disk/music and /media/disk/recordings etc. so you can rescan just one selected path without having to go through all your media.

EDIT: Be sure to add your VDR channels to collection too with ./install/vdr. It should then automatically scan them and allow you to stream them if you use streamdev.

Last edited by ukki; 2010-01-03 at 23:17.
 
Posts: 9 | Thanked: 0 times | Joined on Sep 2007
#258
Thank you!
 
smegheadz's Avatar
Posts: 387 | Thanked: 566 times | Joined on Dec 2009 @ Dublin
#259
can someone give me a comparison of knots vs tversity if they have tested with regards to streaming ability, server usage, streaming over wifi,internet,3g/3.5g. I like the sound of this for the n900 but would need to run it by a second server for the other devices if tversity isn't as good for the n900.

I've not got the n900 yet and would like to have something setup for when i do.
__________________
Never argue with stupid people.They lower you to their level then beat you with experience.
Humility is something we should all taste.
 
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#260
i am getting this error when trying to connect to server from N900: ERROR Basic Knots: no credentials in the request
INFO Basic Knots: admin: authentication succeeded.

Is there something wrong here?? Otherwise, i am able to connect and authenticate and play the videos.

Last edited by romanianusa; 2010-01-04 at 04:50.
 
Reply

Tags
knots, music, streaming, video


 
Forum Jump


All times are GMT. The time now is 11:37.