Search code examples
gracenote

GraceNote - generate playlist with music of a given country


I would like to use GraceNote to generate play-lists which contain songs likely to appeal to, or, at least, be known to, residents of a given country. E.G, Japan, Korea, Turkey, Brazil, France ...

They don't necessarily have to be in the local language, as I don't think that I can do that with GraceNote (can I ?), but local artists would be nice. Is there any way, for instance, to query and generate a playlist using artist origin?

I realize that something like Gangnam Style might be known in most countries ;-) and that play-list generation is inexact when used this way, but I would be happy with a 70 or 80% "I know that song" reaction.

Can it be done? If so, how? @cweichen, can you help?


Solution

  • It seems likely you are referring the the Rhythm API. As you probably can see from the function definition, you cannot create a playlist using 'ARTIST_ORIGIN'.

    The closest thing I can think of is creating a playlist (aka radio station) using on a popular song in the given country as a seed.

    You may try configuring the 'focus_similarity' value to get a wider variety of songs. This is just a suggestion and I am not sure if this will get you what your looking for.

    *Pygn currently does not support 'focus_similarity' configuration but it should not be too difficult to add yourself.