Commit Graph

1566 Commits

Author SHA1 Message Date
casey langen
3f85bf00e3 Updated WebSocketServer to support creating new playlists from
subqueries, the same way appending playlists does.
2017-11-06 17:57:13 -08:00
casey langen
d73178ed4e A handful of additions, speed-ups, and new features:
1. Optimized AppendPlaylistQuery and TrackMetadataQuery to not query
extraneous metadata -- only the required IDs.

2. Updated the `append_to_playlist` command in the remote server to
allow for track subqueries -- `query_tracks` and
`query_tracks_by_category` are both supported.

3. Fixed bugs in `WebSocketServer::RespondWithSuccess` and
`WebSocketServer::RespondWithFailure` where the `success` flag was not
being properly returned.
2017-11-06 01:00:40 -08:00
casey langen
47c2fa3f82 Fixed notification icon color. 2017-11-03 10:30:52 -07:00
casey langen
752f2a9efe Revert "More aggressively release playback WakeLock after stream downloads have"
This reverts commit 6bf1dceac1.
2017-11-03 10:30:37 -07:00
casey langen
6bf1dceac1 More aggressively release playback WakeLock after stream downloads have
finished. The WakeLock will be re-acquired when subsequent songs are
pre-loading (or loading).
2017-11-02 23:14:04 -07:00
casey langen
fd7fa4d6a9 - Added support for album-level album art (previously only worked at the
track-level). Updated queries accordingly.
- Added support for vending album art ids in the web socket server
- Added support for returning album art data in the http serfver
- Fixed debug build against the latest version of visual studio 2017
  (the wrong platform sdk version was selected in the project files)
2017-11-01 21:31:30 -07:00
casey langen
c02d824235 Added support for creating Ubuntu 17.10 (Artsy) packages. 2017-11-01 13:44:51 -07:00
casey langen
c5432baa5a Removed some dead code in Connection 2017-11-01 13:44:51 -07:00
casey langen
9e2672627d Updated to Android Studio 3.0 final. 2017-11-01 13:44:51 -07:00
casey langen
a5209ab1fd Added missing file to CMakeLists.txt. Compiles on Linux and macOS again. 2017-10-27 10:10:31 -07:00
casey langen
996477fa99 Update README.md 2017-10-15 01:26:53 -07:00
casey langen
f6d2bedf83 Updated to the most recent version of Android Studio 3 beta, and also
added a couple missing request constants.
2017-10-09 01:07:20 -07:00
casey langen
0dc63f867d Added ISimpleDataProvider::AppendToPlaylist with both track IDs and
track "external" ids. Also patched in support for this in the server
plugin.
2017-10-09 01:05:32 -07:00
casey langen
3986a581dc SDK version bump. 2017-10-08 21:41:37 -07:00
Casey Langen
cd4e15555f Error and warning cleanup for macOS (and Linux) 2017-10-08 20:49:09 -07:00
casey langen
8c1627c4e3 Migrated all Destroy() methods to be Release() instead. Freeing SDK
resources is now consistent.
2017-10-08 13:56:24 -07:00
casey langen
1e2159d434 Moved Release() into IResource, and made ITrack a type of IMap. 2017-10-01 21:58:53 -07:00
casey langen
fae098b668 FINALLY removed IRetainedTrack and RetainedTrack. Now we just have
ITrack.
2017-10-01 21:40:10 -07:00
casey langen
6f2af2cb16 Got rid of IRetainedTagStore -- only ITagStore is necessary now.
Next up: IRetainedTrack... hopefully.
2017-10-01 20:58:44 -07:00
casey langen
a864efb1bc Track abstract class now only directly implements ITrack. TagStore has
been extracted, and implements ITagStore and delegates to Track
implementation.
2017-10-01 20:45:53 -07:00
casey langen
2f119b7c06 TrackList no longer implements ITrackListEditor. Instead, we have a new
TrackListEditor implementation that may be constructed with a TrackList
instance.
2017-10-01 20:32:21 -07:00
casey langen
b8069098af IRetainedTrackWriter -> IRetainedTrackStore. Also fixed Release()
methods that use reference counts.
2017-10-01 16:11:21 -07:00
casey langen
d87d3f3f2c GetResourceType -> GetClass, GetResourceType -> GetType 2017-10-01 15:59:45 -07:00
casey langen
fddb7ca114 SDK naming cleanup:
New interface: IResource
IMetadataValue -> IValue : public IResource
IMetadataValueList -> IValueList
IMetadataMap -> IMap : public IResource
IMetadataMapList -> IMapList
IMetadataReader -> ITagReader
ITrackWriter -> ITrackStore
2017-10-01 13:38:12 -07:00
casey langen
41c4f9bbf1 Added the ability to create playlists via ISimpleDataProvider using both
stable (external) ids, and non-stable ids.
2017-10-01 00:38:11 -07:00
casey langen
acd5a94c10 Allow for playlists to be created through ISimpleDataProvider with an
empty tracklist.
2017-09-30 23:57:21 -07:00
casey langen
0fcd05dc2c Added the ability for remote clients to create, rename, and delete
playlists. Note that this functionality was not added to the remote
clients yet, only to the core SDK and to the websocket plugin.

