Add playlists REST endpoint

This commit is contained in:
Deluan authored and Deluan Quintão committed 2020-05-16 18:35:34 -04:00
1 parent 8e2480a82d
commit 4e613be960
4 files changed
+30 -3

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ func (app *Router) routes(path string) http.Handler {
app.R(r, "/album", model.Album{}, true)
app.R(r, "/artist", model.Artist{}, true)
app.R(r, "/player", model.Player{}, true)
app.R(r, "/playlist", model.Playlist{}, true)
app.R(r, "/transcoding", model.Transcoding{}, conf.Server.EnableTranscodingConfig)
app.addResource(r, "/translation", newTranslationRepository, false)