Commit graph

281 commits

Author SHA1 Message Date
Deluan
9049d97820 Moving code away from conf package.
This is necessary, as the conf package will hold only configuration, and cannot have dependencies on other packages
2016-03-29 18:27:14 -04:00
Deluan
768764bea7 getRandomSongs.view (partially) implemented 2016-03-29 00:01:27 -04:00
Deluan
2319454997 search3.view implemented 2016-03-28 10:01:43 -04:00
Deluan
a562bfd17e getStarred2.view implemented 2016-03-28 09:46:16 -04:00
Deluan
615dc862af getAlbum.view implemented 2016-03-28 09:23:44 -04:00
Deluan
82576223dc getAlbumList2.view done 2016-03-27 23:04:05 -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
1610b2180b Removed stutter 2016-03-27 17:24:59 -04:00
Deluan
5a0864769b Isolated ledis gomate implementation in its own package 2016-03-27 17:20:46 -04:00
Deluan
ee8e9864ea Added getSong.view 2016-03-25 00:04:22 -04:00
Deluan
ea4d94fa84 Enabling CORS 2016-03-24 20:00:35 -04:00
Deluan
ea46c0a427 Put Unknown Artist in the end of the index 2016-03-24 17:52:27 -04:00
Deluan
3c8f6e9a65 Polishing 2016-03-24 14:44:21 -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
fc8bb34ae3 setRating.view implemented 2016-03-23 19:37:48 -04:00
Deluan
c50b0bdc48 star/unstar implemented 2016-03-23 17:46:54 -04:00
Deluan
cdcb5c6f49 Implemented getAvatar 2016-03-21 20:31:28 -04:00
Deluan
5dd4b15079 Moving up: API level 1.8.0 2016-03-21 17:36:09 -04:00
Deluan
68c456e188 Halfway of getNowPlaying implementation 2016-03-17 10:08:47 -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
12aedc0996 Using checksums to detect modified stats in the iTunes Library 2016-03-15 11:04:17 -04:00
Deluan
e36a4201db implemented getStarred (just for albums, for now) 2016-03-14 11:35:48 -04:00
Deluan
4d7f9ee012 Fixed iTunes location decoding 2016-03-12 11:36:24 -05:00
Deluan
4b09eeccc2 Configuring "prod" 2016-03-11 21:14:32 -05:00
Deluan
d23f5ca635 Scrobble working!!! I mean, iTunes scrobble, not Last.FM (for now) 2016-03-11 20:49:01 -05:00
Deluan
e9861e1b26 New target API version: 1.5.0 2016-03-11 15:08:37 -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
df957814a0 Implemented artists indexing, with Gomate 2016-03-10 23:19:13 -05:00
Deluan
42f3279aaf Hack to make streaming work, but with wrong content-length 2016-03-10 11:16:28 -05:00
Deluan
de6bd1eb17 option to disable downsampling 2016-03-09 22:21:11 -05:00
Deluan
61d96421dd Fix ignore pattern 2016-03-09 19:57:22 -05:00
Deluan
fc625ac70e Options to ignore patterns in playlists full path 2016-03-09 19:50:02 -05:00
Deluan
a4e9d9da14 Option to ignore folder playlists 2016-03-09 19:06:50 -05:00
Deluan
2214e4bd4f Playlists working 2016-03-09 18:28:11 -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
00b4c44010 Refactored coverart logic to engine layer 2016-03-08 23:05:54 -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
067517a916 Fixed problem with DI 2016-03-08 18:33:35 -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
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
9783db1781 Aiming at 1.2.0 API version for first release 2016-03-04 17:05:15 -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
c990073fc7 Cleaning up configuration file 2016-03-03 17:36:27 -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
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
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
757e1992d7 Bare bones getMusicDirectory for albums! 2016-03-02 23:15:17 -05:00
Deluan
838d4bf38f getMusicDirectory bare bones for artists working 2016-03-02 22:22:31 -05:00
Deluan
9577d9ae87 Started the implementation of getMusicDirectory. Probably will need to introduce a new 'service' layer... 2016-03-02 20:00:55 -05:00
Deluan
4843ccb46c go fmt 2016-03-02 13:18:39 -05:00
Deluan
9d41f5a39f Supporting json output (except for errors) 2016-03-02 13:14:44 -05:00
Deluan
77e3aa7620 More DI 2016-03-02 10:48:30 -05:00
Deluan
272a499c7e Refactoring to a cleaner architecture 2016-03-02 09:10:28 -05:00
Deluan
c64a0f8242 Implemented proper index grouping 2016-03-01 17:54:13 -05:00
Deluan
841d8f457f Implemented ProperyRepository. Now the Scanner stores the LastScan timestamp 2016-03-01 14:40:26 -05:00
Deluan
2bb4c74ba6 Started implementing getIndex, now with TDD (brought to you by DI)! 2016-03-01 12:36:15 -05:00
Deluan
b2cdf8cadb Clearer way to create definitions 2016-03-01 10:18:02 -05:00
Deluan
4df6c43be8 Basic DI (dependency injection) working! Yay!! 2016-03-01 09:38:43 -05:00
Deluan
4efb8ab031 Moved router to conf package 2016-03-01 09:23:40 -05:00
Deluan
b0bd0a63a7 Retrofitting with tests 2016-02-29 10:04:30 -05:00
Deluan
49b512fc9c Big LedisDB refactoring 2016-02-29 01:06:42 -05:00
Deluan
ecc0df9e7c More experimenting with tiedot 2016-02-27 03:35:01 -05:00
Deluan
85ddd19c3d Implemented first repository using tiedot 2016-02-26 01:32:31 -05:00
Deluan
975327a6cb Handling request validation/authentication 2016-02-24 18:06:49 -05:00
Deluan
9a55fa1c64 Experiments with bleve, repositories and parsing itunes 2016-02-24 15:30:28 -05:00
Deluan
1a3f370ea6 Refactored responses, implemented getLicense 2016-02-24 11:40:58 -05:00
Deluan
ed1a132d8e Better Ping implementation 2016-02-24 00:29:27 -05:00
Deluan
b9e9d38a9a First endpoint: Ping 2016-02-24 00:07:57 -05:00
Deluan
5d6fd4ee6b Initial project skeleton 2016-02-23 18:41:35 -05:00