ChatGPT and Roon API

Do you think there’s any chance of ChatGPT accessing Roon’s api and Roon being added to the ChatGPT connected apps? Right now I am using ChatGPT to randomly select albums to listen to. Of course I have to export my albums into a spreadsheet and upload it to ChatGPT but the random selection works fine. It would still be cool if ChatGPT had more granular access to my Roon database and I could see a lot of uses for the connection. Playlists, tag auditing, random selection etc. I’m just getting started with AI and already have a randomizer and have greatly streamlined my CD ripping process. Really enjoying it!

2 Likes

I do not think there is. However, if you want to proposed that as a Feature Request, you should post in Feedback > Feature Suggestions and don’t forget to vote for your own suggestion.

Rather not in case you refer to the public ChatGPT service which has no connections to privately owned data somewhere below your personal desk or TV set.
In case you want to know more about LLMs like ChatGPT, what they are and what they are not, do a quick research, in best case without using an LLM :slightly_smiling_face:

If you have the capabilities, true Roon Extension Manager. There’s a random album tool in there.

Installing DietPi on either a Raspberry Pi or an unused PC is the easiest method IMHO.

Depending on your available hardware, you could use DietPi to install Roon Server and Roon Extension Manager in the same machine.

Maybe I can finally convince the selection software that I don’t like opera.

1 Like

I have also written a program for Random Album selection:

There’s a topic in the Tinkering section as well:

Please give it a try if you’re looking for that functionality!

Hi Mark, I’d love to try this. Did the download and install on my Mac (running 26.2) but could not get it to connect to my Roon server. Since my server is running on another machine I used Manual Connect and got a successful green result from the Test Connection button. However the main screen of your app still shows ‘Disconnected’.
Even tried with firewall turned off but no difference. Any ideas?

UPDATE: saw another post on this which fills in the missing piece - the need to enable this as a Roon extension before the connection works properly. Now working and providing another good way to select an album to listen to.

There is also this available which even someone with my IT synaptic deficiency can manage to get working.

.sjb

The path for AI and Roon may be through Roon CLI (command line) which uses the API, depending on what you are trying to do and your chosen AI’s capabilities.

I have an MCP I use as part of the bridge I built for my controllers (like the $50 ESP32-S3 Knob Hifi Controller ).

What are you hoping to get from ChatGPT + Roon API?

There’s another thread running about getting your play history from Roon. I’ve used this approach to feed a csv file into ChatGPT and do some fun things.

1 Like

Not sure if I read the product requirement exactly.

But isn’t the easiest thing if Roon just gave a new sort option ‘Random’ here:

dnot know what is current the script behind the “recommended album”, but will be strange for the feature not to implement AI that is personally tunable and learns form the behavior of so many users.

I set up my roon controller bridge locally so now can use AI agents to control roon.

You can install the bridge in extension manager, docker, qnap. I am working on Synology too but it’s slow going since I don’t have one to test on. Then an AI client that can use MCPs can control roon.

What is the chance of having AI NLS queries in Roon? I would love to be able to say play or create a playlist of x number of songs like the Adagio in Mahler’s 5th.

There is a command line interface, your current best bet is to install that and connect to AI of your choice.

I did some testing, it kinda worked. Mostly I say “Play playlist XYZ”. For tracks I found that the CLi can only play tracks in your Library and only queues them up one at a time.

As I mentioned elsewhere in the community, I am not a fan of AI-created artwork. However, I believe AI has become very useful to me in many other ways. In the past year, I have used it to create complex spreadsheets and other computer-related issues/projects. It is amazing how advanced AI has become, and a bit frightening to think about what it could eventually become.

I am a big fan of Anthropic’s Claude ai system and subscribe to their Pro version. I’ve been chatting with it for the past few weeks, tweaking an AI Playlist Generator app Claude created for me. It has functioned quite well after I let it scan an exported CSV file from my 300,000+ song track collection on JRiver Media player. The metadata collected includes the artist/band name, album/song titles, BPM, and genres/style/mood associated with each track.

Here are screenshots from the “Project” chat session and a sample of what it has produced…


It generates four different types of playlists, which I can save, if I choose, as M3U files that Roon, JRiver, and Plex servers can import. As the playlists are created, I can tell Claude when/where I find discrepancies in the track selections, and it will attempt to fix the code to address any shortcomings. Pretty impressed by what AI can do.

2 Likes