diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-07 22:48:52 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-04-07 22:48:52 +0200 |
commit | 575ae18234fa5f4d164457ab4f60616ad71b766a (patch) | |
tree | d22d3dcc59a32bbf9a80ca3fcb3941909e58adfc /src/main.c | |
parent | 1945a09a7b665a0c6a3980caa64c16c369bd8016 (diff) | |
download | pianobar-575ae18234fa5f4d164457ab4f60616ad71b766a.tar.gz pianobar-575ae18234fa5f4d164457ab4f60616ad71b766a.tar.bz2 pianobar-575ae18234fa5f4d164457ab4f60616ad71b766a.zip |
Initial eventcmd work
More useful events should be added...
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -231,6 +231,10 @@ int main (int argc, char **argv) { player.gain = curSong->fileGain; player.audioFormat = curSong->audioFormat; + /* throw event */ + BarUiStartEventCmd (&settings, "songstart", curStation, + curSong); + /* start player */ pthread_create (&playerThread, NULL, BarPlayerThread, &player); |