1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 18:22:46 +00:00

Added very simple photo viewer

This commit is contained in:
Chris Josten 2020-10-10 17:28:13 +02:00
parent d6a1f431b4
commit e838fcc8a1
6 changed files with 46 additions and 5 deletions

View file

@ -248,6 +248,10 @@ void ApiClient::postCapabilities() {
setDefaultErrorHandler(rep);
}
QString ApiClient::downloadUrl(const QString &itemId) const {
return m_baseUrl + "/Items/" + itemId + "/Download?api_key=" + this->m_token;
}
void ApiClient::generateDeviceProfile() {
QJsonObject root = DeviceProfile::generateProfile();
m_playbackDeviceProfile = QJsonObject(root);