Commit Graph

107 Commits

Author SHA1 Message Date
Deluan 182c0b5d5e Add configuration for scan interval. Default 5 mins 2020-01-22 08:48:02 -05:00
Deluan f0ee41a8af Add context to all methods in engine layer 2020-01-22 08:39:57 -05:00
Deluan c42e1bd2f5 Extract metadata from files in a directory in batch (one call to ffmpeg for all files) 2020-01-21 07:50:30 -05:00
Deluan 7529ae3752 Extract metadata with `ffmpeg` 2020-01-20 22:32:40 -05:00
Deluan 28cd3ec3e4 Fix startup order, setting LogLevel 2020-01-20 17:35:04 -05:00
Deluan 99c28731d4 Authenticate Subsonic API calls using the DB 2020-01-20 13:42:43 -05:00
Deluan 491bfb1f69 Create initial user if User table is empty. Also make model.QueryOptions compatible with rest.QueryOptions 2020-01-19 22:47:22 -05:00
Deluan 67eeb218c4 Big Refactor:
- Create model.DataStore, with provision for transactions
- Change all layers dependencies on repositories to use DataStore
- Implemented persistence.SQLStore
- Removed iTunes Bridge/Importer support
2020-01-19 16:28:09 -05:00
Deluan 123f543a94 New Folder Scanner - WIP 2020-01-17 20:54:28 -05:00
Deluan ca2c897340 Add flag to disable startup banner 2020-01-15 17:51:52 -05:00
Deluan 5240d83fcf Replace fmt.Print with log.Error 2020-01-15 11:02:27 -05:00
Deluan a167669717 Change default db path 2020-01-14 18:55:12 -05:00
Deluan a99c3a8af3 Another big refactor: Back to a single folder for persistence implementation 2020-01-14 18:47:57 -05:00
Deluan 3d76144f82 Allow LogLevel to be configurable. Also add filename and line number when LogLevel>=debug 2020-01-13 19:57:36 -05:00
Deluan 536244bc44 Removed LedisDB persistence layer. May reimplement in the future (not likely thou) 2020-01-13 16:37:24 -05:00
Deluan 4b1c909a4d Make persistence provider pluggable at runtime 2020-01-11 15:27:32 -05:00
Deluan 5acc9c7a22 Make DisableAuthentication a Dev flag 2020-01-11 15:27:32 -05:00
Deluan a4a8360a94 Add Dev flag to disable file presence verification 2020-01-11 15:27:32 -05:00
Deluan ff5b91da54 Renamed DisableValidation to DisableAuthentication 2020-01-09 22:44:45 -05:00
Deluan 23e38ec82f Removed (almost) all remaining init() 2020-01-09 22:44:45 -05:00
Deluan 79701caca3 Removed Beego routing/controllers, converted to Chi.
Also introduced Wire for dependency injection
2020-01-09 22:44:45 -05:00
Deluan 4c61ac3272 Fix default PlsIgnoredPatterns configuration 2020-01-06 15:17:44 -05:00
Deluan c417a00e62 Renamed project to CloudSonic 2017-04-01 09:47:14 -04:00
Deluan 62bfc85b07 Changed default port to 4533 2016-03-30 12:57:44 -04:00
Deluan 132fe06950 Cleaned default PlaylistIgnoredPatterns 2016-03-30 00:28:52 -04:00
Deluan c2b1f9782b New configuration system 2016-03-30 00:05:57 -04:00
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