You are not logged in.
Pages: 1
MocIcon
Today, I wrote a program called MocIcon *music on console icon* which is a gtk app written in C that gives you access to basic moc functions in the tray.
Inspired by Moc-tray, I wrote this app primarily because I hate Perl, so bloated and heavy, so i decided to write a nice little GTK app in C (under 100 SLOC)
features:
-Start/Stop Server
-Play/Pause song
-Next/Previous
upcoming features:
-Icons for the items using GTK's stock icons
-Information with notify-send.
-Rewrite of redundant parts (if you read the code you'll get it)
-Mouse over for current song
I don't have anywere to store it, but it's small so i'll include it here, To compile it run:
gcc -Wall -g mocicon.c -o mocicon `pkg-config --cflags --libs gtk+-2.0`
Comments and Suggestions would be greatly appreciated!
-Calvin
Last edited by crazycal00 (2009-12-16 01:12:30)
Offline
that'd be great! I haven't a server of my own, but i'd like this to be online and available.
Last edited by crazycal00 (2009-12-13 22:36:28)
Offline
Version 0.1.1 is out!
fixed a few bugs, cleaned up code
get it:
http://mocicon.archuser.com/source/moci … .1.tar.bz2
Last edited by crazycal00 (2009-12-16 00:51:18)
Offline
You messed up the link... here's a fixed link.
Moc-0.1.1.tar.bz2
Offline
Great application, very usefull. You could display current playing information with notify-send, fast and cheap. Also would be great if you could provide some file/directory selection dialog to change playlist.
There is no knowledge that is not power!
Offline
I am rewriting the application to really communicate with mocp rather than spawning commands,
should make it simpler to get information/playlist/anything else you want!
crazycal00 (account got messed up)
Offline
now where i can get the source of mocicon?
Offline
I have launched a sourceforge project, the most simple way of keeping things running.
Offline
Pages: 1