Websocket API: Get a list of albums

Hi there,

my goal is to create a playlist for each album in my music collection. Since there are a lot of albums I want to do it via script, rather than by hand.
So I tried to iterate over the album list by browseLibrary, but I get an empty output with the following script. How do I use the uri parameter? Is it possible to use a wildcard like mnt/NAS/*?

Cheers,
Sascha

[code]

[/code]

So I found the solution. Who needs documentation, when you can read source code :mrgreen:
Maybe this is interesting if someone stumbles over the same problem:

[code]

[/code]