summaryrefslogtreecommitdiff
path: root/src/ui_act.c
AgeCommit message (Collapse)AuthorFilesLines
2013-08-07piano: Generic linked listsLars-Dominik Braun1-24/+13
Introduces generic linked list structure and functions (like append, delete, …). Removes a lot of copy&pasted code and improves code readability/reusability. Heads up: This change breaks libpiano’s ABI.
2013-07-07Add keyboard shortcut to reset volumeLars-Dominik Braun1-4/+14
Closes #377.
2013-03-27Add missing events to genre station selectionLars-Dominik Braun1-2/+68
Two new events: stationfetchgenre, stationaddgenre
2013-03-20Fix station name when deleting a stationLars-Dominik Braun1-1/+1
2013-03-20Transform actual station when loving/banning songsLars-Dominik Braun1-2/+16
Loving/banning a song from a shared station while playing quickmix resulted in “call not allowed”, because we tried to transform the quickmix instead of the song’s real station. Fixes #354.
2013-02-26Add play and pause commandsAdam Simpkins1-9/+27
Add commands that always play and always pause, in addition to the current toggle pause command. Closes #342.
2012-07-06Add feature: Create new station from selected songLars-Dominik Braun1-6/+41
New keybinding ‘v’, new setting act_createstationfromsong.
2012-06-26piano: Remove move songLars-Dominik Braun1-37/+0
Doesn’t work with JSON API. See #280.
2012-06-14piano: Remove unused structLars-Dominik Braun1-10/+6
2012-05-26Revert "Remove pause mutex/add pthread cleanup function"Lars-Dominik Braun1-16/+9
This reverts commit 7df9371491e96a99c1e463f7787aede352ac5a37.
2012-05-26Revert "Fix player thread teardown/signals on OS X"Lars-Dominik Braun1-4/+0
This reverts commit f6dffd1822404522b8354ac453a911a0d98bfc61.
2012-05-17Fix player thread teardown/signals on OS XLars-Dominik Braun1-0/+4
1) Realtime signals don’t exist in OS X 2) libao apparently locks a mutex in ao_play, which is locked again in ao_close and causes a deadlock Closes #256, although I’m considering the option of partially reverting 7df9371491e96a99c1e463f7787aede352ac5a37, as this introduces more nasty behavior than it solves.
2012-05-14Remove pause mutex/add pthread cleanup functionLars-Dominik Braun1-9/+16
No more mutex locking/checking for quit condition. Should (slightly) increase responsiveness of the player thread. Closes #250.
2012-05-02Really delete seed suggestionsLars-Dominik Braun1-2/+2
There does not seem to be an API call for that.
2012-05-01piano: Move to JSON API (v5)Lars-Dominik Braun1-4/+2
In random order: Thanks to Chris Eby for his work on pithos, to an anonymous coward for sending me his Android client, to Alex Howard for sending me the webOS client, to ZigZagJoe for providing a temporary fix and thanks to everyone who sent Pandora a message. Although there are a few rough edges here and there this fixes #236.
2012-04-20Don’t unlock mutex that is not lockedLars-Dominik Braun1-1/+3
Strict pthread implementations (like OpenBSD’s rthreads with PTHREAD_MUTEX_TYPE_STRICT_NP set) don’t allow unlocking a mutex that is not locked, resulting in abort() being called. Always aquiring the lock before unlocking it while skipping to the next song fixes this. Thanks to David Coppa.
2012-03-17Auto-select last remaining item of filtered listLars-Dominik Braun1-4/+5
See #231.
2011-12-23Fix warnings found by -WshadowLars-Dominik Braun1-12/+12
2011-11-19Dymanic station management questionLars-Dominik Braun1-4/+46
Enable/disable delete options depending on availability.
2011-11-09piano: Protocol version bump (v33)Lars-Dominik Braun1-4/+2
addFeedback call changed. Input keys changed. Thanks to ZigZagJoe. Closes #171
2011-10-22Support seed stationsLars-Dominik Braun1-6/+21
Fixes #165
2011-09-22piano: Protocol version bump (v32)Lars-Dominik Braun1-3/+3
Keys stay the same. Quickmix and seed suggestion API calls changed. Listener id is not part of the url any more. Bookmark API calls seem to be deprecated.
2011-07-29Fix quickmix station filteringLars-Dominik Braun1-0/+5
Regression introduced by 0728b6a89de607e211bbc075b34f08495ac0d22f
2011-07-25Added toggle to quickmix menuLars-Dominik Braun1-3/+41
Closes #141
2011-06-26Send metadata of song related to event to eventcmdLars-Dominik Braun1-1/+1
...instead of the current song. Closes #131.
2011-05-18Configureable format stringsLars-Dominik Braun1-44/+41
Closes #88
2011-05-05Replace generic "search for artist/title" messageLars-Dominik Braun1-2/+4
Closes #115
2011-04-04Expose songDetailUrl to eventcmd scriptLars-Dominik Braun1-0/+2
See #99.
2011-03-26Filter-/searchable song listLars-Dominik Braun1-1/+1
2011-03-21Need more spaceLars-Dominik Braun1-3/+3
2011-03-21Enable delete seed in station managerLars-Dominik Braun1-2/+16
2011-03-21Enable delete feedback in station managerLars-Dominik Braun1-1/+3
2011-03-21Initial station managerLars-Dominik Braun1-0/+42
Not functional yet.
2011-02-26Always add song to historyLars-Dominik Braun1-3/+7
2011-02-26Rewrite input processingLars-Dominik Braun1-161/+97
2011-02-02BarReadline rewriteLars-Dominik Braun1-14/+16
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-1/+1
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/+8
See issue #76
2010-12-27Change my email addressLars-Dominik Braun1-1/+1
Again. And hopefully the last time.
2010-12-27Software volume controlLars-Dominik Braun1-0/+18
2010-12-09History: Add tired keybindingLars-Dominik Braun1-5/+14
2010-11-23Add support for art covers included in the XML playlist from pandora.Juan C. Muller1-1/+4
See issue #56
2010-11-21Show custom rating icon in upcoming/history song listLars-Dominik Braun1-9/+5
Closes issue #54
2010-11-06Protocol version bump (v29)Lars-Dominik Braun1-2/+1
- New crypto keys (thanks to ZigZagJoe for extracting them) - addTiredSong api changed - song identity not needed any more => removed from libpiano
2010-10-25Use BarApp_t in BarUiPianoCallLars-Dominik Braun1-17/+15
Required for automatic reauthentication
2010-08-01Fix addFeedbackLars-Dominik Braun1-5/+5
Pandora seems to have dropped focusTraitId and matchingSeed. New arguments to addFeedback are testStrategy and songType -- no idea what they are doing right now. Beware: Incompatible libpiano abi change!
2010-07-31Common piano/eventcmd calls replaced by macrosLars-Dominik Braun1-56/+42
Less error-prone copy&paste :)
2010-07-31Replaced long argument list of ui callback functionsLars-Dominik Braun1-147/+153
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-3/+5
Sort stations by name and/or isquickmix.