Paradise Flac radio without cuts.

I made a small program in python that plays RP Flac without cuts. Instead of playing the radio stream as the current plugin does, download the flac file that RP provides and then play it. The only problem is that you have to wait a few seconds every 4 songs for the file to download.
I do not have the slightest idea how to make a plugin, will there be someone in the community who wants to do it?
If you are interested in passing the .py to study it, it is very simple.