Specifically, updated ISimpleDataProvider interface with the following
methods:

  1. SavePlaylist()
  2. RenamePlaylist()
  3. DeletePlaylist()

Then added the following messages to the server plugin:

  1. save_playlist
  2. rename_playlist
  3. delete_playlist
2017-09-30 23:27:57 -07:00
casey langen
50f4551b2c Cleaned up some compiler warnings. 2017-09-30 21:00:40 -07:00
casey langen
47a2abc6cd Fixed a crash in StreamingPlaybackService and bumped the version. 2017-09-24 23:07:38 -07:00
casey langen
1479ddac80 Version bump to 0.26.0 2017-09-19 21:52:21 -07:00
casey langen
ef933c3649 Added the ability to overwrite UP/DOWN/LEFT/PAGE_UP/PAGE_DOWN/HOME/END
keys via `hotkeys.json` to allow for vim-like bindings.
2017-09-11 17:23:12 -07:00
casey langen
b71d5768de Fixed a bug that could cause focus to get completely lost if the
transport is focused while switching between main views.
2017-09-11 01:00:40 -07:00
casey langen
e3536d188d Updated CHANGELOG for 0.25.2 2017-09-08 21:03:37 -07:00
casey langen
a27ca8fc09 Version bump for 0.25.2 release 2017-09-08 20:55:12 -07:00
casey langen
1d3b0ba9fd Updated to Android Studio 3 Beta 5 2017-09-08 20:53:52 -07:00
casey langen
58b066ed4b Added some checks to MultiByteToWideChar and WideCharToMultiByte methods
to ensure we don't try to allocate, then assign a zero-length buffer to
a std::basic_string<T> -- this could cause an access violation,
depending on how long it takes to get to the first null value.

Also updated to boost 1.65 on Windows.
2017-09-06 21:26:11 -07:00
casey langen
f3cbcb22f4 Updated to project files to use latest version of the Windows 10 SDK. 2017-09-04 22:39:28 -07:00
casey langen
92db2d7006 updated to android studio 3 beta 4, fixed a crash, fixed some warnings, suppressed some warnings. 2017-09-02 11:54:51 -07:00
casey langen
714fb62d17 Added a setting for enabling indexer logging. Should be useful for
helping users discover corrupted tags.
2017-08-29 18:16:24 -07:00
casey langen
b3e22a600a Updated copyright in comments to 2017 (was 2016). 2017-08-27 19:27:37 -07:00
casey langen
1247348924 Added the ability to rename connection presets in the Android client. 2017-08-26 14:34:31 -07:00
casey langen
2e222d5f39 Fixed a bug that turned up on fabric when SystemService is running in
the background. Strange this hasn't surfaced before.
2017-08-25 19:06:58 -07:00
casey langen
e5a7b2924e Fixed a bug in FlacDecoder::Exhausted 2017-08-24 19:33:14 -07:00
casey langen
2bf4a5e425 Recompiled libFLAC_static against the latest VS2017 SDK. 2017-08-24 18:19:21 -07:00
casey langen
96b4b2cb69 musikcube version bump to 0.25.0 2017-08-24 17:46:37 -07:00
casey langen
b25f31bb02 Updated boost to 1.62.0 on zesty. 2017-08-24 17:39:34 -07:00
casey langen
fd076c42eb Updated CMakeLists.txt to allow for easier cross-distro deb generation. 2017-08-24 17:32:15 -07:00
casey langen
2ae4a56a10 - Updated to Android Studio 3 Beta 3.
- Bumped version for upcoming release
2017-08-24 17:13:58 -07:00
casey langen
bb08f82c54 Addresses a NumberFormatExcecption in SettingsActivity when the port
number entered by the user is > MAX_INT
2017-08-24 10:37:29 -07:00
casey langen
e38e8d2ea7 Ensure sampleBuffer is valid before trying to copy data (#151). 2017-08-23 22:04:42 -07:00