Commit Graph

1537 Commits

Author SHA1 Message Date
Casey Langen
21cb6e8820 Updated CHANGELOG and README with new hotkey info. 2017-06-27 07:16:15 -07:00
casey langen
46fbdef99d * Fixed a bug in GetPlaylistQuery -- it was using a select DISTINCT, which was
de-duping tracks -- but a playlist can certainly contain the same track
  multiple times

* Fixed a bug in SavePlaylistQuery where appending to a playlist would use the
  last sort_order value, instead of one after the next

* Added support for adding tracks and categories to the currently visible
  playlist with automatic updating

* Cleaned up PlayQueueOverlays.cpp a bit by removing a bunch of unnecessary
  namespace prefixes
2017-06-26 22:48:08 -07:00
casey langen
4ed0ca3378 Fixed cursespp bug where views may redraw when their parent views are
not visible.
2017-06-26 20:28:16 -07:00
casey langen
0a81ea131d Bumped version for release and fixed a couple minor bugs. 2017-06-26 19:24:21 -07:00
casey langen
151611fe64 Added support for IWindow/Window frame titles; use them in BrowseLayout
and NowPlayingLayout. Removed special view title complexity in
BrowseLayout.
2017-06-26 16:56:47 -07:00
casey langen
b3b210cb22 Edge case -- don't refresh playlists in browse while syncing. Hopefully
there aren't any more of these, otherwise we may want to implement a
custom browse screen.
2017-06-26 09:51:37 -07:00
casey langen
1ae8dee1fc Added support for deleting and renaming playlists in browse view. 2017-06-26 00:19:29 -07:00
casey langen
33468e0263 - Updated ILibrary (and LocalLibrary) to allow for query-specific
callbacks without using sigslot!
- Added support for new playlist creation and playlist saving in
  browse view! getting closer to *real* playlist support.
2017-06-25 23:44:59 -07:00
casey langen
72af480c7b Incremental work to support playlist browse:
1. New SavePlaylistQuery functionality to allow saving or appending a
   playlist from a category query. Delegates a lot of the heavy lifting
   to CategoryTrackListQuery
2. Added overlay functionality for creating and appending to playlists
2017-06-23 23:27:53 -07:00
casey langen
f0e5cb998e First set of work required to support "playlist" browse category:
1. Updated TrackListView public interface to expose more information
   required for Browse to understand if the current list can be edited.
2. Added edit operations to BrowseLayout. Similar to those in
   NowPlayingLayout, but slightly modified for this new use case.
3. Updated CategoryTrackListQuery to treat playlists as a category. this
   works by delegating the heavy lifting to GetPlaylistQuery
4. Added a new hotkey to switch to playlist category browse.
5. Updated strings.
2017-06-23 17:36:12 -07:00
casey langen
5cbfdb6458 Removed AlbumArtModel.AlbumArtCallback; use plain-old-lambdas instead! 2017-06-23 17:29:58 -07:00
casey langen
97af88ee15 Update README.md 2017-06-21 12:39:50 -07:00
casey langen
937e7c03d8 Update README.md 2017-06-21 12:38:58 -07:00
casey langen
c2b47a02b5 * Fixed a bug in PlayQueueActivity where it wasn't updating properly while
starting playback on an empty screen.
* cleaned up a bunch of getColor() warnings using a couple class extension methods.
* Optimized imports.
2017-06-21 12:36:11 -07:00
casey langen
b13c19b2ac - Fixed empty play queue behavior in streaming mode
- Fixed blinking current time bug introduced in Kotlin refactor
- Updated code style and nullability checking in TracklistSlidingWindow
  to be more idiomatic
