diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-09-05 21:15:30 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-09-06 14:47:10 -0700 |
commit | 1a1ff962da92aff5a1d3e757710c725e03238458 (patch) | |
tree | d2be14d7630f1f1674df8c99a88a429df4ed6b55 /app | |
parent | 71a36b404ea5e1d8819b85e1d8d5c39b09645ca3 (diff) |
binding: media: remove binding from source tree
Media binding has been moved to it own repo, and the code
is no longer needed within the MediaPlayer application
Bug-AGL: SPEC-848
Change-Id: I6de0e556b7143e200a5976e9139b1824f43e739a
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'app')
-rw-r--r-- | app/api/LightMediaScanner.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/api/LightMediaScanner.qml b/app/api/LightMediaScanner.qml index cbacb8c..112cb98 100644 --- a/app/api/LightMediaScanner.qml +++ b/app/api/LightMediaScanner.qml @@ -24,7 +24,7 @@ WebSocket { url: bindingAddress property string statusString: "waiting..." - property string apiString: "media-manager" + property string apiString: "mediascanner" property var verbs: [] property var items: [] property string payloadLength: "9999" @@ -69,10 +69,10 @@ WebSocket { case msgid.event: var payload = JSON.parse(JSON.stringify(json[2])) var event = payload.event - if (event == "media-manager/media_added") { + if (event == "mediascanner/media_added") { console.debug("Media is inserted") validateItem(json[2].data.Media) - } else if (event == "media-manager/media_removed") { + } else if (event == "mediascanner/media_removed") { var removed = 0 console.debug("Media is removed") player.stop() |