summaryrefslogtreecommitdiff
path: root/src/main.c
AgeCommit message (Collapse)AuthorFilesLines
2011-02-26Rewrite input processingLars-Dominik Braun1-23/+4
2011-02-07Add eventcmd events for login/fetch stationsLars-Dominik Braun1-9/+11
See issue #83
2011-02-02BarReadline rewriteLars-Dominik Braun1-53/+30
Doesn't use c streams any more, allows multiplexing of fifo/stdin in all situations.
2011-02-02Allow keyboard shortcuts to be disabledLars-Dominik Braun1-5/+10
Something like act_foobar = disabled disables the command foobar completely now. Useful if you don't use software volume control. See issue #78.
2011-01-15Send station list to eventcmdMatthew Beckler1-4/+5
See issue #76
2010-12-27Fix high cpu usage if stdin is /dev/nullLars-Dominik Braun1-0/+4
See issue #71.
2010-12-27Change my email addressLars-Dominik Braun1-1/+1
Again. And hopefully the last time.
2010-12-27Use PATH_MAX from limits.hLars-Dominik Braun1-2/+2
2010-12-27Software volume controlLars-Dominik Braun1-1/+3
2010-12-14Refactored main()castlec1-263/+345
No functional changes.
2010-11-21Show custom rating icon in upcoming/history song listLars-Dominik Braun1-1/+2
Closes issue #54
2010-10-25Use BarApp_t in BarUiPianoCallLars-Dominik Braun1-6/+6
Required for automatic reauthentication
2010-10-18Initialize main fd arrayLars-Dominik Braun1-2/+2
Cherry-picked from Josh Elsasser's unixsocket patch.
2010-08-21Preparing for release 2010.08.212010.08.21Lars-Dominik Braun1-1/+2
2010-08-09Make something useful with misc.sync responseLars-Dominik Braun1-0/+1
Calculcate offset to time() and use that offset to avoid out of sync errors.
2010-07-31Replaced long argument list of ui callback functionsLars-Dominik Braun1-111/+105
Structure BarApp_t contains most important data now.
2010-07-30Use static const for large read-only arraysLars-Dominik Braun1-1/+1
2010-07-30Feature: Custom station sortingLars-Dominik Braun1-1/+2
Sort stations by name and/or isquickmix.
2010-07-30Control proxy overrides global proxyLars-Dominik Braun1-5/+5
Now the control proxy setting overrides $http_proxy environment variable and proxy config setting.
2010-05-09HTTP proxy supportLars-Dominik Braun1-2/+20
control_proxy pipes xmlrpc data through the proxy, this one is for the music too.
2010-04-20Show small hint about keybinding help at startupLars-Dominik Braun1-2/+3
See bug #23
2010-04-06Use new libpiano apiLars-Dominik Braun1-21/+47
Adds error messages to libwaitress, too. Eventcmd implementation is quick&dirty, needs to be rewritten.
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