cody-music
Advanced tools
Comparing version 2.9.3 to 2.9.4
@@ -333,3 +333,3 @@ "use strict"; | ||
} | ||
if (!track || musicUtil.isEmptyObj(track)) { | ||
if (!track) { | ||
track = new models_1.Track(); | ||
@@ -336,0 +336,0 @@ } |
@@ -57,2 +57,3 @@ export declare enum PlayerType { | ||
features: SpotifyAudioFeature; | ||
httpStatus: number; | ||
} | ||
@@ -59,0 +60,0 @@ export declare class Artist { |
@@ -69,2 +69,3 @@ "use strict"; | ||
this.features = new SpotifyAudioFeature(); | ||
this.httpStatus = 200; | ||
} | ||
@@ -71,0 +72,0 @@ } |
@@ -434,2 +434,3 @@ "use strict"; | ||
track.state = models_1.TrackStatus.NotAssigned; | ||
track.httpStatus = response.status; | ||
} | ||
@@ -436,0 +437,0 @@ return track; |
@@ -414,3 +414,3 @@ "use strict"; | ||
if (!track || musicUtil.isEmptyObj(track)) { | ||
if (!track) { | ||
track = new Track(); | ||
@@ -417,0 +417,0 @@ } else if (track && !track["playerType"]) { |
@@ -65,2 +65,3 @@ export enum PlayerType { | ||
features: SpotifyAudioFeature = new SpotifyAudioFeature(); | ||
httpStatus: number = 200; | ||
} | ||
@@ -67,0 +68,0 @@ |
@@ -534,2 +534,3 @@ import { MusicUtil } from "./util"; | ||
track.state = TrackStatus.NotAssigned; | ||
track.httpStatus = response.status; | ||
} | ||
@@ -536,0 +537,0 @@ |
{ | ||
"name": "cody-music", | ||
"version": "2.9.3", | ||
"version": "2.9.4", | ||
"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
558190
13553