Commit Graph

78 Commits

Author SHA1 Message Date
7993f1481e Added partial test suite for GStreamerPlayer. 2016-03-22 17:04:42 +00:00
f29be6beee Fixed behaviour when stopping playback but the song is no longer in the playlist. 2016-03-22 14:47:43 +00:00
8619678023 Fixed playlist row selection behaviour on playback stop. 2016-03-22 14:32:37 +00:00
e1507efe44 Added tests for JTablePlaylist. 2016-03-22 05:15:39 +00:00
091126e2e2 Added conditions to prevent breaking if no callback interface is defined. 2016-03-19 23:08:05 +00:00
41e7de065e GStreamerPlayer no longer proxies via PlayerGUI to interact with a playlist. 2016-03-19 23:06:28 +00:00
974ff2c8c1 Heavily refactored PlayerGUI to remove coupling with library and playlist functionality. 2016-03-19 19:49:35 +00:00
225a403de6 Renamed GatewayTest to accurately reflect what is being tested due to refactoring. 2016-03-18 20:02:53 +00:00
7e1d9aac59 Fixed updating existing song data not working properly. 2016-03-18 20:00:09 +00:00
e8633aa0e1 Refactored database implementation to further hide implementation details from other classes and allow for drop-in replacement. 2016-03-18 19:09:58 +00:00
5e80829db0 Switched tom JIT bindings for default implementations. 2016-03-18 17:12:48 +00:00
95979fff29 Decoupled Player and PlayerGUI, dependency between the two is now injected instead. 2016-03-18 17:07:39 +00:00
b77399dee8 Changed keyboard hook library for better platform support. 2016-03-15 04:56:17 +00:00
fb3c830b79 Added shutdown hook to ensure closure of global keyboard hook. 2016-03-15 03:56:12 +00:00
fab04af5a6 Changed default database location from in-memory to a relative file. 2016-03-15 03:48:48 +00:00
0b2ee3f4dd Added catch for if keyboard hook is unavailable. 2016-03-15 03:31:05 +00:00
4a6cc6f563 Fixed reading LICENSE.txt for about information. 2016-03-15 00:53:12 +00:00
5eb3446416 Fixed swing models missing generics. 2016-03-15 00:32:31 +00:00
9e36003152 Now using glyphicons for media controls. 2016-03-14 22:51:04 +00:00
086f887d20 Removed auto attempted config file creation on config read IOException. 2016-03-13 22:47:42 +00:00
b0c1098110 Changed layout to have buttons fill width. 2016-03-13 22:46:57 +00:00
b0c1dd10bc playingRow now reacts to changes in playlist. Fixed song highlighting not working when stopping playback. 2016-03-11 16:41:57 +00:00
daedca9bf6 Fixed hard freeze that occurred if gstreamer never started to actually play a song after calling the Player play method. 2016-03-10 16:56:05 +00:00
9164dff257 Application now remembers the last value that volume was set to. 2016-03-09 22:01:42 +00:00
c7eb7fd024 Changed library population to use song list fields contained in database rather than directly processed database queries. 2016-03-09 15:52:35 +00:00
ebc4852cfc Now using model fields to retrieve associated songs rather than querying all songs then grouping. 2016-03-09 04:14:01 +00:00
845284dcd4 Moved AlbumArtExtractor. 2016-03-09 02:40:20 +00:00
ddd5934ae1 Program will now still run if global keyboard hooks fail to initialise. 2016-03-09 02:30:56 +00:00
7dc4019785 Removed unneeded println. 2016-03-09 02:17:06 +00:00
68aca0d416 Added functionality for reading m3u playlists. 2016-03-09 01:58:19 +00:00
1eceab8227 Altered ExtractedMetadata to avoid extra allocations. 2016-03-08 19:21:44 +00:00
eb02ca7665 Refactored album art retrieval to prevent repeat loading of the same image into memory. 2016-03-08 17:01:24 +00:00
0401c626e2 Added global keyboard controls/ 2016-03-08 16:41:54 +00:00
2ae4ca1402 Updating the library will now to add songs with the same base file. 2016-03-08 16:41:25 +00:00
148eb38bba Added functionality to save playlists. 2016-03-07 16:28:34 +00:00
36cc0da306 Restricted library to playlist functionality to left clicks. 2016-03-07 16:05:35 +00:00
ea23faa16c Fixed play button sticking for certain songs on start due to waiting for duration availability. 2016-03-07 15:53:03 +00:00
8b3bc16f52 Added constraint for database query generics. 2016-03-01 15:30:11 +00:00
ccc1110dd8 Added new library display type. Generified populateLibrary and Gateway listAll functionality. 2016-02-29 04:06:18 +00:00
d9cfdc37dd Playback is now forcibly stopped if the playlist is cleared. 2016-02-29 03:38:43 +00:00
ba951541b6 Changed wait requirement for setting seekbar maximum value. GStreamer needs to load the file before we can know its duration and previously it might not wait long enough for that data to populate. 2016-02-29 03:33:44 +00:00
97f8e52a16 Added missing album art icon. 2016-02-29 03:22:20 +00:00
e8bb7b9b66 Disabled auto-scrolling on library item expansion. 2016-02-29 03:03:34 +00:00
8f68b2f61a Removed code duplication. 2016-02-29 03:01:13 +00:00
322896bc31 General tidying and access tightening. 2016-02-29 02:55:31 +00:00
00a4355025 Added Comparable implementation to Artist. 2016-02-29 02:38:51 +00:00
d125759c06 Pausing now resets the highlighting to the current song. If another entry is then selected before pressing play then that song will be played rather than resuming the paused song. 2016-02-29 02:28:26 +00:00
fb611c3062 Library update callbacks can now be disabled by providing a null LibraryCallbackInterface. 2016-02-29 02:27:11 +00:00
bc53f088cf Implemented seek functionality. 2016-02-28 22:18:15 +00:00
587324d5ef Fixed the currently playing song not being auto selected in the playlist. 2016-02-28 21:28:07 +00:00