223 Commits

Author SHA1 Message Date
Deluan
9099e24413 Polishing 2016-03-26 22:34:20 -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
1cf8a0db44 Refactored NowPlaying
Also added a test case for skipping range
2016-03-24 17:14:13 -04:00
Deluan
770a16ece3 Update 2016-03-24 14:08:19 -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
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
b25cfd96eb Polishing 2016-03-23 16:30:38 -04:00
Deluan
08192e6d23 Handling a racing condition between Register and NowPlaying, when the queue is empty 2016-03-23 13:51:02 -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
db992a9941 Small changes regarding StarredAt.
Making StarredAt more "precise", setting it to the time the change was detected.
getStarred.view now returns albums ordered by StarredAt.
loadRange method now take QueryOptions.Desc into account
2016-03-22 19:00:18 -04:00
Deluan
4e3c848815 Adding track numbers to tracks in playlists, as it was causing DSub to duplicate files 2016-03-22 16:12:37 -04:00
Deluan
23cf069100 Using pointers for the receivers 2016-03-21 23:11:57 -04:00
Deluan
2a2af2f57a Adding Album total time (Duration) 2016-03-21 21:14:04 -04:00
Deluan
12b1002d51 More Album List types 2016-03-21 17:37:12 -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
bd07c74acd Wrap ErrNotFound 2016-03-19 22:54:36 -04:00
Deluan
508bf7152f Removing purged ids from the search index 2016-03-18 19:50:21 -04:00
Deluan
cac352b18c Using slices for Results, instead of pointers of slices 2016-03-18 17:30:38 -04:00
Deluan
1da0f7d412 Forgot to fix the response slices allocation... 2016-03-18 17:27:12 -04:00
Deluan
aa6afdb976 Skip ids returned from search but not found in the DB 2016-03-18 17:21:15 -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
ee3e70c712 Register skipped songs! 2016-03-17 18:58:09 -04:00
Deluan
ab7e70017a Raising the TTL for NowPlaying 2016-03-17 17:35:10 -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
9bfb61d994 Implemented nowplaying repo 2016-03-16 20:52:32 -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
714b100d03 Ignoring accents in search 2016-03-15 16:23:39 -04:00
Deluan
0ee070b38c Using Entries instead of []Entry 2016-03-14 11:42:33 -04:00
Deluan
e36a4201db implemented getStarred (just for albums, for now) 2016-03-14 11:35:48 -04:00
Deluan
11e128e08f Fixed a bug when the size was higher then the total number of albums 2016-03-13 23:31:24 -04:00