feat: add title and artist to collected json
This commit is contained in:
@@ -31,6 +31,8 @@ object RunDataStorage {
|
||||
playlistDisplayName: String,
|
||||
trackQueueIndex0Based: Int,
|
||||
metaContentUri: String,
|
||||
title: String,
|
||||
artist: String,
|
||||
snapshot: RunTrackDataSnapshot,
|
||||
): Uri? {
|
||||
if (snapshot.isEmpty()) return null
|
||||
@@ -51,6 +53,8 @@ object RunDataStorage {
|
||||
put("gyro", samplesToJsonArray(snapshot.gyroscope))
|
||||
put("gps", gpsToJsonArray(snapshot.gps))
|
||||
put("meta", metaContentUri)
|
||||
put("title", title)
|
||||
put("artist", artist)
|
||||
put("versionCode", BuildConfig.VERSION_CODE)
|
||||
}.toString()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user