I setup Sonic Sage with OpenAi API key. Instantly noticed that when building a playlist it adds music that i dont have which is idiotic. There needs to be a button that enables “library only mode”. If i type “make a 30 song Playlist of the best 90’s music in my library” it still puts in music “not found on device”. Please add this functionality asap.
The button is already there. Look in the settings where you put your open air key in.
Sorry, this might be an internal test preference. I seem to remember why it’s still only internal:
The OpenAI results are close to useless without a streaming service (like TIDAL used to be in Plex) now. Since OpenAI doesn’t know which tracks you actually have in your collection, it can produce playlists which don’t correspond to the contents of your server. It all depends on the query.
Hence why this preference is not publicly available.
That’s frustrating lol. But now I do see the conundrum. Although there is probably a way for Plexamp to make an anonymous index of all music available on the server, that it could send to openai without violating privacy. Or bake an LLM into plexamp on device itself. Or on the server side for more powerful CPU/GPU if needed. Or worst case allow us to roll our own AI in Ollama to use for Plexamp. Any of this in the works by chance?
That would mean it would have to get sent with every query. I don’t see it being practicable.
With Plex servers running not only on fully-grown, and very modern PCs, but a sizable number of them also on (old) NAS devices and Raspberry Pi boards, I think that is still “out there” in phantasyland.
As for any future development: I wouldn’t be able or allowed to disclose it.
I mean the index doesn’t have to be human readable. It could be a csv, or bare string. Or base64 encoded. For a 2000 song library we are probably talking around 5000 tokens for base64. And 10,000 for bare string. So it would probably cost .10C per playlist build. And maybe there is a way for index persistence, which would cut cost down even further. Just a thought.
The “simple” solution is to bring back a streaming partner. Qobuz? Deezer?
I agree that we need to be able to use Sonic Sage with our personal libraries rather than a music service. The solution is pretty simple: plex creates a csv of all unique “Artist - Albums” in your library, gives that to gpt-5-mini as part of the query to create the playlist. Cost would be minimal and GPT-5-mini is smart enough to only use songs from those albums. If you have a 5,000 songs, that is about 417 albums, which turned into a csv is about 4,271 tokens costing only $0.0011 for the input. So if you had 50,000 songs, you are looking at $0.01 for the query.