Minor Improvements to the “OrderInVideos” Program

I should probably change the name of this program by now, because it looks rather ridiculous like this, but today I worked on it again. I made the following changes:

  1. Fixed 1 bug in the similarity evaluation where, in certain cases, the method returned a number greater than 1.0 – normally it should return a value between 0.01 and 1.0, depending on the number of matching words.
  2. Added the ability to insert a hyphen after each word and then immediately check whether I already have a song with that name on disk. This comes in handy, for example, when the title is “Petr Muk Bon Soir Mademoiselle Paris”. This partially solves point 1 from 👻 RIP – this server did not even survive its own hosting..
  3. If a video has only one remix (i.e. only one ( or [ character) and no hyphen, I try to move the content in the brackets to the beginning and remove the brackets. Then I check whether I already have this song on disk. This is useful when the title is, for example, “Bon Soir Mademoiselle Paris (Petr Muk)”.
  4. Minor bug fixes and improvements.

It is not much, but the program is a little better again! 🙂

Categories

Leave a Reply