home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
HTPC Projects
Software
Tools and other software
Media-Buddy - the MKV Buddy successor.
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Lehmden" data-source="post: 1307656" data-attributes="member: 109222"><p>Hi.</p><p></p><p>I spent some more time refining the scraper yesterday afternoon and this morning. Various edge cases kept popping up that weren’t yet handled automatically—especially when processing unsorted, untagged individual files in a batch. But by around midday, I couldn’t find a single music file that hadn’t been processed correctly. It works just as well for private, never-released CDs recorded 30 years ago as it does for audio tracks from YouTube videos by unknown artists... The assistant is also working perfectly.</p><p></p><p>[ATTACH=full]219752[/ATTACH]</p><p></p><p>There are separate settings for re-encoding lossy formats (such as .mp3, .ogg, etc.) and lossless formats (such as .flac, .ape, etc.). Additionally, there is a whitelist containing codecs that should not be re-encoded at all. The assistant uses this whitelist to determine whether a track requires re-encoding, while also taking into account the settings you have configured. For instance, an .ogg file might be converted to .mp3, while an .ape file could be converted to .flac. The quality settings are intentionally kept simple—much like those for video. Note that for lossless formats, you cannot actually adjust the "quality" (since it is, by definition, lossless); instead, these settings control the compression rate. A higher compression rate results in a smaller file size—without altering the actual audio track—though it also requires more time and CPU power for encoding and decoding. Furthermore, you can increase the volume of tracks (only when re-encoding), which is useful if an album sounds too quiet compared to others. In such cases, it is best to process the albums individually; otherwise, every track will be boosted by the same amount. Once all music files have been processed, the assistant automatically runs a scraper on the output folder. In most cases, the files are instantly renamed, tagged, and populated with fan art and lyrics—ready to be added to your personal collection.</p><p></p><p>With that, I was finally able to begin the post-processing of the music.</p><p></p><p>Take, for example, an audio track from a YouTube music video by a former "The Voice Kids" contestant: "I Follow" by "Loi." Since this track cannot be assigned to any specific album, the scraper is unable to retrieve an album cover. However, the [ICODE]artist.nfo[/ICODE] file and the fan art were generated without any issues. Furthermore, the file was converted from .ogg to .mp3 according to my settings, renamed appropriately, and both the local and central artist folders were created and populated with content. In short, everything that could be handled automatically was taken care of (correctly).</p><p></p><p>[ATTACH=full]219758[/ATTACH]</p><p></p><p>There isn't much data available, but that’s simply the nature of the situation—artist information isn't displayed for these tracks. For a "standard" track from a "standard" album, the album cover is typically embedded into each track, just as it would be with any other tagging tool. However, since there is no album in this case, there is no artwork. I can manually add details like the year or genre, as well as the cover art. To make the search easier, there’s an "Image Search" button; it opens Google Images using the artist's name as the search term. Within seconds, I was able to find and load this image:</p><p></p><p>[ATTACH=full]219757[/ATTACH]</p><p></p><p>This is what it then looks like in the GUI:</p><p></p><p>[ATTACH=full]219754[/ATTACH]</p><p></p><p>So, this track now has its cover art, too. You can see the benefit of this immediately when playing it back as a test from within Media-Buddy.</p><p></p><p>[ATTACH=full]219755[/ATTACH]</p><p></p><p>The lyrics are displayed in sync. Without the track cover, there would just be a black window. Speaking of lyrics: they don’t always match up, simply because there can be so many different versions of a single song. In the case of "I Follow" (above), everything lined up perfectly—no adjustments were needed. But in the next example—which uses the audio track from the official music video—the lyrics appear far too early, as the video includes a long intro.</p><p></p><p>[ATTACH=full]219753[/ATTACH]</p><p></p><p>This allows you to shift the display of the song lyrics forward or backward. In most cases, it takes no more than two attempts to get the lyrics perfectly synchronized with the song.</p><p></p><p>[ATTACH=full]219756[/ATTACH]</p><p></p><p>This gets you quite a long way without having to edit the text files themselves. Furthermore, the modified lyrics—or, more precisely, the lyrics with updated timestamps—are written back into the metadata tags. A similar feature is also being integrated for music videos, allowing the lyrics to be saved as subtitles.</p><p></p><p>Next comes post-processing at both the album and artist levels; the artist-level post-processing also applies to music videos. Ultimately, both music videos and music tracks share the same central artist artwork folder and the same .nfo structure. With a bit of luck, the music component will be finished this week, and the updated source code will be uploaded to GitHub.</p></blockquote><p></p>
[QUOTE="Lehmden, post: 1307656, member: 109222"] Hi. I spent some more time refining the scraper yesterday afternoon and this morning. Various edge cases kept popping up that weren’t yet handled automatically—especially when processing unsorted, untagged individual files in a batch. But by around midday, I couldn’t find a single music file that hadn’t been processed correctly. It works just as well for private, never-released CDs recorded 30 years ago as it does for audio tracks from YouTube videos by unknown artists... The assistant is also working perfectly. [ATTACH type="full"]219752[/ATTACH] There are separate settings for re-encoding lossy formats (such as .mp3, .ogg, etc.) and lossless formats (such as .flac, .ape, etc.). Additionally, there is a whitelist containing codecs that should not be re-encoded at all. The assistant uses this whitelist to determine whether a track requires re-encoding, while also taking into account the settings you have configured. For instance, an .ogg file might be converted to .mp3, while an .ape file could be converted to .flac. The quality settings are intentionally kept simple—much like those for video. Note that for lossless formats, you cannot actually adjust the "quality" (since it is, by definition, lossless); instead, these settings control the compression rate. A higher compression rate results in a smaller file size—without altering the actual audio track—though it also requires more time and CPU power for encoding and decoding. Furthermore, you can increase the volume of tracks (only when re-encoding), which is useful if an album sounds too quiet compared to others. In such cases, it is best to process the albums individually; otherwise, every track will be boosted by the same amount. Once all music files have been processed, the assistant automatically runs a scraper on the output folder. In most cases, the files are instantly renamed, tagged, and populated with fan art and lyrics—ready to be added to your personal collection. With that, I was finally able to begin the post-processing of the music. Take, for example, an audio track from a YouTube music video by a former "The Voice Kids" contestant: "I Follow" by "Loi." Since this track cannot be assigned to any specific album, the scraper is unable to retrieve an album cover. However, the [ICODE]artist.nfo[/ICODE] file and the fan art were generated without any issues. Furthermore, the file was converted from .ogg to .mp3 according to my settings, renamed appropriately, and both the local and central artist folders were created and populated with content. In short, everything that could be handled automatically was taken care of (correctly). [ATTACH type="full"]219758[/ATTACH] There isn't much data available, but that’s simply the nature of the situation—artist information isn't displayed for these tracks. For a "standard" track from a "standard" album, the album cover is typically embedded into each track, just as it would be with any other tagging tool. However, since there is no album in this case, there is no artwork. I can manually add details like the year or genre, as well as the cover art. To make the search easier, there’s an "Image Search" button; it opens Google Images using the artist's name as the search term. Within seconds, I was able to find and load this image: [ATTACH type="full"]219757[/ATTACH] This is what it then looks like in the GUI: [ATTACH type="full"]219754[/ATTACH] So, this track now has its cover art, too. You can see the benefit of this immediately when playing it back as a test from within Media-Buddy. [ATTACH type="full"]219755[/ATTACH] The lyrics are displayed in sync. Without the track cover, there would just be a black window. Speaking of lyrics: they don’t always match up, simply because there can be so many different versions of a single song. In the case of "I Follow" (above), everything lined up perfectly—no adjustments were needed. But in the next example—which uses the audio track from the official music video—the lyrics appear far too early, as the video includes a long intro. [ATTACH type="full"]219753[/ATTACH] This allows you to shift the display of the song lyrics forward or backward. In most cases, it takes no more than two attempts to get the lyrics perfectly synchronized with the song. [ATTACH type="full"]219756[/ATTACH] This gets you quite a long way without having to edit the text files themselves. Furthermore, the modified lyrics—or, more precisely, the lyrics with updated timestamps—are written back into the metadata tags. A similar feature is also being integrated for music videos, allowing the lyrics to be saved as subtitles. Next comes post-processing at both the album and artist levels; the artist-level post-processing also applies to music videos. Ultimately, both music videos and music tracks share the same central artist artwork folder and the same .nfo structure. With a bit of luck, the music component will be finished this week, and the updated source code will be uploaded to GitHub. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
HTPC Projects
Software
Tools and other software
Media-Buddy - the MKV Buddy successor.
Contact us
RSS
Top
Bottom