Hello,
today I present js module for Synology AudioStation application.
Change audioStation.ip, login and password to yours(default is
demo.synology.com), leave protocol 'http'.
Facilities: sorting library by Albums, Artists, Composers, Genres, control of remote player(sending playlist, changing volume, getting feedback).
I didn't include searching functionality, browsing folders, and working with current remote player playlist yet but I will do it in future.
Also I have a questions about image element.
First, is that possible to get image over https protocol?
Second question about caching. For images I use link that looks like getcover.cgi?album_name=Album&other=params. But some albums, artists don't have an image. In this case error 404 is returning. So in this case default image(Audio CD.png) should be shown. When I launch iViewer with debugger just after loading gui everything is ok but when I launch iViewer with remembered gui instead of default image I get blank. I think it is because I unchecked Allow Cache option in image component property. But if I have it checked images have a more strange behavior. Look attached screenshot blank_images.png.