Open GoogleCodeExporter opened 9 years ago
Sorry, I'd selected wrong issue type.
Original comment by ahmad200...@gmail.com
on 28 Oct 2009 at 4:37
You can use patched version of FreeDCpp
http://narod.ru/disk/14475831000/Leliksan_24.10.09_to_r22.patch.html. Apply this
patch to r22 and you can use /exec to execute shell commands
Original comment by lelik...@gmail.com
on 30 Oct 2009 at 1:24
Okay, thank you!
Original comment by ahmad200...@gmail.com
on 30 Oct 2009 at 3:05
open file src linux\hub.cc
search line
else if (command == _("back"))
past
//rhythmbox
else if (command == _("rhythmbox") || command == _("rh")){
FILE *fp;
char line[130];
fp = popen("rhythmbox-client --print-playing","r");
fgets(line,sizeof line,fp);
pclose(fp);
hub->addStatusMessage_gui(_(line));
}
//audacious
else if (command == _("audacious") || command == _("aud")){
FILE *fp;
char line[130];
fp = popen("audtool --current-song","r");
fgets(line,sizeof line,fp);
pclose(fp);
hub->addStatusMessage_gui(_(line));
}
//amarok
else if (command == _("amarok") || command == _("amar")){
FILE *fp;
char line[130];
fp = popen("dcop amarok player nowPlaying","r");
fgets(line,sizeof line,fp);
pclose(fp);
hub->addStatusMessage_gui(_(line));
}
//kaffeine
else if (command == _("kaffeine") || command == _("kaff")){
FILE *fp;
char line[130];
fp = popen("dcop kaffeine KaffeineIface getFileName","r");
fgets(line,sizeof line,fp);
pclose(fp);
hub->addStatusMessage_gui(_(line));
}
compile rezult do command Playing Now
Original comment by peh...@gmail.com
on 18 Jan 2010 at 8:16
See Issue 17: Shell Output.
Original comment by troll.freedcpp@gmail.com
on 21 Jan 2010 at 8:09
Original issue reported on code.google.com by
ahmad200...@gmail.com
on 28 Oct 2009 at 4:36