Deluan
46e7627fd3
Optimized import, only updating changed data and purging old data
2016-03-08 14:19:07 -05:00
Deluan
df9687bf02
Prefer using goimports over gofmt
2016-03-07 14:38:43 -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
56e9ad3def
Silly bug... Where are the tests?!?
2016-03-07 09:24:35 -05:00
Deluan
0e492a053c
Only read tag when the track was changed
2016-03-06 21:32:31 -05:00
Deluan
be28ce1178
Better logging in scanner/importer
2016-03-06 20:42:53 -05:00
Deluan
76deb2f5bb
Small changes to stream.view endpoint
...
Always send content-length header
2016-03-06 20:42:22 -05:00
Deluan
78ed8bd4d9
Also build against latest Go in Travis
2016-03-06 12:15:58 -05:00
Deluan
319c829eea
Hashs for Album and Artist IDs should be case insensitive
2016-03-06 11:55:17 -05:00
Deluan
209bf0fe2f
New version of dhowden tag fixes the bug with implicit PNG artwork
2016-03-06 11:54:03 -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
36adace7a3
Better logging
2016-03-04 22:50:04 -05:00
Deluan
7a21665c97
Handling a possible bug in the tag library
2016-03-04 22:29:29 -05:00
Deluan
0b6093ce5d
Handling a NPE
2016-03-04 19:49:51 -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
9783db1781
Aiming at 1.2.0 API version for first release
2016-03-04 17:05:15 -05:00
Deluan
1c9d7721ad
Implemented more getAlbumList.view types
2016-03-04 17:01:14 -05:00
Deluan
766fdbc60c
Big Importer/Scanner refactor
2016-03-04 16:42:09 -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
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