> info = xmms.medialib_get_info(id).wait.value.to_propdict
>^^^
> puts info.class.name
> p info
It says
Xmms::Dict
#
ok.
info.each_pair { |a, b| puts "[#{a}] - #{b}" }
and
puts "Title: #{info[:title]}"
appears to be working co
Tenno Seremel [2010-01-04 13:08]:
Hi,
> Now I want to get some metadata for a currently playing song (for now).
> I'm reading tutorial 3 and there are the following lines there:
>
> info = xmms.medialib_get_info(id).wait.value
> info.each_pair { |src, key, val| puts "[#{src}] #{key} = #{val}" }
Woops. If you need .ui file used to generate a GUI it's in
http://serenareem.net/files/xsg-other.zip
--
___
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel
Hi, it's me again :}
I've finally got to my program again and resolved my previous
issue — I shouldn't return 'self' from a function i'm calling
within notifier block.
Now I want to get some metadata for a currently playing song (for now).
I'm reading tutorial 3 and there are the following lines