Saturday, December 16, 2023

Create your own Radio: Here's how:

   

                

Plexamp is a wonderful companion app to listen to music in your plex library. You can create artist's radios, album mixes, or track radios.

But once you've worked up an appetite, you'll want more: 

You can't create radios in plex web, the sonic proximity to the source tracks can't be determined and you can't combine two tracks or two artists. You also can't rule out the possibility of tracks heard in the last few weeks reappearing, etc. 

But wait, all this can be achieved with a python script.

An example can be found with 'Plex TraxRadio' on my github pages. The script stores in a plex playlist some tracks of the artist the source track comes from and adds sonically similar tracks of a certain distance. I also remove possible duplicates and take into account the rating of the tracks. In the published version, no tracks with a bad rating are included, but unrated tracks are. 

Have no fear...


It should be said again that I am not a professional coder, quite the opposite. Most of it was created in interaction with ChatGPT...

The possibilities with python are almost endless. For example, you could also take into account the genre(s) and much more.... 


No comments:

Post a Comment