211 Commits

Author SHA1 Message Date
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
Deluan
ed2eb11c87 getAlbumList type=random was always returning ALL albums 2016-03-13 13:26:28 -04:00
Deluan
19de3e6a3c TODO 2016-03-13 13:03:28 -04: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
4780b54f01 Indexing everything 2016-03-10 23:24:30 -05:00
Deluan
df957814a0 Implemented artists indexing, with Gomate 2016-03-10 23:19:13 -05:00
Deluan
5fc3b3ff11 Renamed error variable 2016-03-10 11:25:15 -05:00
Deluan
2437eed586 Removed unnecessary "else"s 2016-03-10 09:37:35 -05:00
Deluan
de6bd1eb17 option to disable downsampling 2016-03-09 22:21:11 -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