ChriD / Raumserver

Raumserver - A HTTP Request Server to control the RF-Multiroom System
32 stars 11 forks source link

LoadContainer vs. LoadSingle #72

Closed rainerz1964 closed 5 years ago

rainerz1964 commented 5 years ago

In my code I first access the Favorites in my RF system via /raumserver/data/getMediaList?id=0%2FFavorites%2FMyFavorites. Favorites in my case contains a list of Radio stations. When using loadContainer with one of the resulting Favorites it doesn't work, however, loadSingle works.

The documentation indicates that loadContainer should work as well. Do you have any idea of what is going wrong?

ChriD commented 5 years ago

loadContainer only works for "containers" "Containers" are for example Albums or any other items which contains subitems. A Radio station doesn't have subitems and therefore it cant be loaded with loadContainer

BTW: Raumserver was replaces d long ago by "node-raumserver"

rainerz1964 commented 5 years ago

That makes sense. Thanks for the clarification.

node-raumserver is the one I am using.