navidrome/server/subsonic/responses
Sam Watson 26472f46fe
POST endpoint for importing m3u playlists - #2078 (#2273)
* wip: API endpoint for creating playlists from m3u files

* wip: get user id from context

* temporarily disable failing test

* custom logic for playlist route to accomodate m3u content type

* incorporate playlist parsing into existing logic in core

* re-enable test

* fix locally failing test

* Address requested changes.

* Improve ImportFile tests.

* Remove ownerID as a parameter of ImportM3U.

* Write tests for ImportM3U.

* Separate ImportM3U test into two.

* Test OwnerID and playlist Name.

---------

Co-authored-by: Sam Watson <SwatsonCodes@users.noreply.github.com>
Co-authored-by: caiocotts <caio@cotts.com.br>
2023-11-01 14:59:47 -04:00
..
.snapshots Add initial support for OpenSubsonic. (#2302) 2023-04-08 13:25:37 -04:00
errors.go Check permissions to playlist operations 2020-01-21 17:18:46 -05:00
responses.go Jukebox mode (#2289) 2023-09-10 11:25:22 -04:00
responses_suite_test.go Bump github.com/bradleyjkemp/cupaloy to v2.8.0 2022-12-05 22:45:02 -05:00
responses_test.go POST endpoint for importing m3u playlists - #2078 (#2273) 2023-11-01 14:59:47 -04:00