Commit Graph

3716 Commits

Author SHA1 Message Date
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 6a4a178e14 Revert "Giving gopm another chance"
This reverts commit 85df63c416.
2016-03-20 15:43:03 -04:00
Deluan 85df63c416 Giving gopm another chance 2016-03-20 13:56:20 -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 04513d38f0 Fixed bug on reflect and slice 2016-03-18 21:07:57 -04:00
Deluan 508bf7152f Removing purged ids from the search index 2016-03-18 19:50:21 -04:00
Deluan 3790aa45e4 Refactored PurgeInactive as a "generic" function.
Also delete indexes when removing records
2016-03-18 19:32:49 -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 25d902c9d7 When ErroNotFound, return an new entity to avoid conversion from nil errors 2016-03-18 17:24:26 -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 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 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 a3238ce17b Cannot clear the index for now.
Have to come up with a solution to partially update the search index
2016-03-16 23:44:24 -04:00
Deluan 86da33f91d Revert "Always index songs and albums"
This reverts commit 4aa02e68e5.
2016-03-16 23:11:52 -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 4aa02e68e5 Always index songs and albums 2016-03-16 15:35:21 -04:00
Deluan 31852ecf26 Better log 2016-03-15 17:44:15 -04:00
Deluan cdefabf760 Better log and less noise in prod mode 2016-03-15 17:31:35 -04:00
Deluan 714b100d03 Ignoring accents in search 2016-03-15 16:23:39 -04:00
Deluan ad3f45bef2 Removed unused file 2016-03-15 14:08:01 -04:00
Deluan cad65f517c Polishing 2016-03-15 13:17:51 -04:00
Deluan 12aedc0996 Using checksums to detect modified stats in the iTunes Library 2016-03-15 11:04:17 -04:00
Deluan bb5d4c920d Error when trying to index on an unsupported field type 2016-03-15 09:41:33 -04:00
Deluan f258592285 Experimenting with iTunes Artwork 2016-03-14 18:09:32 -04:00
Deluan 0ee070b38c Using Entries instead of []Entry 2016-03-14 11:42:33 -04:00
Deluan 393d6fb2dc Also simplify when formatting 2016-03-14 11:36:11 -04:00
Deluan e36a4201db implemented getStarred (just for albums, for now) 2016-03-14 11:35:48 -04:00
Deluan 14934dccf7 Supporting index annotations in domain structs 2016-03-14 10:32:22 -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 4e0a47d2a6 Removed unused code 2016-03-13 23:25:43 -04:00
Deluan c01ce35f04 ignoring iTunesU and Podcasts (for now) 2016-03-13 22:11:44 -04:00
Deluan ed2eb11c87 getAlbumList type=random was always returning ALL albums 2016-03-13 13:26:28 -04:00
Deluan 27b47abfe0 Renamed method 2016-03-13 13:11:16 -04:00