Commit Graph

470 Commits

Author SHA1 Message Date
clangen
548c18de36 Update README.md 2016-06-03 22:29:01 -07:00
casey
4d7aa33075 Added proper support for disc number as a first-class field on Track. 2016-06-03 22:22:45 -07:00
casey
52d01ffb7b - A bit of Transport.h header cleanup
- Ensure fields are using the correct keys for queries and data access
  (we were using ALBUM_ID, ARTIST_ID, GENRE_ID incorrectly).
2016-06-03 21:05:01 -07:00
casey
15a181a281 Fixed a bug where "PlaybackStopped" was getting triggered when it didn't
need to, leading to a slightly laggy UI in some cases.
2016-06-03 20:16:30 -07:00
casey
b286d83c78 - Ensure NowPlayingLayout always scrolls to the playing item when shown
- Fixed some resize bugs in LibraryLayout
- Automatically convert ALT_ keys to M- (meta) keys for Win32 builds.
2016-06-03 18:32:25 -07:00
Casey Langen
ffcc110430 More cleanups to CMakeLists and also fixed a top-level layout issue 2016-06-03 08:55:56 -07:00
Casey Langen
efc81d352a Cleaned up CMakeLists.txt in core and box. 2016-06-03 08:29:05 -07:00
Casey Langen
be34186303 Fixed compile on OSX. 2016-06-03 08:21:33 -07:00
casey
c418305b30 Library and now playing switching seems to work? 2016-06-03 02:04:41 -07:00
casey
40bc4d31ad Incremental work on the now playing list. It sort of works now, but
things are a bit goofy.
2016-06-02 23:01:22 -07:00
casey
535367d705 - Renamed MainLayout -> ConsoleLayout
- Refactored TrackListView to not deal with PlaybackService directly.
  This is the job of the "Controller" which doesn't exist yet.
- Tweaked LibraryLayout to act more like a Controller, and start
  playback when the user presses enter.
- Added a hacked up NowPlaying layout.
2016-06-02 21:45:44 -07:00
casey
8b14ddb5e8 A couple small but important fixes:
- Don't adjust scroll position in TrackListView after a requery if the
  query contents haven't actually changed
- Ensure resizing doesn't lose the selected item in ListWindow
- Added the concept of query hashes and generalized TrackListQueryBase
  so different types of queries can be supplied to a TrackListView.
