Let's forget the txt by now, what I wanted was to replace the actual algorithm. To see the reasons I will explain it better and from the beginning:
-I have a lot of albums with all their tracks rated except some intros/outros. And I see very few people rates the tracks they don't love.
-The aritmethic mean of the album tracks, is seen as album rating and i don't know if it is stored in the database or instantly calculated. It makes all of them to look very similar showing the same number of stars. I wanted to improve the precision. And i realized every track last different, so it could be considered. Until this point it would be percentage of the length of the album * rating.
-By other side, still trying to look for differences between albums, i thought a longer album of five stars would be better than a short one. Why? Because it makes me enjoy more. So the precision would be improved and instead of showing stars would be better showing points. Again, all the tracks files should be unmodified, showing stars, but when showing albums seeing points. It's not a new format, is a improved internal calculation. So the algoritm would be now track length * rating. Ok, and here i I realise this last point is the subjetive one, and i see it now after the comments read here, some people could prefer listening two albums with five stars than one with four for the same listening time
Now we forget the theory and come back to reality, i have a lot of albums rated and rarely i will see albums with more than 3 stars. So how to solve this?
Now the workaround: Seeing very few people rate the tracks of their albums, i understand to implementing this would be needed a plugin. We don't want to rewrite all the tracks, so better writing it in the MB database. Maybe i am wrong, but i understood if we store that album rating in the DB then we couldn't edit/update the tags in our files, only in the databases. And to solve that in two seconds thought i proposed the local file as the last attempt to see this done. So i don't have any interest in creating a standard for a txt, what i wanted was seeing more differences between my albums with rated tracks