deezer-downloader
deezer-downloader copied to clipboard
how to use API
I am trying to figure out how to use the simple REST api but don't know how to reach it.
You can check app/app.py or use the frontend in the brwoser and check the browsers debug console (check the network tab).
I am always getting
error: "add_to_playlist must be a boolean"
with this as my input
msg.payload = { 'playlist_name': 'emby add', 'playlist_url': 'https://open.spotify.com/track/4TjWyfp9lWll6VzccPbjYY?si=f00pGGnYRIaRI-emvDxx2A', 'add_to_playlist': 'False', 'create_zip': 'False' }
//set url msg.url = "http://192.168.1.21:8093/playlist/spotify"
'add_to_playlist': 'False',
it looks like you are using 'False' as a string. Try False/false