2016-06-02 18:45:16 -07:00
Casey Langen
32965dd2af Added CoreAudioOut gapless playback support. 2016-06-01 22:34:22 -07:00
casey
a8f8425f91 Gapless playback seems to be working with waveout! Not perfect for all
MP3 files, but that's to be expected. TODO: CoreAudio changes to allow
gapless playback.
2016-06-01 21:51:39 -07:00
casey
6ec0a8042b Moving to a better asynchronous model and fixing those deadlocks
uncovered a handful of bugs. Hopefully this is the last one -- ensure
the next prepared track always gets played.
2016-06-01 01:32:12 -07:00
Casey Langen
c1d902766d One final bug fix for the evening: ensure buffers are flushed from the output device as part of stop(). 2016-06-01 01:22:14 -07:00
Casey Langen
5bf48ff243 Added new file to CMakeLists.txt 2016-06-01 01:02:05 -07:00
casey
c364175f75 Rough night, found and fixed another deadlock. 2016-06-01 00:55:14 -07:00
casey
916823000c Don't wait indefinitely for WaveOut to close, and also fixed a stop-related bug. 2016-06-01 00:30:46 -07:00
casey
76445b658f Hush compiler warnings. 2016-06-01 00:15:42 -07:00
casey
4fe8f1fe10 - Don't raise the "Stopped" event in transport unless we're actually stopped (more bug fixes)
- Fixed PlaybackService to actually listen to PlaybackEvent
2016-06-01 00:14:14 -07:00
casey
9c7fdbdb87 - Fixed a bug in Transport where a "PlaybackStopped" event could be triggered erroneously
- Simplified TransportWindow to use PlaybackService.TrackChanged instead of manually querying the DB
2016-06-01 00:03:41 -07:00
casey
9f2a04bf78 A couple small color tweaks to make the currently playing track more obvious. 2016-05-31 22:36:09 -07:00
casey
adbe9bf859 - Fixed another potential deadlock in Transport.cpp
- Fixed TrackListViewQuery to set the correct track id on queried tracks
- Fixed PlaylistService to use MessageQueue to deliver results and avoid race conditions
- Tweaked TrackListView to highlight the currently playing track in yellow
2016-05-31 22:25:32 -07:00
casey
c9630312ef Added album separators in TrackListView, and cleaned up IScrollAdapter::IEntry interface in the process. 2016-05-31 21:27:49 -07:00
clangen
6793be3ae8 Update README.md 2016-05-30 22:17:46 -07:00
clangen
a89cdd9672 Update README.md 2016-05-30 22:17:23 -07:00
clangen
eb437815ab Update README.md 2016-05-30 22:03:36 -07:00
clangen
0c85bd13db Update README.md 2016-05-30 21:45:13 -07:00
clangen
74042d2287 Update README.md 2016-05-30 21:38:54 -07:00
clangen
c85960f393 Update README.md 2016-05-30 21:38:10 -07:00
casey
c737c66d35 Renamed "audioengine.sln" to "musikcube.sln" and removed the non-compiling projects. They will be added back as they are repaired. 2016-05-30 21:37:46 -07:00
clangen
b52a96a051 Update README.md 2016-05-30 21:33:58 -07:00
casey
067928b14d Added a couple screenshots. 2016-05-30 21:31:19 -07:00
clangen
41aa249dc6 Update README.md 2016-05-30 20:09:38 -07:00
clangen
2c9f131ce9 Update README.md 2016-05-30 18:36:41 -07:00
Casey Langen
c812739d28 Removed 3rdparty CMakeLists.txt. Just include this as part of libmusikcore. 2016-05-30 11:49:24 -07:00
Casey Langen
3da84981e1 Only conditionally include clang 3.7 enable_shared_from_this<> hack. 2016-05-30 11:37:54 -07:00
clangen
af433288f5 Update README.md 2016-05-30 01:32:37 -07:00
clangen
e5af2519d9 Update README.md 2016-05-30 01:29:26 -07:00
Casey Langen
d4fc446068 Removed a couple more obsolete directories. 2016-05-30 01:28:37 -07:00
clangen
a6f8fa13e0 Update README.md 2016-05-30 01:26:43 -07:00
clangen
72adeae625 Create README.md 2016-05-30 01:26:08 -07:00
Casey Langen
6ba643a2cc - Added stderr redirect to file (or /dev/null) based on platform and build config
- Added Window::Invalidate() that can be called to force a full refresh
2016-05-29 22:00:43 -07:00
Casey Langen
9400c65a61 Removed some unnecessary junk from plugin CMakeLists.txt 2016-05-29 22:00:13 -07:00
Casey Langen
ab12416976 An attempt to fix executable path resolution in Linux. 2016-05-29 21:17:07 -07:00
Casey Langen
e4eb083aca Use werase() instead of wclear(). This seems to fix up the funky redraw issues when using Terminal.app and using musikbox over ssh. 2016-05-29 18:32:57 -07:00
Casey Langen
7b4885995b A couple small fixes that should allow things to (almost) compile in Linux. 2016-05-29 18:20:48 -07:00
casey
d312932210 - Fixed plugins to match on case-insensitive filenames
- Added musik::sdk::endsWith (but now having seconds thoughts...)
- Fixed mpg123 decoder to work in windows, in favor of the old Tuniac
  one.
2016-05-29 11:38:15 -07:00
casey
4f8294169d Added missing flacdecoder file, and also debounced KEY_RESIZE event
handling.
2016-05-29 10:29:39 -07:00