Commit Graph

287 Commits

Author SHA1 Message Date
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 87e012f3bf Refactored paging/sorting options 2016-03-03 22:52:03 -05:00
Deluan 5ca9680059 Default sorts should be in the domain 2016-03-03 21:42:12 -05:00
Deluan fc6d49d34c Introduced types for the collections 2016-03-03 21:01:55 -05:00
Deluan eae9f3168f renamed base_repository to ledis_repository 2016-03-03 20:16:09 -05:00
Deluan 4b70daf143 Converted scanner to a proper Import "class", to facilitate testing 2016-03-03 20:01:27 -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 c990073fc7 Cleaning up configuration file 2016-03-03 17:36:27 -05:00
Deluan 848809d0df Supporting starred in getMusicDirectory.view 2016-03-03 15:41:24 -05:00
Deluan cc31366cc1 For now, download.view and stream.view are the same, as we don't have transcoding configuration on the server side 2016-03-03 15:00:58 -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 f3ba23ef41 Fixed a problem with the injection code 2016-03-03 13:14:05 -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 ad0a91fba5 Making sure the repositories implement their full interfaces 2016-03-03 01:28:48 -05:00
Deluan f01a5f143d Added Starred for Album and MediaFile 2016-03-03 01:07:13 -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 7d5cafb17a Fixed string decoding during import 2016-03-03 00:10:35 -05:00
Deluan e9a46b77ff Logging errors during import 2016-03-03 00:07:10 -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 1f31de589a Implementing sort by number on queries 2016-03-02 23:20:17 -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 de94fe3ef2 Should not break on empty database 2016-03-02 17:46:16 -05:00
Deluan 4ee840a394 Rename 2016-03-02 17:35:37 -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 300ed0d9a4 Introduced interfaces for all repositories, completely isolating the persistence layer from the repositories usage and specification 2016-03-02 09:43:00 -05:00
Deluan 272a499c7e Refactoring to a cleaner architecture 2016-03-02 09:10:28 -05:00
Deluan 74478ce6f9 Sorting Artist Index on save 2016-03-01 20:51:30 -05:00