[01:06] <barnex> Hello
[01:08] <barnex> I'm going to write universal remote for android and I'm interested in getting information about currently played item. I've read on SoundMenu page, that there is API planned to share that information.
[01:09] <barnex> How hard will it be to acquire that information without that API? Will it work only on ubuntu?
[01:09] <RAOF> It's already available, and called MPRIS (if I remember correctly).
[01:10] <RAOF> Unless the implementation plan changed, of course :)
[01:10] <barnex> :-)
[01:11] <barnex> Thank you.
[01:12] <Omega> I don't think it changed.
[02:36] <barnex> Is player-item.vala the file in which soundMenu is obtaining info about currently played track?
[02:39] <barnex> oh, it isn't. nvm
[04:01] <RAOF> barnex: Frankly, I'd just be firing up d-feet and browsing the d-bus interface for whatever media player you have installed.
[12:42]  * hyperair wonders if he is the only one experiencing weird notify-osd bubbles
[12:42] <hyperair> they're cropped =(
[12:44] <Zombieff> i've experienced it in Lucid for some time
[12:44] <Zombieff> don't know why this appeared and disappeared
[12:55] <Zombieff> I've already asked yesterday, but had to go. So, can anyone help me with soundmenu integration for a music player?
[12:57] <Zombieff> I couldn't find any documentation on soundmenu.
[13:00] <kklimonda> I don't think there is any
[14:06] <klattimer> kenvandine: can you run the testcase I've uploaded here https://bugs.launchpad.net/ubuntu/+source/ibus/+bug/637671
[14:06] <klattimer> see if python hit's 100% cpu usage
[14:07] <klattimer> also go ahead and release the patch in bug https://bugs.launchpad.net/ubuntu/+source/tomboy/+bug/627744
[14:10] <kenvandine> klattimer, sure
[14:10] <klattimer> kenvandine: the test case does hit 100% cpu usage for me, I just want to check that it's the same for both of us, with this minimal test case
[14:11] <klattimer> 39 bitchin' lines of testcase
[14:13] <kenvandine> so run it and let it start the keyboard indicator?
[14:13] <kenvandine> then just watch the load
[14:14] <kenvandine> yup... 100% load
[14:15] <klattimer> yeah
[14:15] <klattimer> so you see the output strings, the signal handler works properly
[14:15] <klattimer> but then python goes nuts
[14:15] <klattimer> ... nowhere for me to put a debug statement in here
[14:15] <klattimer> :(
[14:17] <klattimer> kenvandine: what's your bet, pygtk bug or python bug?
[14:18] <kenvandine> i would look at pygtk first
[14:20] <klattimer> kenvandine: (14:19:04) walters: klattimer: if ibus takes over SIGCHLD like that it's going to break glib's spawning code
[14:20] <klattimer> (14:19:26) walters: resolution: use glib.spawn_*
[14:20] <klattimer> nice to know someone is on the ball
[14:21] <kenvandine> ha
[14:24] <kenvandine> klattimer, that's interesting, i've never even considered using glib.spawn in python
[14:25] <klattimer> kenvandine: obviously, a similar reasoning to it existing in C applies to python too
[14:25] <klattimer> urgh
[14:25] <kenvandine> yeah, just in python i always just go for subprocess
[14:25] <klattimer> dude, ibus has 288 open issues on their bug tracker
[14:25] <klattimer> I doubt this will get noticed by them
[14:26] <klattimer> kenvandine: yeah, I've usually been an os.system, subprocess or popen kinda guy
[14:39] <klattimer> kenvandine: even glib.spawn is broken
[14:39] <klattimer> the signal is the failure point
[14:40] <klattimer> but even commenting out the signal causes it to not show preferences more than once
[14:40] <klattimer> but the other menu items are working
[14:46] <klattimer> hang on that was just my fail
[14:46] <klattimer> input methods don't work at all though
[14:46] <klattimer> so i think I need to debug further
[14:46] <klattimer> :(
[14:49] <kenvandine> :(
[14:50] <klattimer> kenvandine: this might be fixed by the patch I showed you yesterday
[14:51] <klattimer> 哦可卡人来14时51分itchintoday
[14:51] <klattimer> heh
[14:51] <klattimer> so, that patch does appear to do the fixing
[14:52] <klattimer> except
[14:52] <klattimer> I can't actually change layouts via the menu :/
[14:53] <klattimer> this is a bit weird :/
[16:18] <Cimi> ronoc: where are you? :)
[16:18] <ronoc> Cimi, working in my room
[16:18] <ronoc> and you ?
[16:18] <ronoc> i thought you had the day off
[16:18] <Cimi> ronoc: I'm about to go next to the pool
[16:19] <ronoc> Cimi, ah very nice
[16:19] <Cimi> ronoc: yeah, I'll spend it next to the pool
[16:19] <Cimi> ronoc: come on dude, let's go outside
[16:19] <ronoc> I might go for a swim at lunchtime, that breakfast was heavy
[16:19] <ronoc> Cimi, I have some work to get on with, later on dude
[16:19] <Cimi> ronoc: I meant, working outside
[16:20] <Cimi> ronoc: (if wifi works)
[16:20] <ronoc> Cimi, i think it does but I won't be able to see the pool
[16:20] <ronoc> *by
[16:20] <ronoc> Cimi, i might come down soon and see if it is viable
[16:20] <Cimi> ronoc: cool :)
[16:22] <Cimi> ronoc: ok I'm going downstairs, see you later or for lunch (not much, had a heavy breakfast too)
[16:22] <ronoc> Cimi, grand
[17:50] <Cimi> ronoc: I'm going downstairs again, come one!
[17:51] <Cimi> *on!
[17:51] <ronoc> Cimi, okay quick swim
[17:51] <ronoc> be there in 5
[18:05] <Cimi> ronoc: still in your room?
[18:58] <mokmeister> Hi all, I've been having problems with notes in Tomboy, followed by a synch issue, and now I'm seeing two Tom boy instances when I start up. When I remove one from the panel and hover over the other with the mouse, I see two lots of my notes on the screen. Any advice as to how I can go about resolving this issue?
[19:31] <Cimi> ronoc: are you still in your room?
[19:31] <Cimi> ronoc: I didn't see you
[20:06] <ronoc> Cimi: 00447967052724
[20:21] <Cimi> ronoc: 00393498923481
[20:22] <ronoc> Cimi, thx
[21:19] <Zombieff> ronoc: hi, I've tried to find any documentation on soundmenu integration for a mediaplayer, but without any results. Can you help me? Should I ask questions here or in PM?
[21:20] <ronoc> Zombieff: hi, you should be able to find all the info you need on wiki.ubuntu.com/SoundMenu
[21:20] <ronoc> there is a client registration section
[21:20] <ronoc> any questions feel free to ping me
[21:20] <ronoc> Zombieff, what app are you planning to integrate ?
[21:21] <Zombieff> and how do I control a player? I want to integrate Deadbeef http://deadbeef.sourceforge.net/
[21:21] <ronoc> mpris2
[21:21] <Zombieff> is it the only way?
[21:21] <ronoc> Zombieff, that is current protocol supported yes
[21:22] <ronoc> Zombieff, why do you think there should be multiple protocols supported ?
[21:22] <Zombieff> and soundmenu automatically detects, what application is connected?
[21:22] <Zombieff> I just ask :)
[21:22] <ronoc> Zombieff, have a read of the wiki, what language is your app written in ?
[21:24] <Zombieff> C and C++
[21:24] <ronoc> perfect, you can use libindicate for the registration process
[21:24] <ronoc> and dbus using mpris2 for communication/control
[21:29] <ronoc> Zombieff, ^
[21:32] <Zombieff> yes, I see
[21:32] <Zombieff> thank you
[21:34] <Zombieff> so, server.show() informs soundmenu about new player?
[21:35] <Zombieff> ronoc, ^
[21:36] <ronoc> Zombieff, yes as long as the name of the libindicate server you create is prefixed with 'music'
[21:37] <Zombieff> and that's enough, the player just have to listen for d-bus messages?
[21:37] <ronoc> Zombieff, as long as the player has a dbus mpris2 interface yes
[21:37] <Zombieff> ok, thx
[21:37] <ronoc> no probs
[21:38] <ronoc> Zombieff, ping me anytime you have any questions
[21:38] <ronoc> the only app off to top of my head which registers and is written in C is Amarok
[21:38] <ronoc> nearly sure Amarok is written in C/C++
[21:39] <ronoc> you should try to fetch the amarok source
[21:39] <ronoc> apt-get source amarok
[21:39] <ronoc> should pull down the sound menu extension agateau worte
[21:39] <ronoc> s/worte/wrote
[21:46] <Zombieff> thank you for your ambition to help :)
[21:47] <Zombieff> *for