Commit 6105bc19 authored by Larry Sachs's avatar Larry Sachs

Update per CR 2259

For Media Control attributes, camelCaseNames have been replaced
with lower_case_underscored_names.

Change-Id: I3a90fd8a77e348b5b9f4d553f675c00ad725ed6f
Signed-off-by: Larry Sachs's avatarLarry Sachs <larry.j.sachs@intel.com>
parent 66899385
Pipeline #38 failed with stages
in 13 seconds
......@@ -41,16 +41,16 @@ public class MediaControl extends Service implements Parcelable {
public static final String UPNP_OIC_URI_PREFIX_MEDIA_CONTROL = "/upnp/mediaControl/";
public static final String UPNP_OIC_URI_PREFIX_MEDIA_CONTROL_NM_HREF = "/upnp/mediaControl/AVTransport/";
public static final String STATE_KEY = "playState";
public static final String STATE_KEY = "play_state";
public static final boolean DEFAULT_STATE = false;
public static final String SPEED_KEY = "mediaSpeed";
public static final String SPEED_KEY = "media_speed";
public static final double DEFAULT_SPEED = 1.0;
public static final String LOCATION_KEY = "mediaLocation";
public static final String LOCATION_KEY = "media_location";
public static final String DEFAULT_LOCATION = "00:00:00";
public static final String LAST_ACTION_KEY = "lastAction";
public static final String LAST_ACTION_KEY = "action";
public static final String DEFAULT_LAST_ACTION = "stop";
public static final String ACTIONS_KEY = "actions";
......
......@@ -24,10 +24,10 @@ static const string MODULE = "UpnpAvTransportService";
// AV Transport Service
static const char *playStatePropertyName = "playState";
static const char *mediaSpeedPropertyName = "mediaSpeed";
static const char *mediaLocationPropertyName = "mediaLocation";
static const char *lastActionPropertyName = "lastAction";
static const char *playStatePropertyName = "play_state";
static const char *mediaSpeedPropertyName = "media_speed";
static const char *mediaLocationPropertyName = "media_location";
static const char *lastActionPropertyName = "action";
static const char *actionsPropertyName = "actions";
static const char *actionPropertyName = "action";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment