zzarbi / synology

PHP Implementation of Synology Download Station
MIT License
126 stars 58 forks source link

Help request #16

Closed lucienimmink closed 4 years ago

lucienimmink commented 9 years ago

Using the wrapped stream endpoint lets a user get the audio content by calling $synology->stream('music_xxx'); This is returned as byte-range if the browser supports it (if the API call is done directly from a browser ofc). Best is to relay ALL response headers from the API but I don't know how to do that and more importantly where it should go; in the AudioStation API wrapper or the demo code. Any help with this issue is really appreciated!