cody-music
Advanced tools
Comparing version 2.9.4 to 2.9.5
@@ -130,8 +130,14 @@ "use strict"; | ||
if (launchResult && launchResult.error) { | ||
// try it with START | ||
launchResult = await this.startWindowsPlayer("START SPOTIFY"); | ||
// try with roaming/spotify | ||
launchResult = await this.startWindowsPlayer("%APPDATA%/Roaming/Spotify/Spotify.exe"); | ||
if (launchResult && launchResult.error) { | ||
launchResult = await this.startWindowsPlayer("spotify"); | ||
// try it with START | ||
launchResult = await this.startWindowsPlayer("START SPOTIFY"); | ||
if (launchResult && launchResult.error) { | ||
launchResult = await this.startWindowsPlayer("spotify.exe"); | ||
// try with just spotify | ||
launchResult = await this.startWindowsPlayer("spotify"); | ||
if (launchResult && launchResult.error) { | ||
// try with spotify exe | ||
launchResult = await this.startWindowsPlayer("spotify.exe"); | ||
} | ||
} | ||
@@ -138,0 +144,0 @@ } |
@@ -149,12 +149,22 @@ import { MusicUtil } from "./util"; | ||
if (launchResult && launchResult.error) { | ||
// try it with START | ||
// try with roaming/spotify | ||
launchResult = await this.startWindowsPlayer( | ||
"START SPOTIFY" | ||
"%APPDATA%/Roaming/Spotify/Spotify.exe" | ||
); | ||
if (launchResult && launchResult.error) { | ||
launchResult = await this.startWindowsPlayer("spotify"); | ||
// try it with START | ||
launchResult = await this.startWindowsPlayer( | ||
"START SPOTIFY" | ||
); | ||
if (launchResult && launchResult.error) { | ||
// try with just spotify | ||
launchResult = await this.startWindowsPlayer( | ||
"spotify.exe" | ||
"spotify" | ||
); | ||
if (launchResult && launchResult.error) { | ||
// try with spotify exe | ||
launchResult = await this.startWindowsPlayer( | ||
"spotify.exe" | ||
); | ||
} | ||
} | ||
@@ -161,0 +171,0 @@ } |
{ | ||
"name": "cody-music", | ||
"version": "2.9.4", | ||
"version": "2.9.5", | ||
"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
559074
13569