View Single Post
Posts: 20 | Thanked: 7 times | Joined on Jan 2010 @ Romania
#823
ukki:
I have a new problem.
I added to my playlist a http stream, which is basically a php script that generates a Location() header to an actual stream. This works just fine through normal VLC, but knots crashes. The VLC starts to get the stream for a second or so, then knots stops the stream.

I got this error from the web browser, using the n900 doesn't give any clues.
Code:
undefined method `name' for nil:NilClass
(erb):16:in `html'
(erb):35:in `each_with_index'
(erb):15:in `each'
(erb):15:in `each_with_index'
(erb):15:in `html'
./lib/plugin.rb:168:in `html'
(erb):55:in `html'
./lib/plugin.rb:168:in `html'
./plugins/1root.rb:852:in `play'
./lib/plugin.rb:102:in `call'
./lib/plugin.rb:102:in `do_GET'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Program Files/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
knots.rb:44:in `initialize'
knots.rb:394:in `new'
knots.rb:394
In case you're wondering, adding to playlist the stream, without redirect, works fine.

Please test, it's easy to replicate.

Last edited by vldcnst; 2010-06-02 at 14:18.