cody-music
Advanced tools
Comparing version 2.6.67 to 2.6.68
@@ -55,2 +55,3 @@ export declare enum PlayerType { | ||
error: string; | ||
progress_ms: number; | ||
features: SpotifyAudioFeature; | ||
@@ -57,0 +58,0 @@ } |
@@ -67,2 +67,3 @@ "use strict"; | ||
this.error = ""; | ||
this.progress_ms = 0; | ||
this.features = new SpotifyAudioFeature(); | ||
@@ -69,0 +70,0 @@ } |
@@ -158,2 +158,5 @@ "use strict"; | ||
track = musicUtil.copySpotifyTrackToCodyTrack(response.data); | ||
track.progress_ms = response.data.progress_ms | ||
? response.data.progress_ms | ||
: 0; | ||
// get the arist data | ||
@@ -241,2 +244,5 @@ if (includeArtistData && track.artists) { | ||
track = musicUtil.copySpotifyTrackToCodyTrack(response.data.item); | ||
track.progress_ms = response.data.progress_ms | ||
? response.data.progress_ms | ||
: 0; | ||
} | ||
@@ -243,0 +249,0 @@ else { |
@@ -63,2 +63,3 @@ export enum PlayerType { | ||
error: string = ""; | ||
progress_ms: number = 0; | ||
features: SpotifyAudioFeature = new SpotifyAudioFeature(); | ||
@@ -65,0 +66,0 @@ } |
@@ -189,2 +189,5 @@ import { MusicUtil } from "./util"; | ||
track = musicUtil.copySpotifyTrackToCodyTrack(response.data); | ||
track.progress_ms = response.data.progress_ms | ||
? response.data.progress_ms | ||
: 0; | ||
@@ -298,2 +301,5 @@ // get the arist data | ||
track = musicUtil.copySpotifyTrackToCodyTrack(response.data.item); | ||
track.progress_ms = response.data.progress_ms | ||
? response.data.progress_ms | ||
: 0; | ||
} else { | ||
@@ -300,0 +306,0 @@ track = new Track(); |
{ | ||
"name": "cody-music", | ||
"version": "2.6.67", | ||
"version": "2.6.68", | ||
"description": "mac osx spotify and itunes music player controller, spotify audio features, itunes and spotify genre, and playlist control", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
506522
12378