Commit graph

40 commits

Author SHA1 Message Date
Deluan
df05760769 Move engine package under subsonic, as it should only be used by the Subsonic API.master
The idea is to move reusable code from `engine` to `core`, in future refactorings
2020-08-04 21:29:35 -04:00
Deluan
d1a0ffaaee Check permissions in playlists 2020-05-16 23:14:28 -04:00
Deluan
a56e588c8e Create relation table for playlist tracks 2020-05-16 18:35:34 -04:00
Deluan
f8362a4acb Fix staticcheck's SA1029 2020-05-13 16:49:55 -04:00
Deluan
03c3c192ed Fixing static checks about passing nil context 2020-04-26 15:07:36 -04:00
Deluan
9fb4f5ef52 Removed Playlist.GetWithTracks, not needed anymore 2020-04-11 19:05:51 -04:00
Deluan
e232c5c561 Add created and changed fields to playlists responses 2020-04-11 18:58:43 -04:00
Deluan
f6e448c1ba refactor: removed unused code, unnecessary typecasts and fixed small warnings 2020-03-20 00:07:36 -04:00
Deluan
8ec78900c5 feat: transcoding and player datastores and configuration 2020-03-17 15:20:35 -04:00
Deluan
d7b5e6a36c fix: add public attribute to playlists. Even though it is optional,
DSub requires it
2020-02-23 00:10:05 -05:00
Deluan
fc14e346b9 feat: store duration as float, to cater for milliseconds 2020-02-20 17:02:06 -05:00
Deluan
72d9ddf532 refactor: remove annotation handling from engine 2020-02-01 17:23:03 -05:00
Deluan
90a1e6d213 feat: add server name and version to all responses
This is inline with other Subsonic compatible servers, like funkwhale, madsonic, ampache...
2020-01-30 14:43:24 -05:00
Deluan
0d2911daf9 refactor: add Context to the persistence layer 2020-01-27 09:41:33 -05:00
Deluan
bee55c04c8 Rename project to Navidrome 2020-01-23 19:44:08 -05:00
Deluan
f0ee41a8af Add context to all methods in engine layer 2020-01-22 08:39:57 -05:00
Deluan
d7116eebd4 Implement annotations per user 2020-01-21 23:03:37 -05:00
Deluan
d4adc784cc Return playlist duration in getPlayList 2020-01-21 18:10:29 -05:00
Deluan
7fe15134a6 Check permissions to playlist operations 2020-01-21 17:18:46 -05:00
Deluan
57fcdac428 Initial support for playlists. Missing permissions 2020-01-21 16:39:35 -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
0ea2bd79d9 Rename domain to model 2020-01-14 22:22:34 -05:00
Deluan
40904b220e Renamed Id to ID, following GoLang convention 2020-01-11 15:27:32 -05:00
Deluan
84d69a4f41 Replaced Beego logging 2020-01-09 22:44:45 -05:00
Deluan
c417a00e62 Renamed project to CloudSonic 2017-04-01 09:47:14 -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
1ed8c60130 Removing engine.ErrDataNotFound in favor of domain.ErrNotFound 2016-03-23 18:15:29 -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
a9d7d4d242 Even more metadata for playlists 2016-03-21 12:26:55 -04:00
Deluan
21b39d922c More slices instead of pointers of slice 2016-03-20 13:33:59 -04:00
Deluan
bd07c74acd Wrap ErrNotFound 2016-03-19 22:54:36 -04:00
Deluan
0ee070b38c Using Entries instead of []Entry 2016-03-14 11:42:33 -04:00
Deluan
3a3bd91324 Refactored object mapping 2016-03-11 09:10:40 -05:00
Deluan
5fc3b3ff11 Renamed error variable 2016-03-10 11:25:15 -05:00
Deluan
2214e4bd4f Playlists working 2016-03-09 18:28:11 -05:00
Deluan
7161325716 Initial wiring for getPlaylists endpoint 2016-03-09 10:09:15 -05:00