![]() |
2010-02-14
, 15:41
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#361
|
The Following User Says Thank You to ukki For This Useful Post: | ||
![]() |
2010-02-14
, 17:07
|
Posts: 187 |
Thanked: 345 times |
Joined on Nov 2009
|
#362
|
![]() |
2010-02-14
, 17:29
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#363
|
This seems nice. I'm writing a PKGBUILD for the server to be installed in Archlinux, but reading your wiki page I notice that you don't actually have an installing method for proper distribution (i.e. not just git clone and ./knots.rb but whatever file structure ruby uses for its stuff). I would do it myself but I don't know any ruby, I only write python myself
Until then i guess I just stick everything in /opt/knots2, but that would at least require it to save its config to ~/.config/knots2 (or god beware in ~/.knots2) but looking for those folders after I started the server yielded nothing, so I'm guessing it saves its config stuff somewhere inside the knots folder, which makes even /opt/knots impossible. So, where does it save the configs? It would be really nice if you could find out how to properly distribute ruby stuff in linux
Thank you.
The Following 2 Users Say Thank You to ukki For This Useful Post: | ||
![]() |
2010-02-14
, 18:36
|
Posts: 74 |
Thanked: 19 times |
Joined on Dec 2009
|
#364
|
..., but you can use passthrough profile if the media is something N900 can play.
The Following User Says Thank You to LippiVan For This Useful Post: | ||
![]() |
2010-02-14
, 19:14
|
Posts: 187 |
Thanked: 345 times |
Joined on Nov 2009
|
#365
|
Knots only writes inside Knots dir in Windows because the ruby I used had no HOME environment variable, but on *nixes it stores everything in ~./config/kserver directory.
![]() |
2010-02-14
, 19:31
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#366
|
Oh, "kserver", allright, I see it. Thanks.
(Still, an install script with proper linux hierarchy would be nice)
/path/to/knots/knots.rb &
The Following User Says Thank You to ukki For This Useful Post: | ||
![]() |
2010-02-14
, 22:15
|
Posts: 74 |
Thanked: 19 times |
Joined on Dec 2009
|
#367
|
![]() |
2010-02-14
, 22:22
|
Posts: 187 |
Thanked: 345 times |
Joined on Nov 2009
|
#368
|
ukki, i tried to figure out a way to have the knots2 server autostarted in my suse 11.1 machine. i'm pretty new to the linux world, so i don't really have a clue how to do that.
is there a way to accomlish that? (if you already explained that, i'm sorry, i didn't get through all the 37 pages (yet))
thy a lot in advance!
cd /your/path/to/the/dir/that/contains/knots.rb/; ./knots.rb
Well it's still work in progress so I haven't even thought about such things yet.
(...) so packagers should be able to create packages for their distribution of choice if they want.
![]() |
2010-02-15
, 07:25
|
Posts: 882 |
Thanked: 1,310 times |
Joined on Mar 2007
|
#369
|
I'm guessing you're running KDE in SuSe? If I remember correctly, KDEs 'systemsettings' has a submenu for autostarting. You should be able to just make a new entry and stick /your/path/to/knots.rb in there. This should make it autostart. If this doesn't work - I noticed that knots needs the parent shell to be in the directory where knots.rb is located - you can try to stick this into the autostart entry instead:
Code:cd /your/path/to/the/dir/that/contains/knots.rb/; ./knots.rb
Yeah, I made a PKGBUILD for Arch. Seems to work well. By the way, the server frontend is very slick and nice. Good Job! I don't really like the client frontend though. It looks a bit rough and bold and the icons are very large. It would be nice if the look and feel was just like any of the official apps; more hildonized so to speak.
I'm also noticing that the backend seems to be very slow on indexing the music. :| It's been running for almost an hour now and has managed to index only 4000 files. For larger collections this is taking half an eternety. And during all this time it's using 10% CPU. What the heck is it doing? ^^
The Following User Says Thank You to ukki For This Useful Post: | ||
![]() |
2010-02-15
, 22:40
|
Posts: 334 |
Thanked: 45 times |
Joined on Jan 2010
|
#370
|
The Following User Says Thank You to badboyuk For This Useful Post: | ||