2017-06-20 23:58:36 -07:00
casey langen
e86cec10ea Converted remaining Java code to Kotlin. Not everything is completely
idiomatic yet, but this is a great start.
2017-06-20 21:10:22 -07:00
casey langen
bfbd4db5e5 Bumped to 0.17.2, fixed startup crashes caused non-latin usernames. 2017-06-18 14:11:06 -07:00
casey langen
5128a1f416 Version bump for 0.17.1 (win32 dll crt fix) 2017-06-18 09:33:40 -07:00
casey langen
6c2f77cdc9 Updated libcurl.dll and libmp3lame.dll to link against the correct C
runtime with the correct flags so the VC140 redist doesn't need to be
installed.
2017-06-18 09:33:40 -07:00
casey langen
95751fa79a Update README.md 2017-06-17 23:07:06 -07:00
casey langen
0ed9a1114a Update README.md 2017-06-17 22:57:50 -07:00
casey langen
57692d93dc Update README.md 2017-06-17 22:48:47 -07:00
casey langen
f77023f121 Update README.md 2017-06-17 22:42:06 -07:00
casey langen
c50c93ca6f Update README.md 2017-06-17 22:41:44 -07:00
casey langen
4e41a5a463 Version bump musikdroid to 0.10.1. 2017-06-17 18:46:17 -07:00
casey langen
7ef6742781 Removed retrolambda from the app's dependency list. Not used anymore. 2017-06-17 16:17:15 -07:00
casey langen
c61ac7d2e2 - added empty and disconnected messaging in metadata screens
- fixed a bug in StreamingPlaybackService that could result in a crash
- upgraded kotlin tooling version
2017-06-17 16:15:51 -07:00
casey langen
3cf98debea Added fabric.io for crash reporting. 2017-06-16 12:00:41 -07:00
casey langen
ee2d5415a6 Fixed StreamingPlaybackService's query factory so it always returns
something. Returning null to callers is dangerous.
2017-06-16 11:54:59 -07:00
casey langen
f2286f2534 Upgraded to the new Android Studio 3.0 alpha. 2017-06-15 23:51:28 -07:00
casey langen
84a7934739 Updated dependencies (RxJava, support libraries, exoplayer) 2017-06-15 13:45:48 -07:00
casey langen
986ad74e4d Enable "offline songs" for both streaming and remote, and have a prompt
if attempting to use it from remote mode. This should be more straight
forward than having it disabled by default.
2017-06-14 20:46:51 -07:00
casey langen
e6ddac0fee Version bump for Android app. 2017-06-14 17:42:29 -07:00
casey langen
809ed40cf5 Ensure the "offline songs" title gets set in the TrackListActivity
appropriately.
2017-06-13 22:33:46 -07:00
casey langen
acb344375c Updated version and CHANGELOG for 0.17.0 -- should be ready for a
release soon.
2017-06-13 11:32:28 -07:00
casey langen
267c7fd8a8 Fixed TranscodingDataStream detach tolerance to be dynamic per request. 2017-06-13 11:07:18 -07:00
casey langen
10e35974f5 Fixed filename generation that broke in StreamProxy after converting to
Kotlin.
2017-06-13 10:43:12 -07:00
casey langen
ccd59ae92b Added filtering to offline cache. 2017-06-13 10:35:47 -07:00
casey langen
1d8cfd8c7c Fixed StreamProxy filename generation to take url params into account.
Also converted StreamProxy to kotlin.
2017-06-13 10:22:21 -07:00
casey langen
8a04959d6b Fixed TranscodingDataStream to continue transcoding after an explicit
Close() for about 100k worth of data. This should generally be enough to
finish off any rounding errors caused by calculating Content-Length.
2017-06-13 09:34:25 -07:00
casey langen
6ce475b9ac - Fixed race condition in WebSocketService when handling intercepted messages after a disconnect.
- Changed the way errors are handled so they are, in general, treated as non-fatals.
- Fixed a bug in the offline track interceptor that would erroneously intercept requests it shouldn't
2017-06-13 00:43:00 -07:00
casey langen
3bce961cb5 First chunk of work required to support offline playback. 2017-06-12 21:31:09 -07:00
casey langen
5222418123 Added missing "track_num" metadata to track resource. 2017-06-12 20:03:39 -07:00
casey langen
2852648c5b Fixed single instance checks to run much earlier, so we don't initialize
anything (library, output devices, indexer, etc) if we haveh to die
immediately.
2017-06-12 10:31:06 -07:00
casey langen
8344255b18 Ensure se free shcore.dll after loading it dynamically to ensure dpi
scaling is properly configured.
2017-06-11 22:58:43 -07:00
casey langen
aad227681d Correctly set "dpi awarness" in win32, making the app automatically
scale properly for high dpi displays.
2017-06-11 21:54:23 -07:00
casey langen
2e2ee29cbb A couple changes to support "single instance" mode in win32. 2017-06-09 15:24:58 -07:00
casey langen
a60f33fa19 Converted PlayerWrapper, MediaPlayerWrapper, ExoPlayerWrapper to Kotlin
to mess around. The rest of the project will probably follow over the
next few weeks.
2017-06-07 20:35:03 -07:00
casey langen
1e93ab2162 Fixed some comments in TranscodingDataStream. 2017-06-07 20:34:49 -07:00
casey langen
0dcee7291a Upgraded to boost 1.64.0 final (from beta2). 2017-06-07 19:52:50 -07:00