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