1594 Commits

Author SHA1 Message Date
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
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
casey langen
8a20cede48 Upgraded to Android Studio 3, Canary 3. 2017-06-05 17:45:43 -07:00
casey langen
c4486b3158 Updated pause/blink style. 2017-06-05 17:45:29 -07:00
casey langen
09fb5f1f4b Added Stetho for easy Android debugging. Updated videocache aar. Added a
check to ensure range header is well formed (to > from).
2017-06-05 00:14:28 -07:00
casey langen
b2906e94c7 Version bump for upcoming release. 2017-06-04 19:12:25 -07:00
casey langen
6634db9ae0 Blink current time when paused, like old CD players used to. 2017-06-04 19:01:58 -07:00
casey langen
c5d88afd1c - Added buffering indicator in seekbar for transcoding streams; disallow
seeks past what's been buffered.
- Unified position of buffering indicator in MainMetadataView. Removed
  fades, they were super subtle and causing layout issues.
- Don't show the volume% unless we're in remoting mote
2017-06-04 12:00:44 -07:00
casey langen
3051ebf813 - Upgraded AndroidVideoCache to a custom build that fixes bugs related
to seeking while streaming when the backend returns an HTTP 200
  instead of a 206 (i.e. ignores a range request)
- Removed Vol+, Vol-, Seek>, and <Seek buttons in favor of current and
  total time controls with a seekbar.
- Removed LongPressTextView
- Added Snackbar notifications when switching streaming modes
2017-06-04 00:23:39 -07:00
casey langen
a613022209 Deliberately under-estimate the response length for the on-demand
transcoder. HTTP clients in the wild seem to, in general, get more
cranky when we over-estimate and close the stream too early.
2017-06-04 00:23:39 -07:00
casey langen
f48e321527 Added HttpServer runtime logging. Disabled by default. 2017-06-04 00:23:39 -07:00