Tools and other software Media-Buddy - the MKV Buddy successor. (2 Viewers)

Lehmden

Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,624
    4,026
    Lehmden
    Home Country
    Germany Germany
    Hi.

    The music scraper is coming along nicely. It’s looking like it will turn out to be many times better than I ever expected.

    V2_327.jpg


    In principle, you can feed the scraper a collection of unsorted .mp3, .flac, .ogg, or similar files. As long as there is some indication of which track or album a file belongs to—such as its filename or ID3 tags—the scraper will (almost always) correctly identify it, apply the appropriate tags, rename the file according to a configurable scheme, and download the corresponding lyrics. Much like with TV shows or movies, you can also provide a MusicBrainz ID to assist with identification. The scraper can also retrieve fan art and metadata for both albums and artists—all of which is fully configurable. Optionally, song lyrics, album information, and artwork can be embedded directly into the music files, similar to how most dedicated external tagging programs operate. Furthermore, if configured to do so, the scraper can create folders for albums and/or artists, and store artist-related information in Kodi’s central artist artwork directory (either in addition to or instead of embedding it in the files).

    V2_328.jpg


    And all of this happens fully automatically, without requiring any user intervention. Naturally, there is also an option for manual adjustments, allowing you to correct any errors made by the automated process. That said, in recent tests involving over 100 different audio files, the scraper achieved a 100% success rate—a significant improvement from the initial 60–70% range. The extra effort has truly paid off, though, of course, no absolute guarantee can be given.

    While working on the music scraper (a project still in progress), the idea emerged to potentially include song lyrics as subtitles in music videos—essentially converting .lrc files into .srt files. This strikes me as a great idea; it would allow users to choose whether or not to display the lyrics as subtitles when playing music videos. This feature is not yet complete, but it is being implemented.
     

    Attachments

    • de6aa864-7274-4a13-9910-5f149d558a4b.zip
      214 bytes

    Lehmden

    Retired Team Member
  • Premium Supporter
  • December 17, 2010
    12,624
    4,026
    Lehmden
    Home Country
    Germany Germany
    Hi.

    The scraper is completely finished and has turned out really well. I never expected it to be able to generate such high-quality metadata tags in a fully automated way. It handles unusual cases—like standalone tracks or duets—with ease, and it’s also unfazed by "dangerous" files; for instance, I discovered some files that contained JavaScript embedded within the lyrics. While JavaScript cannot be executed directly from a music file, it certainly has no business being in a set of song lyrics, in my opinion. In any case, such content—as well as remnants of HTML—is now cleaned out, and the "correct" lyrics are inserted as metadata tags (provided the software is configured to do so). I’m not sure to what extent tools like CULyrics can make use of embedded lyrics, but if the external lyric files were ever to go missing, you could simply extract them again from the metadata.

    V2_341.jpg


    Artist and album fan art, along with metadata, are now stored—optionally—both directly alongside the music files and in a central "artist artwork" folder. This entire process happens automatically, without any manual intervention, and achieves an unexpectedly high success rate.

    With that, the "workhorses" of the music-processing system are complete. Next up is the "ringmaster"—the Music Assistant. It will autonomously decide whether a music file should be copied as-is or re-encoded, and will then trigger the scraper to transform a chaotic jumble of files into organized, neatly tagged albums and individual tracks. Once the final manual refinement and quality control are finished, the music component will be complete. Slowly but surely, I can finally see the light at the end of the tunnel...
     

    Users who are viewing this thread

    Top Bottom