Active Topics

 



Notices


Reply
Thread Tools
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#361
I don't really know anything about it, but it seems you can use VLC to view it if you have the app open, so it could be possible. Google for ppstream and VLC for instructions. But instead of opening the stream with VLC, add the path to Knots under Edit Media section.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 187 | Thanked: 345 times | Joined on Nov 2009
#362
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.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#363
Originally Posted by shapeshifter View Post
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.
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.
 

The Following 2 Users Say Thank You to ukki For This Useful Post:
Posts: 74 | Thanked: 19 times | Joined on Dec 2009
#364
Originally Posted by ukki View Post
..., but you can use passthrough profile if the media is something N900 can play.
That just made my day, thanx so much!
finally i'm able to stream all my movie collection, this is just perfect!
 

The Following User Says Thank You to LippiVan For This Useful Post:
Posts: 187 | Thanked: 345 times | Joined on Nov 2009
#365
Originally Posted by ukki View Post
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.
Oh, "kserver", allright, I see it. Thanks.
(Still, an install script with proper linux hierarchy would be nice)
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#366
Originally Posted by shapeshifter View Post
Oh, "kserver", allright, I see it. Thanks.
(Still, an install script with proper linux hierarchy would be nice)
Well it's still work in progress so I haven't even thought about such things yet. I only made the installer for Windows because it was somewhat harder to install on Windows and most of the posts on this thread were about install problems.

But dependencies are listed in wiki and server can be started from a startup script with
Code:
/path/to/knots/knots.rb &
so packagers should be able to create packages for their distribution of choice if they want.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 74 | Thanked: 19 times | Joined on Dec 2009
#367
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!
 
Posts: 187 | Thanked: 345 times | Joined on Nov 2009
#368
Originally Posted by LippiVan View Post
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!
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
Originally Posted by ukki View Post
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.
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? ^^

Last edited by shapeshifter; 2010-02-14 at 23:56.
 
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#369
Originally Posted by shapeshifter View Post
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
I just commited a fix to git that allows you to start it from anywhere. So run 'git pull' in knots directory.

Originally Posted by shapeshifter View Post
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.
Well you can't please everyone. I could use more Maemo 5 widgets, but not sure it's worth the effort, since it's currently easier to stay even somewhat compatible with the diablo version.

Originally Posted by shapeshifter View Post
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? ^^
Well sometimes it may hit a video (usually mkv) that freezes ffmpeg until it's killed by a timeout. But with music it scans the directories recursively, reads tags, stores them to database and uses ffmpeg to identify the file, so it takes some time. I could add automatic cover fetching to make it even slower though. Luckily you only have to do it once. Using ffmpeg to identify the file isn't ideal, but it works on all operating systems.
 

The Following User Says Thank You to ukki For This Useful Post:
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#370
This is an amazing app. A lot of the posts on here are quite confusing as they keep mentioning support for ubuntu and what not. Since im a windows user ive finally got it working on 3G connection.
Make sure u got the port forwarded for 1978
And also add in the ports range from 19780 - 19785.
I found the Tablet Browser method the best to use for the transcoding profile as there was no lag and the player responded more quickly wen needed to be stopped.
Gna test it again to see if it works again.
 

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

Tags
knots, music, streaming, video


 
Forum Jump


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