Syntax Api
Hi,
I.ve been trying the Subsonic api's to solve some database problems. I can run the Getgenres-api without any problems and get a full list of genres.
In this list I see some strange genres like:
<genre albumCount="2" songCount="29">Desconocido</genre>
<genre albumCount="1" songCount="28">Tribal</genre>
<genre albumCount="1" songCount="28">Trailer</genre>
Now I want to know what songs have these strange genre-names so I tried to use the getSongsByGenre.view-api but I can't get it to work.
I have used following syntax;
"http://your-server/rest/getSongsByGenre.view&genre=oldies?u=admin&p=adminpassword&v=1.14.0&c=myapp" and some varitions on that but I only get errors like
<error message="Required string parameter 'genre' is not present" code="10"/> or similar errors.
Can somebody tell me what syntax I should use to get this working?
I can't find rhe correct syntax on the documentation-page: http://www.subsonic.org/pages/api.jsp.
Any ideas?
Thanks Toolman.
I.ve been trying the Subsonic api's to solve some database problems. I can run the Getgenres-api without any problems and get a full list of genres.
In this list I see some strange genres like:
<genre albumCount="2" songCount="29">Desconocido</genre>
<genre albumCount="1" songCount="28">Tribal</genre>
<genre albumCount="1" songCount="28">Trailer</genre>
Now I want to know what songs have these strange genre-names so I tried to use the getSongsByGenre.view-api but I can't get it to work.
I have used following syntax;
"http://your-server/rest/getSongsByGenre.view&genre=oldies?u=admin&p=adminpassword&v=1.14.0&c=myapp" and some varitions on that but I only get errors like
<error message="Required string parameter 'genre' is not present" code="10"/> or similar errors.
Can somebody tell me what syntax I should use to get this working?
I can't find rhe correct syntax on the documentation-page: http://www.subsonic.org/pages/api.jsp.
Any ideas?
Thanks Toolman.