152 Commits

Author SHA1 Message Date
Deluan
5fd9da505e More metadata for children (albums/mediafiles) 2016-03-21 09:52:32 -04:00
Deluan
37f72f2efc More metadata for directories (albums) 2016-03-21 09:37:13 -04:00
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
cac352b18c Using slices for Results, instead of pointers of slices 2016-03-18 17:30:38 -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
db34122faf Added comments with missing response parts 2016-03-17 22:29:58 -04:00
Deluan
10cbce5dca Fixed build 2016-03-17 19:00:31 -04:00
Deluan
ee3e70c712 Register skipped songs! 2016-03-17 18:58:09 -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
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
cdefabf760 Better log and less noise in prod mode 2016-03-15 17:31:35 -04:00
Deluan
e36a4201db implemented getStarred (just for albums, for now) 2016-03-14 11:35:48 -04:00
Deluan
d23f5ca635 Scrobble working!!! I mean, iTunes scrobble, not Last.FM (for now) 2016-03-11 20:49:01 -05:00
Deluan
f4c1dbdd3c Simplified DI resolution 2016-03-11 15:16:17 -05:00
Deluan
e9861e1b26 New target API version: 1.5.0 2016-03-11 15:08:37 -05: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
29c2925a1c New API level target: 1.4.0 2016-03-11 00:35:13 -05:00
Deluan
5fc3b3ff11 Renamed error variable 2016-03-10 11:25:15 -05:00
Deluan
42f3279aaf Hack to make streaming work, but with wrong content-length 2016-03-10 11:16:28 -05:00
Deluan
972d1c04bc Adding fullpath and songCount to playlists 2016-03-10 10:43:34 -05:00
Deluan
e3dab1392f Log validation errors 2016-03-10 09:57:09 -05:00
Deluan
031738f1eb Handling encoded passwords 2016-03-09 22:20:30 -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
4bb4fc0cb8 More playlists 2016-03-09 14:24:00 -05:00
Deluan
0d8c6b58db Grouped some API controllers by functionality 2016-03-09 10:22:10 -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
28bef732cf Introduced helper methods for parsing/biding request parameters 2016-03-07 14:13:31 -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
Deluan
76deb2f5bb Small changes to stream.view endpoint
Always send content-length header
2016-03-06 20:42:22 -05:00
Deluan
8146f217bd Added 1 sec to content-length
This is a workaround to minimize the "Conn.Write wrote more than the declared Content-Length" error. Don't know if this error (or this workaround) causes any issues
2016-03-05 19:59:51 -05:00
Deluan
d2701ea67c Using sorted sets 2016-03-05 19:40:36 -05:00
Deluan
3db18d8bd6 I *think* I got the downsampling working perfectly 2016-03-05 19:39:24 -05:00