API problems, getMusicDirectory, returns "Odd number of cha"

Need help? Post your questions here.

Moderator: moderators

API problems, getMusicDirectory, returns "Odd number of cha"

Postby BlackBurn » Mon Aug 15, 2011 7:00 pm

When I do a API request with the following url:
Code: Select all
http://10.10.10.10:4040/rest/getMusicDirectory.view?u=user&p=pass&v=1.5.0&c=mp&id=1


it returns:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<subsonic-response xmlns="http://subsonic.org/restapi" status="failed" version="1.5.0">
  <error code="0" message="Odd number of characters."/>
</subsonic-response>


The id I got from a getMusicFolder request.

Can anybody tell me what I'm doing wrong here?
BlackBurn
 
Posts: 2
Joined: Mon Aug 15, 2011 6:55 pm

Re: API problems, getMusicDirectory, returns "Odd number of

Postby BlackBurn » Mon Aug 15, 2011 7:06 pm

Damn'd why I always post and then almost find the answer immediately.

I have to use the Id's from getIndexes.

Still wondering what is the best way for directorybrowsing, when I do a getMusicFolder, it returns the "base" folder(s). I want to browse one of those folders.
BlackBurn
 
Posts: 2
Joined: Mon Aug 15, 2011 6:55 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests