Commit Graph

1333 Commits

Author SHA1 Message Date
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
casey langen
a1a343bda3 Create README.md 2017-06-03 13:47:25 -07:00
casey langen
29eabab4c6 Added a quick toggle for remote/streaming playback mode selection. 2017-06-03 13:46:32 -07:00
casey langen
5999ba3962 SDK version bump. Again. Hopefully the interfaces will be stable soon. 2017-06-03 13:46:03 -07:00
casey langen
629f8cb4a7 Android client updates that support displaying time (including syncing
and extrapolating from server timestamps)
2017-06-03 01:32:05 -07:00
casey langen
d7cbec1058 Added notification from server -> client if playback time is changed by
the user.
2017-06-03 01:31:14 -07:00
casey langen
a40fea7b21 Improved filename generation in the stream proxy and a couple other
minor fixes.
2017-06-02 21:50:04 -07:00
Casey Langen
45a81cb138 * Added a distinction between SystemService sleeping (no wakelock, but appears
active) and shutdown (no notification or lockscreen controls).
* Fixed bug where recovering from an HTTP error would cause the track to reset
  playback at the beginning
2017-05-31 14:12:22 -07:00
casey langen
ab11376356 Experimental changes that use AndroidVideoCache library as a local
streaming proxy -- it, in theory, controls caching and retries better
than OkHttp.
2017-05-31 01:00:58 -07:00
casey langen
a5b7ab5107 Added a bit of missing error handling to StreamingPlaybackService.
Surprising this hasn't caused problems yet.
2017-05-29 20:04:00 -07:00
casey langen
2d0978a3de Update README.md 2017-05-29 17:34:56 -07:00
Casey Langen
1a0361ed03 Added CMakeToolsHelpers as an OPTIONAL dependency in the main build file. This
allows for easy debugging in vscode environments.
2017-05-29 16:37:19 -07:00
casey langen
d75367b795 Update README.md 2017-05-29 14:42:42 -07:00
casey langen
d83dade88a Update README.md 2017-05-29 14:42:06 -07:00
casey langen
92d605e933 Cleaned up ServerOverlay UI to use new TextInput::StyleLine mode, and
also include additional transcoder settings.
2017-05-29 14:34:36 -07:00
casey langen
dfe8dc9693 Fixed Transcoder to behave properly (not cache files) if the file cache
size is set to zero.
2017-05-29 14:32:16 -07:00
casey langen
a282d71766 Fixed bug in TextInput where the display could get out of whack if the
string entered by the user is larger than the content width. Also added
StyleBox and StyleLine drawing modes.
2017-05-29 14:06:08 -07:00
casey langen
133f69e93b Fixed a bug where pruning the transcoder data cache could get stuck in
an infinite loop.
2017-05-29 07:33:04 -07:00
casey langen
a42532136f A couple crasher fixes that were hiding behind the inability to
hot-restart the websocket server on the backend.
2017-05-29 02:28:43 -07:00
casey langen
2140a9bc3e Version bump and CHANGELOG.txt to prep for release 2017-05-28 23:29:06 -07:00
casey langen
f3d5f0165a Unified ServerOverlay save key. 2017-05-28 23:23:10 -07:00
casey langen
f5ee491c48 Fixed .gitignore 2017-05-28 22:58:49 -07:00
casey langen
13a09cbb80 Fixed alsa, coreaudio, and pulseaudio plugins. 2017-05-28 22:30:47 -07:00
casey langen
6836af2aec - Added the ability to configure server settings in the app, as long as
the plugin is present and loaded.
- Fixed some color-related bugs in Checkbox
- Fixed some nasty bugs in Window that could cause views to be drawn
outside of parent or screen bounds, leading to curses crashes
- Added the ability for the app to get references to plugin preferences,
so it can create settings windows for them
- Fixed WebSocketServer so it can be shut down and restarted
2017-05-28 22:27:39 -07:00
casey langen
f132f778f0 Added Configurable(), Configure(), Reload() and Guid() methods to IPlugin. 2017-05-28 15:15:42 -07:00
casey langen
32f3b965e8 Fixed a bunch of missing (currently unused) responses discovered while
working on documentation.
2017-05-27 22:36:16 -07:00
casey langen
2c6dcb907f Added "minimize to tray" and "start minimized" to platforms that support
this functionality (currently only win32).
2017-05-27 13:55:12 -07:00
casey langen
025ad8825f Added client/server support for "Authorization" header in audio server. 2017-05-26 19:16:46 -07:00
casey langen
f3829564ca Renamed "contrib" to "plugins". 2017-05-22 17:10:35 -07:00
casey langen
24bf49408d More gracefully recover from streaming playback errors in
ExoPlayerWrapper.
2017-05-21 23:43:58 -07:00
casey langen
ba62116a16 Added downmuxing support to TranscodingDataStream for audio streams with
> 2 channels. Also added support for mono.
2017-05-21 23:10:33 -07:00
casey langen
167d7acacd Fixed support for transient loss of audio focus (e.g. for an incoming
call). Pause the music, then automatically resume when we retain focus.
2017-05-21 17:38:49 -07:00
casey langen
20a19218fb Added support for audio ducking (not just loss of focus). 2017-05-21 12:52:56 -07:00
casey langen
59b96d2891 Fixed potential NPE in MainMetadataView. 2017-05-20 16:54:24 -07:00
casey langen
519b1defa6 Version bump for release. 2017-05-19 20:05:49 -07:00
casey langen
3f36c8e61b Refactored and isolated all of the gross metadata and album art handling
code from MainActivity into MainMetadataView.
2017-05-19 19:45:22 -07:00
casey langen
9cf6cffef5 Fixed auto-next behavior and flashes when updating album art in the main
UI on old/slow devices.
2017-05-19 13:44:46 -07:00
casey langen
a67e05dcd2 More musikdroid client work:
1. fixed bugs around abusing the StreamingPlaybackService::next()
2. added album art to MediaSessionCompat implementation
3. minor refactors to the way AlbumArtModel works
4. added constants for preferences keys and defaults
2017-05-18 23:28:50 -07:00
casey langen
f57881c88e Generate stable track external IDs by hashing various file and metadata
fields. Playlists can now survive track table rebuilds.
2017-05-18 10:24:16 -07:00
casey langen
f8e201cb80 - fixed core library external id generation (use uuids instead of an
auto-incrementing int)
- ensure the web server plugin sends 'external_id' to clients
- allow user to configure streaming disk cache size on the android
  client
- some other android client ui cleanup
2017-05-17 23:17:24 -07:00
casey langen
646742214d A couple small but important updates to musikdroid:
(1) ensure playback is paused if/when the headset is unplugged
(2) added "double click" to go to next, and "triple click" to go to prev
2017-05-16 23:54:58 -07:00
Casey Langen
0201741689 Removed all uint32 and uint64 handling when dealing with sqlite and resource
ids. Use signed integers only. This simplifies things, and simplifies dealing
with these values in languages that don't natively support unsigned value
types, e.g. Java. It also slims down our SDK interfaces and implementations.
2017-05-16 11:17:35 -07:00
Casey Langen
002d0266e0 Added missing libhttpdatastream plugin. 2017-05-07 22:48:20 -07:00
Casey Langen
83e7ab880f Version bump to 0.13.0. 2017-05-07 22:36:28 -07:00
Casey Langen
83f09fad62 Updated HttpDataStream and Transcoder cache paths. 2017-05-07 22:34:41 -07:00
casey langen
3dca4ff746 Fixed memory leaks in TranscodingDataStream and HttpServer. 2017-05-06 11:40:59 -07:00