{ "title": "mediaplayer.spotify", "version": 0.2, "description": "A Spotify player", "lang": "en", "documentation": "http://recherche.telecom-bretagne.eu/xaal/documentation/", "ref": "http://recherche.telecom-bretagne.eu/xaal/documentation/mediaplayer.spotify", "license": "Copyright Christophe Lohr Telecom Bretagne 2014 - Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.", "extends": "mediaplayer.basic", "variables": { "url": { "description": "URL of the played media", "unit": "", "type": { "$schema": "http://json-schema.org/schema#", "type": "string", "format": "uri" } } }, "methods": { "playUrl": { "description": "Play an URL", "parameters": { "url": { "description": "URL of the media to play", "unit": "", "direction": "in", "type": { "$schema": "http://json-schema.org/schema#", "type": "string", "format": "uri" } } }, "relatedVariables": [ "url" ] } }, "notifications": { "variablesChange": { "description": "Activity changed", "parameters": { "activity": { "description": "Activity of the player", "unit": "", "type": { "$schema": "http://json-schema.org/schema#", "enum": [ "play", "pause", "stop" ] } }, "url": { "description": "URL of the media to play", "unit": "", "type": { "$schema": "http://json-schema.org/schema#", "type": "string", "format": "uri" } } } } } }