strange music from afar

HMMMM

Active member
Dimitri . If you start music, there is music appearing just before it plays. When nothing was playing. This is not stream-related but RB
 
When pressing Play in RB previously, there was a slight change in playback before it started. I’m unsure where this issue originated, but it seems to be fixed in version 7.1.05, so there’s no need to worry.


The new Overlay Playback method is a much better way of handling automatic prompts. It’s a great improvement, and I love that it now works outside the playlist while preserving the playlist itself.


On My Sites:​


The processing has moved more into JavaScript, and I’ve been posting on my site about challenges with lyrics handling. There’s still no definitive shift toward timed lyrics, even though the global industry—through platforms like Genius—has adopted timed lyric services. I recently discovered a new AI-based solution that looks promising.


For now, I’m working with the best solution available, but I’m experimenting with splitting lyrics into seconds to see if I can achieve better synchronization. Additionally, I had to wrap my file open process with delays because JavaScript was executing while the image was still being transferred.


Issues with Lyrics Matching:​


Not all lyrics are available online in a way that MediaHuman can retrieve them. This is often due to naming inconsistencies or track number formatting in the file metadata. I’ve found that around 10,000 out of 40,000 tracks don’t have a lyrics match.


PHP Image Load Handling:​


I had to wrap the PHP image load function inside a timed fopen because JavaScript was running faster than the image could be generated.


Code:
// Wait for the file to exist and have a valid size
$file_path = "images/nowplaying_artwork_2.png";
while (!file_exists($file_path) || filesize($file_path) == 0) {
    sleep($wait_interval);
    $elapsed_time += $wait_interval;

    if ($elapsed_time >= $max_wait_time) {
         ReturnError(500, "File did not appear within the expected time.");
exit;
}
 
Back
Top