navidrome/server/nativeapi
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
..
native_api.go POST endpoint for importing m3u playlists - #2078 (#2273) 2023-11-01 14:59:47 -04:00
native_api_suite_test.go Rename log.LevelCritical to log.LevelFatal 2022-12-21 14:53:36 -05:00
playlists.go POST endpoint for importing m3u playlists - #2078 (#2273) 2023-11-01 14:59:47 -04:00
translations.go Add missing context to logger calls 2022-11-04 11:30:12 -04:00
translations_test.go Upgrade Ginkgo to V2 2022-07-26 16:53:17 -04:00