Hi again. Either I used the wrong address or something else archive does not seem to have my mail so I'll post it via web interface.
Part I. -------- While writing my client I'm experiencing a problem that sometimes I just don't receive events anymore. So I took 5th ruby tutorial and tried to run it. It works. However it is designed to run only once. I've change playback_current_id call to broadcast_playback_current_id and commented out ml.quit with it (so it won't quit until I press Ctrl+C). xmms.broadcast_playback_current_id.notifier do |id| if id.zero? puts 'There is no current ID. XMMS2 is probably not playing anything.' else puts "Currently playing ID: #{id}" end end And here it is. If I change a song 1 time - it displays ID. If I change it 2nd time there is nothing (program itself is still running). Is there a bug somewhere? I'm not terribly familiar with Glib so there may be an error on my part. In my program it usually works several times before this happens. I use broadcast_playlist_current_pos there though. Part II. -------- There is a comment in tut5.rb that says # XMMS2 comes with a few mainloop integration tools we can use. Even better is # that they are bound in Ruby. Here is the one for GLib2. Is there any other and where can I find it/them? I'm using (from Debian testing) AMD64 versions of xmms2: 0.6DrMattDestruction-5 ruby: 1.8.7.249-1 libglib2-ruby1.8: 0.19.3-1 libxmmsclient-ruby1.8: 0.6DrMattDestruction-5+b1 libxmmsclient-glib1: 0.6DrMattDestruction-5+b1 libxmmsclient5: 0.6DrMattDestruction-5+b1 I tried to compile the latest DrN TEST1, but it didn't work. Well, I compiled and run but can't play. Probably I'm missing some header files since it did complain about some of them. I'll look into it later. -- _______________________________________________ Xmms2-devel mailing list Xmms2-devel@lists.xmms.se http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel