I did not create this, only sharing a good find
script that allows you to add the logos of each channel of an m3u file to your xui database.
It saves a lot of time if you lose all your logos
First place the script in the same folder as the m3u file.
Then rename the m3u file as follows...