Deluan
4b38f9238c
Fixing build
2016-03-27 21:40:09 -04:00
Deluan
94d76cb212
getArtist.view implemented
2016-03-27 21:27:45 -04:00
Deluan
0a137657fe
getArtists.view implemented
2016-03-27 20:35:10 -04:00
Deluan
3cc92a32bd
Adding song and album counts
2016-03-27 20:13:00 -04:00
Deluan
ee8e9864ea
Added getSong.view
2016-03-25 00:04:22 -04:00
Deluan
06828d8738
Polishing
2016-03-24 23:31:54 -04:00
Deluan
f58c5aa5a3
Token-based authentication implemented
2016-03-24 19:00:28 -04:00
Deluan
3c8f6e9a65
Polishing
2016-03-24 14:44:21 -04:00
Deluan
db8c09d503
Better log messages
2016-03-24 13:53:52 -04:00
Deluan
b9952bc3de
Playlists support (99%) complete!
2016-03-24 13:28:20 -04:00
Deluan
a27803a4d1
deletePlaylist
2016-03-24 12:17:35 -04:00
Deluan
52850c6ef0
createPlaylist
2016-03-24 12:06:39 -04:00
Deluan
9eb5187147
More log to search
2016-03-23 21:06:39 -04:00
Deluan
21460308c9
Adding paths to the responses
2016-03-23 20:53:28 -04:00
Deluan
fc8bb34ae3
setRating.view implemented
2016-03-23 19:37:48 -04:00
Deluan
d59394c653
GetStarred now returns starred songs
2016-03-23 19:02:58 -04:00
Deluan
1ed8c60130
Removing engine.ErrDataNotFound in favor of domain.ErrNotFound
2016-03-23 18:15:29 -04:00
Deluan
c50b0bdc48
star/unstar implemented
2016-03-23 17:46:54 -04:00
Deluan
c87b133071
Polishing
2016-03-23 12:37:03 -04:00
Deluan
c580a4199e
New NowPlaying and Skip detection implementation
2016-03-23 10:06:26 -04:00
Deluan
9c7494a307
Disabled paths in responses for now
...
DSub was using it for offline browsing. Will re-enable it when browsing by ID3 is working
2016-03-22 19:39:20 -04:00
Deluan
fb9fab7961
Re-enabling skip detection
2016-03-22 10:28:13 -04:00
Deluan
36160be32a
Better formatting
2016-03-21 22:45:56 -04:00
Deluan
cdcb5c6f49
Implemented getAvatar
2016-03-21 20:31:28 -04:00
Deluan
e42ebebe72
Don't abort request when id to scrobble is not found
2016-03-21 20:08:35 -04:00
Deluan
3e08c8f8c3
Logs to scrobble
2016-03-21 19:52:53 -04:00
Deluan
8e1736703d
Scrobble accepts multiple ids
2016-03-21 19:35:40 -04:00
Deluan
12b1002d51
More Album List types
2016-03-21 17:37:12 -04:00
Deluan
5dd4b15079
Moving up: API level 1.8.0
2016-03-21 17:36:09 -04:00
Deluan
a9d7d4d242
Even more metadata for playlists
2016-03-21 12:26:55 -04:00
Deluan
3cefc321b8
Playlists now have all metadata. Also removed some duplicated code
2016-03-21 11:57:04 -04:00
Deluan
516bd3bddf
All ListGenerator's methods now returns Entries, and not Albums anymore
2016-03-21 11:37:56 -04:00
Deluan
0b286afa08
UserRatings for Albums and MediaFiles
2016-03-21 10:24:40 -04:00
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
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