cody-music
Advanced tools
Comparing version 2.6.83 to 2.6.84
@@ -372,2 +372,3 @@ import { PlayerName, Track, PlayerDevice, SpotifyAudioFeature, PlaylistItem, CodyResponse, CodyConfig, PlayerContext, SpotifyAuthState } from "./models"; | ||
export declare function getSpotifyGenreByArtistId(spotifyArtistId: string): Promise<string>; | ||
export declare function getHighestFrequencySpotifyGenre(genreList: string[]): string; | ||
/** | ||
@@ -374,0 +375,0 @@ * Returns the recent top tracks Spotify for a user. |
@@ -889,2 +889,6 @@ "use strict"; | ||
exports.getSpotifyGenreByArtistId = getSpotifyGenreByArtistId; | ||
function getHighestFrequencySpotifyGenre(genreList) { | ||
return musicCtr.getHighestFrequencySpotifyGenre(genreList); | ||
} | ||
exports.getHighestFrequencySpotifyGenre = getHighestFrequencySpotifyGenre; | ||
/** | ||
@@ -891,0 +895,0 @@ * Returns the recent top tracks Spotify for a user. |
@@ -27,2 +27,3 @@ import { PlayerName } from "./models"; | ||
getGenre(artist: string, songName?: string, spotifyArtistId?: string): Promise<string>; | ||
getHighestFrequencySpotifyGenre(genreList: string[]): string; | ||
getGenreFromSpotify(artist: string, spotifyArtistId?: string): Promise<string>; | ||
@@ -29,0 +30,0 @@ /** |
@@ -506,2 +506,5 @@ "use strict"; | ||
} | ||
getHighestFrequencySpotifyGenre(genreList) { | ||
return musicClient.getHighestFrequencySpotifyGenre(genreList); | ||
} | ||
async getGenreFromSpotify(artist, spotifyArtistId = "") { | ||
@@ -508,0 +511,0 @@ let response = null; |
@@ -1002,2 +1002,6 @@ "use strict"; | ||
export function getHighestFrequencySpotifyGenre(genreList: string[]): string { | ||
return musicCtr.getHighestFrequencySpotifyGenre(genreList); | ||
} | ||
/** | ||
@@ -1004,0 +1008,0 @@ * Returns the recent top tracks Spotify for a user. |
@@ -599,2 +599,6 @@ import { MusicUtil } from "./util"; | ||
public getHighestFrequencySpotifyGenre(genreList: string[]) { | ||
return musicClient.getHighestFrequencySpotifyGenre(genreList); | ||
} | ||
public async getGenreFromSpotify( | ||
@@ -601,0 +605,0 @@ artist: string, |
{ | ||
"name": "cody-music", | ||
"version": "2.6.83", | ||
"version": "2.6.84", | ||
"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
517155
12630