View Single Post
Posts: 882 | Thanked: 1,310 times | Joined on Mar 2007
#580
Originally Posted by slender View Post
Windows xp sp3, Knots 2 updated with git 12:00 18.04.2010
vlc 1.0.5

I just modified my n900 profille, added threads 2 and tried again and it worked (cpu went to 100%). But then suddenly it didn't anymore launch videos from n900 or from locally from browser.

In knots.log is following:
Code:
[2010-04-18 19:04:50] Error: undefined method `currently_playing' for nil:NilClass
./lib/vlc.rb:108:in `currently_playing'
./lib/player.rb:153:in `stop'
./plugins/external.rb:155:in `stop'
./lib/plugin.rb:102:in `call'
./lib/plugin.rb:102:in `do_GET'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `__send__'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpservlet/abstract.rb:35:in `service'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Knots/ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Knots/ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
knots.rb:33:in `initialize'
knots.rb:382:in `new'
knots.rb:382
In browser it says that vlc crashed or media is not found. Probably vlc crashed but why it doesn't start it again?
That error is not serious, although it looks like it. If VLC crashes, next time you open a stream it should notice it's not on and start it, but it's too late for that stream to work, so basically you may need to open a stream 3 times. But I recently made a little change to avoid looping, so maybe I broke it. I'll take a look.
 

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