58 Commits

Author SHA1 Message Date
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
Deluan
8ff1a94d75 Fixing ArtistName for Compilations / Various Artists 2016-03-04 17:35:13 -05:00
Deluan
7f93a18f4f TODO 2016-03-04 17:27:46 -05:00
Deluan
0d8fc59920 Fixed ping test 2016-03-04 17:12:16 -05:00
Deluan
184bdc0118 Max size to return == 500 2016-03-04 17:11:22 -05:00
Deluan
1c9d7721ad Implemented more getAlbumList.view types 2016-03-04 17:01:14 -05:00
Deluan
7225807bad Initial work on downsampling
The http connection is being closed before sending all data. May have something to do with the Range header
2016-03-04 13:33:09 -05:00
Deluan
9a246b5432 First version of getAlbumList.view working.
- It still misses almost all type options
- Introduced "parent" in Child subresponse, as it was breaking DSub
2016-03-04 09:09:16 -05:00
Deluan
3b60b62aa1 Adding a "placeholder" to getUser.view endpoint 2016-03-03 18:44:39 -05:00
Deluan
adfec414a1 Renamed parameter validation method and removed "side effect" 2016-03-03 17:41:11 -05:00
Deluan
848809d0df Supporting starred in getMusicDirectory.view 2016-03-03 15:41:24 -05:00
Deluan
29b34968eb Implemented stream 2016-03-03 14:46:19 -05:00
Deluan
79a6965f99 Testing for cover art content type 2016-03-03 14:41:00 -05:00
Deluan
18b784f494 Implemented common parameter validation 2016-03-03 14:20:45 -05:00
Deluan
053f4b72ba Adding big list of mime types, and adding support for contenty-type in
getMusicDirectory.view
2016-03-03 13:47:47 -05:00
Deluan
cd0fa5739b git fmt 2016-03-03 13:17:52 -05:00
Deluan
c9455e1955 getCoverArt.view working 2016-03-03 12:08:44 -05:00
Deluan
1b945831cc Implementing coverArt 2016-03-03 10:34:17 -05:00
Deluan
80880434aa Refactored getMusicDirectory.view 2016-03-03 09:50:50 -05:00
Deluan
393b7f5b90 Fixed broken test. 2016-03-03 00:49:57 -05:00
Deluan
012958cd08 go fmt 2016-03-03 00:46:23 -05:00
Deluan
ffd6304a23 Added DiscNumber field, used to sort tracks 2016-03-03 00:42:42 -05:00
Deluan
1aeb22dcb7 Fixed (?) Artist x AlbumArtist 2016-03-03 00:25:26 -05:00
Deluan
3ab09c4b2c Supporting "jsonp" format 2016-03-02 23:58:35 -05:00
Deluan
eabee8b502 More track info 2016-03-02 23:51:26 -05:00
Deluan
757e1992d7 Bare bones getMusicDirectory for albums! 2016-03-02 23:15:17 -05:00
Deluan
51bae19191 Added Genre and Track Number to getMusicDirectory 2016-03-02 22:43:31 -05:00
Deluan
838d4bf38f getMusicDirectory bare bones for artists working 2016-03-02 22:22:31 -05:00
Deluan
4f5af423a8 More getMusicDirectory 2016-03-02 21:19:32 -05:00
Deluan
9577d9ae87 Started the implementation of getMusicDirectory. Probably will need to introduce a new 'service' layer... 2016-03-02 20:00:55 -05:00
Deluan
68786d4b39 New Directory response. Simplified other responses 2016-03-02 18:44:13 -05:00
Deluan
dde130e84e Small fixes to response marshaling, introduced tests for response formats 2016-03-02 17:23:26 -05:00
Deluan
b9fb5eb7ca removed unused method 2016-03-02 13:23:58 -05:00
Deluan
4843ccb46c go fmt 2016-03-02 13:18:39 -05:00
Deluan
9d41f5a39f Supporting json output (except for errors) 2016-03-02 13:14:44 -05:00
Deluan
7c82af75f5 For omitempty to work properly, nested structs have to be pointers 2016-03-02 12:06:57 -05:00
Deluan
01c68d6802 Refactored responses 2016-03-02 11:11:46 -05:00
Deluan
77e3aa7620 More DI 2016-03-02 10:48:30 -05:00
Deluan
272a499c7e Refactoring to a cleaner architecture 2016-03-02 09:10:28 -05:00
Deluan
95f73d75bc TODO 2016-03-01 18:01:12 -05:00
Deluan
26355bf0d7 TODO 2016-03-01 18:00:59 -05:00
Deluan
b8948c417e Checking ifModifiedSince param 2016-03-01 16:05:49 -05:00
Deluan
841d8f457f Implemented ProperyRepository. Now the Scanner stores the LastScan timestamp 2016-03-01 14:40:26 -05:00
Deluan
8e482bc494 getIndexes returning list of artists and ignoredArticles 2016-03-01 13:15:23 -05:00
Deluan
2bb4c74ba6 Started implementing getIndex, now with TDD (brought to you by DI)! 2016-03-01 12:36:15 -05:00