Commit Graph

1723 Commits

Author SHA1 Message Date
casey langen
b4f8bf60aa Moved HttpClient into the SDK so plugins can use it as well. Required
some other minor restructuring.
2018-06-09 16:27:31 -07:00
adem
93568ff68d Remove junk from ru_RU.json 2018-06-08 11:54:58 +04:00
adem
50237873b9 Update ru_RU.json 2018-06-08 11:52:43 +04:00
casey langen
3fac0df917 Added fstream to Common.cpp -- this should make gcc happy again. 2018-06-05 23:00:36 -07:00
casey langen
7aac375a8c Tightened up the key bindings editor -- a handful of little things,
updated copy and the ability to reset keys to default. Also wired it
into the app settings screen to replace the hotkey tester.
2018-06-03 22:28:31 -07:00
casey langen
dabd4cc278 Added missing files to CMakeLists.txt 2018-06-03 20:56:27 -07:00
casey langen
1753a09862 Merge branch 'clangen/hotkey_viewer' 2018-06-03 20:54:43 -07:00
casey langen
a04a626178 Added hotkey backup. 2018-06-03 20:48:31 -07:00
casey langen
4a22c48293 Implemented Hotkeys::Set() and related functionality. 2018-06-03 12:06:57 -07:00
casey langen
e36fa357b9 Working hotkey reset. 2018-06-03 01:27:14 -07:00
casey langen
f1c39e2038 - added UI to set/replace hotkey values and also reset all to default
(not wired up yet)
- stubbed Hotkeys::Set() and Hotkeys::Reset()
- fixed TextInput::KeyPress in InputRaw mode.
2018-06-03 00:23:52 -07:00
casey langen
89dbbb5aee More incremental work to support hotkey viewing and editing. 2018-06-02 23:21:37 -07:00
casey langen
8c408ffed1 A bunch of small bug fixes for things that showed up in Fabric. 2018-06-02 13:40:03 -07:00
casey langen
7260ccf827 Beginnings of a hotkey editor implementation. 2018-06-02 13:01:00 -07:00
casey langen
1d4544d399 Fixed a bug where the DEL key wasn't triggering a "TextChanged" event in
TextInput.
2018-05-28 23:49:43 -07:00
casey langen
090ae0ea63 Fixed volume slider offset calculation. 2018-05-28 22:57:44 -07:00
casey langen
56209e84ff Extended mouse support to ListOverlay, PreampOverlay and
TransportWindow.
2018-05-28 22:57:44 -07:00
casey langen
9e410eb739 Ensure a double click focuses the active ListWindow, just like a single
click!
2018-05-28 22:57:44 -07:00
casey langen
e81fc57f1d Added support for PDCurses mouse wheel. 2018-05-28 22:57:44 -07:00
casey langen
39271142fa Fixed compiler warning. 2018-05-28 22:57:44 -07:00
casey langen
9048467e45 Basic mouse handling support! 2018-05-28 22:57:44 -07:00
casey langen
f9d57c06b4
Merge pull request #189 from benterris/move-proportionally
Add the ability to move the cursor proportionally
2018-05-20 21:15:45 -07:00
benterris
002762ace2 add command to move cursor proportionally to the track duration 2018-05-19 16:06:59 +01:00
adem
ffe7d07760 Update ru_RU.json 2018-05-14 14:18:30 +04:00
adem
df9583df2c Add Russian translation for musikcube 2018-05-14 13:22:35 +04:00
casey langen
0e9bfbaccc Fixed Windows compile. 2018-05-03 21:33:44 -07:00
Casey Langen
016176103c Moved LastFm to core, and wired it directly into PlaybackService so it
works from `musikcubed` as well. In the future we'll probably want
a repository for scrobblers... but for now this works.
2018-05-03 21:27:37 -07:00
casey langen
386eae43df Fixed lastfm on Linux. Need to test macOS and FreeBSD next. 2018-05-02 22:24:47 -07:00
casey langen
d2ab0a84f2 Fixed Linux compile... but getting an "Invalid API Key" error. 2018-05-02 22:07:41 -07:00
casey langen
c31514c315 Implemented the track.scrobble() call. Posts to last.fm work now! 2018-05-02 21:32:16 -07:00
casey langen
8a75e7e8b3 Added super basic UI for connecting to last.fm. Needs (a lot of) polish. 2018-05-02 01:41:27 -07:00
casey langen
722587e669 Some initial scaffolding for the last fm configuration UI. Nothing
user-facing yet.
2018-05-01 00:40:26 -07:00
casey langen
1e2582fb1d Fixed URL signature and the ability to create new sessions. Also added
the ability to store, load and clear sessions.
2018-04-30 21:59:28 -07:00
casey langen
e4a92dae4d Checkpoint commit for LastFm integration -- URL signing and working
`auth.getToken` call.
2018-04-29 23:01:29 -07:00
casey langen
a4c0056a07 Initial version of a simple wrapper around the libcurl "simple"
interface to make it a bit nicer to use. Nothing too exotic.
2018-04-29 21:44:19 -07:00
casey langen
c3a1a26130 Guard against returning negative limits. 2018-04-29 00:19:33 -07:00
casey langen
43101fe6d8 Fixed a bug where the set_volume remote API request was not returning
a response.
2018-04-12 00:45:37 -07:00
casey langen
00e62a1adb Fixed a bug where the same playback overview may be broadcast to clients
multiple times.
2018-04-11 00:37:59 -07:00
casey langen
7af0ae48c9 Move the it_IT translation to the correct directory. 2018-04-06 21:14:43 -07:00
DeVeL_AnOnIk
9489421033
Italian Translation for musikcube
See the readme for more info...
2018-03-20 21:27:37 +01:00
casey langen
4b9d554662 Fixed a bug where the notification may not stay gone. Also upgraded
Exoplayer and Kotlin versions.
2018-03-03 15:53:52 -08:00
casey langen
ae80169713 Added theme support via #pragma comment so the font chooser and menus
look nicer.
2018-02-23 23:29:17 -08:00
casey langen
b488951e1d Upgraded PDCurses -- was still about 80 commits behind upstream. Oops. 2018-02-23 23:28:29 -08:00
casey langen
6965684718 Repaired broken musikwin project -- even though it'll probably never be
used. Also created a solution for it so building is easier.
2018-02-23 17:23:27 -08:00
casey langen
47dc8d836b Fix SystemService crashes on Oreo devices. 2018-02-21 18:13:15 -08:00
casey langen
afb061aaf4 Ensure PlaybackService gets destroyed before the Library instance --
otherwise the play queue will not be serialized properly on exit.
2018-02-20 00:35:03 -08:00
casey langen
59fe25ec2d - Fixed the win32 build script
- Don't restore playback session if the setting is disabled
2018-02-20 00:28:11 -08:00
casey langen
c0284e2f82 Version bump for musikdroid release. 2018-02-19 23:49:34 -08:00
casey langen
9c0695c7ab Made SaveSettingsOnExit enabled by default now that it seems stable. 2018-02-19 23:48:31 -08:00
casey langen
a1cc7c5422 Addded a new setting to musikdroid that allows automatic playback
transfer from client to server when a headset is disconnected.
2018-02-19 14:40:24 -08:00
casey langen
15c59437cd Moved play context saving/restoration to core library, and run it
automatically in PlaybackService ctor/dtor. Also, updated
PlaybackService to allow for custom transports, but initialize itself
with a MasterTransport if one is not specified. This simplifies things
in the app-layer.
2018-02-19 12:08:19 -08:00
Casey Langen
504d7ec70b Re-arrange play context load/save to happen in the main app setup,
before views are created or the indexer is kicked off -- this makes the
app appear more quickly.
2018-02-18 22:19:00 -08:00
casey langen
dbd15acd0c Updated sqlite to v3.22.0. Previous version was more than a year and a
half old.
2018-02-18 21:51:48 -08:00
casey langen
c96f873e69 Post build tweak. 2018-02-18 15:35:32 -08:00
casey langen
177cf1851e Round out session resumption: remember and restore the play head. 2018-02-18 15:02:26 -08:00
casey langen
8550e62b1d Use SourceCodePro font by default, and also hide the Font/Paste menu
bar. This makes the app much better looking by default.
2018-02-18 15:02:26 -08:00
casey langen
a840728083 Merged upstream clangen/PDCurses changes that allow for specifying a
preferred font, and default menu bar visibility.
2018-02-18 15:02:26 -08:00
casey langen
c2fa156dc9 Merged our PDCurses with upstream master. 2018-02-18 15:02:26 -08:00
casey langen
d0e3e35d94 Added missing constant mapping for new PlaybackPrepared state. 2018-02-18 02:20:24 +00:00
casey langen
3dd4bbbad7 Experimental changes to support automatically enqueuing of previously
playing track. Required minor surgery to the ITransport interface, both
transport types, and PlaybackService.
2018-02-17 16:57:53 -08:00
casey langen
a22c346293 Cleaned up warnings on *nix 2018-02-17 12:48:05 -08:00
casey langen
6a4e9ae9c3 Initial work to support saving app session on exit, then restoring it on
startup.
2018-02-17 11:29:57 -08:00
Casey Langen
a2dc03ffaa Version bump for next release. 2018-02-15 09:27:55 -08:00
Casey Langen
b96c2e6c17 Added the ability to start playback directly from the directory pane in
DirectoryLayout by using the context menu key.
2018-02-15 09:27:50 -08:00
casey langen
82931b3669 Fixed *nix compile. 2018-02-12 23:26:23 -08:00
casey langen
005bfeeb3a Fixed a bug where OnChildVisibilityChanged() was calling up to
super::OnParentVisibilityChanged(). Oops.
2018-02-12 23:21:24 -08:00
casey langen
ab79b4bdbe Fixed up DirectoryLayout's TrackList title. 2018-02-12 21:37:29 -08:00
casey langen
acf9befb86 Don't show path chooser if there is only one indexed path. Also:
remember the previously selected directory.
2018-02-12 21:21:59 -08:00
casey langen
d8d2fc7da0 Fixed focus order issue in DirectoryLayout when hiding/showing directory
list.
2018-02-12 20:55:55 -08:00
casey langen
1f88974620 Fixed bugs related to LayoutBase not properly re-indexing focusable
targets when views are hidden or shown. Added new
IWindow::OnChildVisibilityChanged that is automatically called by all
child Windows to notify containers of visibility changes.
2018-02-12 20:55:02 -08:00
casey langen
5dbb2c6abc A handful of additional small bugfixes for directory browsing:
1. Update the tracklist on indexer progress
2. Optimized DirectoryAdapter::HasSubdirectories()
3. Added directory name to tracklist title
4. Hide direcotry chooser for root paths without any subdirs
2018-02-12 09:45:17 -08:00
casey langen
e5d82dc868 A couple small bug fixes in the directory browser. 2018-02-12 08:10:38 -08:00
casey langen
80a10ffe5f Don't requery unless we need to. 2018-02-12 00:21:10 -08:00
casey langen
0cf2274745 Browsing metadata by directory is now pretty much working. 2018-02-12 00:08:16 -08:00
casey langen
8885651ea7 More boilerplate -- added an overlay to BrowseOverlays to allow the user
to select the browse root, then pass it through all relevant components.
Also added some localized strings.
2018-02-11 13:09:23 -08:00
casey langen
8673eddda4 - Added DirectoryTrackListQuery.
- Updated 'directories' table so columns are compatible with generic
"regular" category (and category tracklist) queries.
2018-02-11 01:15:52 -08:00
casey langen
0ba98925ba Stubbed DirectoryLayout for browse by directories functionality.
Required moving some functionality from BrowseLayout LibraryLayout.
2018-02-11 00:25:03 -08:00
casey langen
4a033ae0c6 Index track directory metadata as well -- this is the first step towards
directory browsing.
2018-02-10 23:50:47 -08:00
casey langen
bcec9dc7ca Added scrollbar support to ListOverlay. 2018-02-10 13:03:06 -08:00
Casey Langen
bc565f31b3 Fixed the macOS packaging process. 2018-02-02 10:30:25 -08:00
casey langen
aaaea49025
Update CMakeLists.txt 2018-02-01 19:35:48 -08:00
casey langen
e44d24e8c8 Exit with failure if "--stop" fails. Also give the daemon a couple more seconds to clean up. 2018-02-01 19:13:21 -08:00
casey langen
27d4696971 Fix RPATH handling in CMakeLists.txt 2018-02-01 19:12:28 -08:00
casey langen
2655c8a265 Ensure arguments get forwarded from wrapper script to executable 2018-02-01 01:10:18 -08:00
casey langen
c1a0708089 Enabled SO_REUSEADDR for server sockets. 2018-01-31 20:13:12 -08:00
Casey Langen
084f888d14 Added support for a basic set of command line options: --start, --stop,
--running, --version and --help.
2018-01-31 12:33:10 -08:00
casey langen
8d142fefcd More musikcubed code cleanup -- verified working on FreeBSD now. 2018-01-30 23:29:54 +00:00
casey langen
35689bb143 Cleaned up exitIfRunning() and simplified LOCKFILE 2018-01-31 06:24:50 +00:00
Casey Langen
b04aa4e529 Use libev to drive daemon event loop. This prevents the hacky periodic
wakeups to check the (now unnecessary) global quit flag.
2018-01-30 21:44:57 -08:00
Casey Langen
c8b81162f3 Ensure MessageQueue wait time calculations always use the same time
unit!
2018-01-30 09:39:22 -08:00
Casey Langen
0fdb83d643 MaxKellermann@ correctly pointed out the SIGTERM signal handler was not safe, and
may result in deadlock. Updated code to avoid allocations and just set
the quit flag. Required minor surgery to IMessageQueue and impl to add
a timeout to WaitAndDispatch().
2018-01-30 09:21:04 -08:00
casey langen
b18ed5ab18 The play queue now shows sequential track numbers instead of ones read
from metadata.
2018-01-29 22:58:10 -08:00
casey langen
402aab9d2c Ensure musikcubed shuts down cleanly on SIGTERM. 2018-01-29 20:59:13 -08:00
Héctor Molinero Fernández
cf3cbfd7f6 Include fstream 2018-01-29 21:19:44 +01:00
casey langen
1a0bc55a15 Updated to boost 1.66.0 on Windows. 2018-01-29 09:10:21 -08:00
casey langen
4c758af5ac MessageQueue implementation now uses checked weak_ptr receivers for
broadcasts. This solves an issue where the message queue may prevent
components (like views) from getting cleaned up if they don't unregister
before they are discarded.
2018-01-29 09:08:54 -08:00
casey langen
5df2881a46 Ensure playlist browse uses sequential track numbers, instead of track
numbers from metadata.
2018-01-29 09:07:13 -08:00
casey langen
4fd9d358a5 More small string updates. 2018-01-28 23:40:34 -08:00
casey langen
e009adeb24 Minor string change to the API version mismatch warning. 2018-01-28 23:20:26 -08:00
casey langen
b8fe116836 Fixed daemon lock checking on BSD. 2018-01-28 16:52:24 +00:00