RoonCommandLine icon indicating copy to clipboard operation
RoonCommandLine copied to clipboard

Select from Favorites?

Open dkvdm opened this issue 1 year ago • 8 comments

Hi there,

Is it possible to select from your Favorite albums, which is part of the Focus functionality in Roon?

Thanks!

dkvdm avatar Jul 26 '24 21:07 dkvdm

@dkvdm Hi, I don't see favorites supported in the Roon API but I will poke around and see if I can get that to work. Good suggestion. It's just that we cannot do more than what the API will allow.

doctorfree avatar Jul 26 '24 22:07 doctorfree

@doctorfree I've been poking around, but I can’t seem to find a path to list favorite albums. Ultimately my goal is to build a favorite album randomizer. The workaround I was planning was to get album metadata for each album, and collect them if they have the favorite marker. However, I cannot seem to find anything in the Roon API that makes this possible. As you have a lot more knowledge on the API, I’d appreciate your insights 😃

dkvdm avatar Jul 26 '24 23:07 dkvdm

hey @doctorfree, did you manage to look into this? I'm not looking for a full implementation, but rather if this is possible, after which I can try and figure it out myself :)

dkvdm avatar Aug 06 '24 16:08 dkvdm

@dkvdm my initial pass through the Roon API looking for anything we could use to identify favorites came up empty. However, I have not had much time to investigate as my day job reared its head. I will try to carve out some time this weekend but prospects appear dim.

doctorfree avatar Aug 06 '24 18:08 doctorfree

Going above and beyond, I appreciate you sir!

dkvdm avatar Aug 07 '24 03:08 dkvdm

for what it’s worth, I continue to find nothing. I’m going to try and take a look at the raw database and try to query it myself. I believe it’s a LevelDB.

dkvdm avatar Aug 07 '24 03:08 dkvdm

@dkvdm you may get some intelligent feedback by posting to the Roon Community forum. Tag the author of the Python Roon API, Greg Dowling. He is GregD on that forum.

See https://community.roonlabs.com/t/roon-command-line-control-version-2/178731/1

doctorfree avatar Aug 07 '24 17:08 doctorfree

Will do! https://community.roonlabs.com/t/is-there-a-way-to-get-programmatic-access-to-my-favorites/279401/6

dkvdm avatar Aug 07 '24 19:08 dkvdm