2010-05-02, 20:09
They aren't directories, they are files. So I think they should be treated as such to keep things consistent and clear for the client app. Maybe you could add a flag to the files return values telling that it's a special type of file, one that's allowed to be accessed like a directory.
edit:
I think it's mentioned before.... But the I can't get any directory content filtered.
...returns all content, the same goed for the "video" flag.
edit:
I think it's mentioned before.... But the I can't get any directory content filtered.
Code:
{"jsonrpc":"2.0","method":"Files.GetDirectory","params":{"type":"music","directory":"/a/dir/containing/audio/files/"},"id":1}
...returns all content, the same goed for the "video" flag.