Notices


Reply
Thread Tools
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#261
Is there another way to access the settings without going to the browser for Windows user?? Sometime you can't access localhost:1978 and so there is no way to change the settings. Only choice is to delete the .configure file and start all over. Pretty annoying since you setup the album and music arts the way you want it and have to do everythng all over again.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#262
Yes it's possible. On Windows you can open cmd and run commands in knots directory:

ruby\bin\ruby scripts\setup

That will list all settings. To change one, run:

ruby\bin\ruby scripts\setup setting "value"

or you can for example install the excellent sqlite manager firefox plugin and open .config/kserver/kserver.db and alter the settings table.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#263
Originally Posted by ukki View Post
Yes it's possible. On Windows you can open cmd and run commands in knots directory:

ruby\bin\ruby scripts\setup

That will list all settings. To change one, run:

ruby\bin\ruby scripts\setup setting "value"

or you can for example install the excellent sqlite manager firefox plugin and open .config/kserver/kserver.db and alter the settings table.
I am not seeing ruby scripts folder?
 
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#264
Originally Posted by ukki View Post
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.
Well, this completely hosed my N900. I ran this twice, answering the question at the bottom of the following "yes" the first time, which REALLY hosed everything:

The following packages will be REMOVED:
decoders-support gstreamer0.10-flv
gstreamer0.10-plugins-camera gstreamer0.10-plugins-good
gstreamer0.10-plugins-good-extra gvfs-backends knots2
libgssdp-1.0-1 libgstfarsight0.10-0 libgupnp-1.0-2
libgupnp-av-1.0-1 libgupnp-igd-1.0-2 libmafw-shared0
libmafw0 libnice-gstreamer0.10 libnice0 libsoup2.4-1
libtelepathy-farsight0 mafw-dbus-daemon
mafw-gst-renderer mafw-iradio-source
mafw-playlist-daemon mafw-tracker-source
mafw-upnp-source mediaplayer mediaplayer-restore
mediaplayerhomeapplet mp-fremantle-002-pr
skyhost-vengine telepathy-gabble telepathy-spirit
telepathy-stream-engine tunewiki-applet
0 upgraded, 0 newly installed, 33 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 8819kB disk space will be freed.
Do you want to continue [Y/n]?


I guess I kind of deserved it as it did warn me. I then had to reflash the N900. I thought I'd risk it and try to set up the SSL again and answer "No" to the question above. Well, it didn't delete anything (other than wget, which I told it to) like the first time, but, also like the first go around, I am unable to add any new apps. I now get the following on the N900 when trying to add any new app:

Unable to install <app name>. Some application packages required for the installation are missing.

I'm now going to have to re-flash it. And to top it off, I can't get into the server anymore. Your (Ukki) earlier suggestion is no longer working either:

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.


Just to refresh your memory, the server is a MacMini running 10.6.2, the client is an N900 running Knots 2 0.2.6-5, and I had run git pull and create_osx_app just before.

Here's the full log of the terminal on the server from the second go around:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso26+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900-42-11:~# apt-get install wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version.
wget set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Nokia-N900-42-11:~# wget "http://nakkiboso.com/libsoup2.4-1_2.24.3-2maemo2+0m5_armel.deb"
--20:51:34-- http://nakkiboso.com/libsoup2.4-1_2....+0m5_armel.deb
=> `libsoup2.4-1_2.24.3-2maemo2+0m5_armel.deb'
Resolving nakkiboso.com... 64.16.214.14
Connecting to nakkiboso.com|64.16.214.14|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 180,100 (176K) [text/plain]

100%[================>] 180,100 63.63K/s

20:51:38 (63.49 KB/s) - `libsoup2.4-1_2.24.3-2maemo2+0m5_armel.deb' saved [180100/180100]

