Av:Developer:Eriskay:StreamingServices
Streaming Services
TIDAL
Tidal’s API is private. See Tidal for access to it. Or speak to us for help if you think that your access to the API would benefit OpenHome.
Assuming access to Tidal’s API, the Credentials service can be used to retrieve the following information:
- The
Idsproperty variable includestidalhifi.comif Tidal is supported. DatafromGetis JSON and contains at least the following fields:
{
"country_code": "Tidal country code",
"user_id": "Tidal user identifier"
.....
}
</tt>
StatusfromGetis blank ifUsernameandPasswordare both either blank or set and valid. IfStatusis not blank, it contains either JSON returned from a Tidal API or an error string.- The token returned from
LoginandReloginis JSON and contains at least the following fields:
{
"session_id": "Tidal session id"
.....
}
</tt>
- Tracks can be added to the Playlist service with urls in the form
tidal://track?version=1&trackId=[tidal_track_id]
</tt>
Qobuz
Qobuz’s developer API is published on github.
The Credentials service can be used to retrieve the following information:
- The
Idsstate variable includesqobuz.comif Qobuz is supported. DatafromGetis JSON and contains at least the following fields:
{
"app_id": "qobuz app id"
.....
}
</tt>
StatusfromGetis blank ifUsernameandPasswordare both either blank or set and valid. IfStatusis not blank, it contains either JSON returned from a Qobuz API or an error string.- The token returned from
LoginandReloginis JSON and contains at least theuser_auth_tokenrequired by some Qobuz calls.
{
"user_auth_token": "[token from qobuz]"
.....
}
</tt>
Some Qobuz APIs require an app_secret argument. These APIs should not need to be called from control points. Qobuz’s standard development agreement prohibits this being shared between device and control point.
Tracks can be added to the Playlist service with urls in the form
qobuz://track?version=2&trackId=[qobuz_track_id]
</tt>