summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)AuthorFilesLines
2010-03-16Replace player return value magicLars-Dominik Braun1-1/+1
2010-03-16Fix player race conditionLars-Dominik Braun1-0/+3
Pressing any key before the player thread set mode to PLAYER_INITIALIZED lead to a song skip and spawning of another player thread. The two player threads were operating on the same variables/memory area, resulting in a crash. Adding a new player state (PLAYER_STARTING) and setting it _before_ invoking pthread_start should resolve this, 'cause the "if PLAYER_FREED-branch" is not taken any more, ergo no second player thread is started.
2010-03-06Added song length and rating to eventcmd, new songfinish eventLars-Dominik Braun1-2/+4
2010-03-06wardrobe: Removed internal last.fm scrobbling libraryLars-Dominik Braun1-39/+0
2010-02-14New feature: Bookmark song/artist (keybinding 'b')Lars-Dominik Braun1-1/+1
2010-02-05Use select instead of pollJordan Lewis1-16/+22
Fixes issue #8 (poll does not work with stdin on mac os x).
2010-01-21It's 2010 now.Lars-Dominik Braun1-1/+1
2010-01-18Shortcut refactoringLars-Dominik Braun1-6/+16
2009-12-15Rename libraries' main.c filesLars-Dominik Braun1-1/+0
2009-12-15Merge branch 'fuzzing'Lars-Dominik Braun1-25/+30
Fixes NULL-pointer dereferences and invalid memory reads.
2009-12-15New history featureLars-Dominik Braun1-24/+53
Default key is 'h', playlists are no longer part of PianoHandle_t now (=> libpiano's api changed)
2009-11-28Fix another NULL pointer dereferenceLars-Dominik Braun1-24/+29
2009-11-11Print message and stop playback when hitting libao errorLars-Dominik Braun1-1/+6
Thanks to jpfuentes2@github
2009-09-08C99 conformanceLars-Dominik Braun1-0/+3
2009-08-19Disable term buffering *before* doing anything elseLars-Dominik Braun1-3/+1
Usename won't be printed immediately otherwise Thanks to cpatrick@github
2009-07-11piano: Switched to ezxmlLars-Dominik Braun1-5/+0
Removes libxml2 bloat and (hopefully) most of the buggy/ugly xml code.
2009-07-02Enable echoing on early return, tooLars-Dominik Braun1-2/+5
See commit a6c521fecd91867c6e184106f4e63445d1cb158a
2009-06-28Finally clean up curl garbageLars-Dominik Braun1-2/+0
I missed some #includes. Documentation had to be updated, too.
2009-06-15Fix negative time displayLars-Dominik Braun1-6/+14
2009-05-29Re-enable terminal echoing on exitLars-Dominik Braun1-2/+13
2009-05-03Switch to libwaitressLars-Dominik Braun1-14/+9
2009-04-13More events addedLars-Dominik Braun1-3/+7
2009-04-11Read data from fifoLars-Dominik Braun1-9/+10
You may change your current station or add shared stations via fifo now
2009-04-11Don't mix low-level read() and stdioLars-Dominik Braun1-8/+11
...as suggested by > man fgetc
2009-04-10Goodbye readlineLars-Dominik Braun1-6/+8
"It's too big and too slow." -- man readline
2009-04-07Initial eventcmd workLars-Dominik Braun1-0/+4
More useful events should be added...
2009-04-04Forgot to close fifo...Lars-Dominik Braun1-1/+4
2009-04-04Initial remote control supportLars-Dominik Braun1-8/+33
2009-03-09Use icon for questions tooLars-Dominik Braun1-2/+4
2009-03-04Ui improvementsLars-Dominik Braun1-22/+18
printf wrapper introduced, hopefully cleaned up ui
2009-03-01Even more documentationLars-Dominik Braun1-14/+25
...and small cleanups.
2009-02-16Autostart station setting addedLars-Dominik Braun1-2/+12
You may define a station that is played when starting pianobar now.
2009-02-12(Hopfully) fix FPE -- againLars-Dominik Braun1-1/+2
Commit fcb1d460d459242dc30d033305db2cb9bf313f5e did only half of the work. Commit a2aee035072a5d346c187a890539f72c6d5167a0 introduced another division by zero.
2009-02-05Time display for mp3 playbackLars-Dominik Braun1-20/+11
Time is now counted in milliseconds, not aac frames. Calculations seem to be inaccurate sometimes (about +-2 seconds).
2009-02-01mp3 playback supportLars-Dominik Braun1-2/+3
Now libfaad and/or libmad are used for playback. There's currently no remaining time displayed for mp3 playback.
2009-01-31Switch build system to cmakeLars-Dominik Braun1-1/+1
lib{piano,wardrobe} are now static libraries and not installed any more.
2009-01-30Don't print version number and build date.Lars-Dominik Braun1-1/+1
Version number will not be incremented anyway...
2009-01-27piano: mp3 supportLars-Dominik Braun1-1/+2
Breaks api
2009-01-20It's 2009 nowLars-Dominik Braun1-1/+2
Update copyright notices, add my email address, but don't change libwardrobe (I'm not maintaining it anymore)
2008-09-13Insert newline after password readline ()Lars-Dominik Braun1-0/+1
2008-09-10Revert "Don't poll *that* often"Lars-Dominik Braun1-4/+1
This reverts commit a0235218909a33adbdc6eb4eb3afff2911a5987b. Song changes don't work sometimes.
2008-09-09Don't poll *that* oftenLars-Dominik Braun1-1/+4
2008-08-19Allow key shortcut configuration via config fileLars-Dominik Braun1-629/+50
Some code restructuring was made, too: - Move UI functions to ui.c and ui_act.c - Change default keys for loving and banning to + and -
2008-08-17Transform station before changing anythingLars-Dominik Braun1-12/+34
2008-08-14Fix reading from freed pointerLars-Dominik Braun1-2/+3
Introduced by commit 4878f5911d05af7bfa1917daf984dab0fd07eb42
2008-08-12Initial "narrative" implementationLars-Dominik Braun1-1/+15
"Why did you play this song?"
2008-08-11Temporary sort stations by name in BarUiSelectStationLars-Dominik Braun1-12/+70
2008-08-10Print some song infos when key 'i' is pressedLars-Dominik Braun1-0/+27
Users won't need these information, but I'm interested in them ;)
2008-08-05Show flags (shared, quickmix) in station selectorLars-Dominik Braun1-2/+5
2008-07-24Initial ReplayGain work (including anti-clipping)Lars-Dominik Braun1-0/+1
Could be tuned...