Nokia-N900-42-11:~# dpkg -i libsoup2.4-1_2.24.3-2maemo2+0m5_armel.deb
(Reading database ... 24875 files and directories currently installed.)
Preparing to replace libsoup2.4-1 2.24.3-2maemo2+0m5 (using libsoup2.4-1_2.24.3-2maemo2+0m5_armel.deb) ...
Unpacking replacement libsoup2.4-1 ...
dpkg: dependency problems prevent configuration of libsoup2.4-1:
libsoup2.4-1 depends on libgcrypt11 (>= 1.4.0); however:
Package libgcrypt11 is not installed.
libsoup2.4-1 depends on libgnutls26 (>= 2.4.0-0); however:
Package libgnutls26 is not installed.
dpkg: error processing libsoup2.4-1 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libsoup2.4-1
Nokia-N900-42-11:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
mplayer libspeex1 gstreamer0.10-ffmpeg libxinerama1
tracker-distutils
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
decoders-support gstreamer0.10-flv
gstreamer0.10-plugins-camera gstreamer0.10-plugins-good
gstreamer0.10-plugins-good-extra gvfs-backends knots2
libgssdp-1.0-1 libgstfarsight0.10-0 libgupnp-1.0-2
libgupnp-av-1.0-1 libgupnp-igd-1.0-2 libmafw-shared0
libmafw0 libnice-gstreamer0.10 libnice0 libsoup2.4-1
libtelepathy-farsight0 mafw-dbus-daemon
mafw-gst-renderer mafw-iradio-source
mafw-playlist-daemon mafw-tracker-source
mafw-upnp-source mediaplayer mediaplayer-restore
mediaplayerhomeapplet mp-fremantle-002-pr
skyhost-vengine telepathy-gabble telepathy-spirit
telepathy-stream-engine tunewiki-applet
0 upgraded, 0 newly installed, 33 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 8819kB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
Nokia-N900-42-11:~# rm libsoup2.4-1_2.24.3-2maemo2+0m5_armel.deb
Nokia-N900-42-11:~# apt-get remove wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
libliqbase1: Depends: wget but it is not going to be installed
libsoup2.4-1: Depends: libgcrypt11 (>= 1.4.0) but it is not installable
Depends: libgnutls26 (>= 2.4.0-0) but it is not installable
E: Unmet dependencies.


While I'd love to be able to use this app to stream over the internet as I saw the potential over my LAN, I actually need this phone/tablet/N900 to do my job and am having a hard time justifying the time I've been investing into this one app.

I'm open to suggestions. Thanks.
 

The Following User Says Thank You to jsbigs For This Useful Post:
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#265
Originally Posted by jsbigs View Post
Well, this completely hosed my N900. I ran this twice, answering the question at the bottom of the following "yes" the first time, which REALLY hosed everything:
Sorry to hear that, I'll change the wiki so that this doesn't happen to others.
Originally Posted by jsbigs View Post
While I'd love to be able to use this app to stream over the internet as I saw the potential over my LAN, I actually need this phone/tablet/N900 to do my job and am having a hard time justifying the time I've been investing into this one app.

I'm open to suggestions. Thanks.
Sorry to hear that, I forgot to mention that you need to enable extras-devel to get that lib libgnutls26 lib and if it wants to delete something, say no. So you could try to fix your situation now with:

Code:
wget http://repository.maemo.org/extras-devel/pool/fremantle/free/g/gnutls26/libgnutls26_2.4.2-6_armel.deb
dpkg -i gnutls26/libgnutls26_2.4.2-6_armel.deb
and see if it still wants something.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#266
What about this line too:

libsoup2.4-1 depends on libgcrypt11 (>= 1.4.0)
 
Posts: 739 | Thanked: 114 times | Joined on Sep 2009
#267
Originally Posted by jsbigs View Post
What about this line too:

libsoup2.4-1 depends on libgcrypt11 (>= 1.4.0)
Whatever it depend, just get it from repo-devel..that's what i did.
 

The Following 2 Users Say Thank You to romanianusa For This Useful Post:
Posts: 9 | Thanked: 0 times | Joined on Sep 2007
#268
that might sound stupid but how can I download videos for offline watching? I use Knots client 0.2.6. I cant find a menue entry.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#269
You can't, it's only for streaming.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 172 | Thanked: 27 times | Joined on Oct 2009 @ San Francisco, CA
#270
Any suggestions for getting back into the app on the server side? I'm willing to give the other suggestions a try but there is no point if I can't get back into the app to add media. These earlier ideas no longer work:

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.
 
Reply

Tags
knots, music, streaming, video

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:48.