Commit Graph

195 Commits

Author SHA1 Message Date
Deluan 21b39d922c More slices instead of pointers of slice 2016-03-20 13:33:59 -04:00
Deluan 3f0030738a Indexes using slices instead of pointers of slice 2016-03-20 13:08:24 -04:00
Deluan 27b7b7ce08 More slices instead of pointers of slice 2016-03-19 23:03:50 -04:00
Deluan bd07c74acd Wrap ErrNotFound 2016-03-19 22:54:36 -04:00
Deluan 508bf7152f Removing purged ids from the search index 2016-03-18 19:50:21 -04:00
Deluan cac352b18c Using slices for Results, instead of pointers of slices 2016-03-18 17:30:38 -04:00
Deluan 1da0f7d412 Forgot to fix the response slices allocation... 2016-03-18 17:27:12 -04:00
Deluan aa6afdb976 Skip ids returned from search but not found in the DB 2016-03-18 17:21:15 -04:00
Deluan c90a50827a Get() methods from all repositories now return a ErrNotFound when the id is nonexistent 2016-03-18 11:33:50 -04:00
Deluan ee3e70c712 Register skipped songs! 2016-03-17 18:58:09 -04:00
Deluan ab7e70017a Raising the TTL for NowPlaying 2016-03-17 17:35:10 -04:00
Deluan c4b660fce3 getNowPlaying.view working 2016-03-17 10:37:19 -04:00
Deluan 68c456e188 Halfway of getNowPlaying implementation 2016-03-17 10:08:47 -04:00
Deluan cc89cb5bd1 Now Playing backend implemented 2016-03-16 22:30:34 -04:00
Deluan 9bfb61d994 Implemented nowplaying repo 2016-03-16 20:52:32 -04:00
Deluan f6866f23a0 Removed 'submit' parameter 2016-03-16 20:45:08 -04:00
Deluan 4748ce142f Introduced NowPlayingRepository. Don't do anything for now 2016-03-16 20:27:48 -04:00
Deluan b660a70688 Introduced engine.Scrobbler
Also refactored mocks into their original packages, to avoid cyclic references. Is there a better way to have mocks in GoLang tests?
2016-03-16 17:59:28 -04:00
Deluan 714b100d03 Ignoring accents in search 2016-03-15 16:23:39 -04:00
Deluan 0ee070b38c Using Entries instead of []Entry 2016-03-14 11:42:33 -04:00
Deluan e36a4201db implemented getStarred (just for albums, for now) 2016-03-14 11:35:48 -04:00
Deluan 11e128e08f Fixed a bug when the size was higher then the total number of albums 2016-03-13 23:31:24 -04:00
Deluan ed2eb11c87 getAlbumList type=random was always returning ALL albums 2016-03-13 13:26:28 -04:00
Deluan 19de3e6a3c TODO 2016-03-13 13:03:28 -04:00
Deluan a918dc5a14 Searching is fully working 2016-03-11 10:03:33 -05:00
Deluan 3a3bd91324 Refactored object mapping 2016-03-11 09:10:40 -05:00
Deluan ef31d1aca0 Searching by artists, spike mode 2016-03-11 00:37:07 -05:00
Deluan 4780b54f01 Indexing everything 2016-03-10 23:24:30 -05:00
Deluan df957814a0 Implemented artists indexing, with Gomate 2016-03-10 23:19:13 -05:00
Deluan 5fc3b3ff11 Renamed error variable 2016-03-10 11:25:15 -05:00
Deluan 2437eed586 Removed unnecessary "else"s 2016-03-10 09:37:35 -05:00
Deluan de6bd1eb17 option to disable downsampling 2016-03-09 22:21:11 -05:00
Deluan 7a8d591ee1 Logging 2016-03-09 18:47:05 -05:00
Deluan 2214e4bd4f Playlists working 2016-03-09 18:28:11 -05:00
Deluan 7161325716 Initial wiring for getPlaylists endpoint 2016-03-09 10:09:15 -05:00
Deluan 4d1a4613d9 Moved Stream logic to engine layer 2016-03-09 09:12:26 -05:00
Deluan 6d64d35564 Moved coverart tests to engine 2016-03-09 09:07:06 -05:00
Deluan 371d0ea711 Added size parameter to getCoverArt.view endpoint 2016-03-08 23:38:51 -05:00
Deluan 00b4c44010 Refactored coverart logic to engine layer 2016-03-08 23:05:54 -05:00
Deluan 9bea04f330 Implemented getAlbumList with type=random 2016-03-08 21:54:32 -05:00
Deluan 60d4cb5d9f Converted all collections from repositories to *collections 2016-03-08 20:33:09 -05:00
Deluan 5be236515d Moved getAlbumList logic to engine layer 2016-03-08 19:13:36 -05:00
Deluan 8607e25c90 Moved properties to engine layer 2016-03-08 18:40:16 -05:00
Deluan e10e730af1 Refactored logic from getMusicDirectory.view to the new engine layer.
This reveled a nasty bug in the DI code. Tests are broken
2016-03-08 14:19:27 -05:00
Deluan 91c660c746 Added a new layer: engine (equivalent to use cases in Clean Architecture). Should make testing things easier 2016-03-07 10:57:32 -05:00