Does this Script work with MP3Tag on macOS?
Mostly i get this error:

Does this Script work with MP3Tag on macOS?
Mostly i get this error:

mine doesn't sry. here ya go, if you want it for inspiration or use.
; Activate the script with Mouse Button 5 (XButton2)
XButton2::
; Activate the Firefox window
SetTitleMatchMode, 2 ; Set match mode to partial match
WinActivate, Firefox
; Wait for Firefox to be active
WinWaitActive, Firefox
; Open Developer Tools by pressing F12
Send, {F12}
; Give it a moment to load
Sleep, 300
; Ensure we are on the Inspector tab (if not already there)
Send, ^+c ; Ctrl + Shift + C (shortcut to open Inspector)
Sleep, 300
; Focus on the "Search HTML" field
Send, ^f ; Press Ctrl + F to open the HTML search field
; Type in the search query
Send, release_genres
; Press Enter twice to skip the first incorrect result and select the next one
Send, {Enter}
Sleep, 100 ; Wait a bit before pressing Enter again
Send, {Enter}
; Press Tab three times to navigate
Sleep, 150 ; Wait for the element to be selected properly
Send, {Tab 3} ; Press Tab 3 times
; Copy the selected element or content
Sleep, 100
Send, ^c ; Press Ctrl + C to copy the selected content to the clipboard
; Close Developer Tools by pressing F12 again
Sleep, 100
Send, {F12} ; Close the Developer Tools
; Now let's process the copied HTML content
Sleep, 100
ClipWait ; Wait for clipboard data
; Get the clipboard content
content := Clipboard
; Extract the genre values using a regular expression for both primary and secondary genres
RegExMatch(content, "<span class=""release_pri_genres"">(.*?)</span>", primaryMatch)
RegExMatch(content, "<span class=""release_sec_genres"">(.*?)</span>", secondaryMatch)
; Remove HTML tags and extract genres
primaryGenres := RegExReplace(Trim(primaryMatch1), "<.*?>", "") ; Clean primary genres
secondaryGenres := RegExReplace(Trim(secondaryMatch1), "<.*?>", "") ; Clean secondary genres
; Combine the primary and secondary genres
allGenres := primaryGenres . ";" . secondaryGenres
; Clean up special characters and entities
allGenres := StrReplace(allGenres, "&", "&") ; Replace HTML entity & with &
allGenres := StrReplace(allGenres, ",", ";") ; Replace commas with semicolons
allGenres := StrReplace(allGenres, ";;", ";") ; Remove double semicolons if any
allGenres := RegExReplace(allGenres, "\s+;", ";") ; Ensure no spaces before semicolons
allGenres := RegExReplace(allGenres, ";", "; ") ; Ensure proper spacing after semicolons
; Split the genres into an array and remove duplicates
genreList := []
uniqueGenres := "" ; Initialize uniqueGenres to store the final output
Loop, Parse, allGenres, `;
{
genre := Trim(A_LoopField)
if (genre != "" && !InStr(uniqueGenres, genre . ";")) ; Ensure no duplicates in the final output
{
genreList.Push(genre) ; Add only if not already in the list
uniqueGenres .= genre . "; " ; Add to final output
}
}
; Remove the trailing semicolon and space
uniqueGenres := Trim(uniqueGenres, "; ")
; Put the final result back into the clipboard
Clipboard := uniqueGenres
; Now focus on the MusicBee program
WinActivate, MusicBee
; Wait for MusicBee to be active
WinWaitActive, MusicBee
; Press Shift + Enter after activating the MusicBee window
Sleep, 100
Send, +{Enter}
; Press Tab 14 times to navigate to the correct field
Sleep, 150 ; Give a moment before sending the tabs
Send, {Tab 14}
; Paste the copied genres with Ctrl + V
Sleep, 100
Send, ^v
; Press Shift + Tab 14 times
Sleep, 100
Send, +{Tab 14}
; End the script by pressing Escape and then Y
Sleep, 100
Send, {Escape}
Sleep, 100
Send, y
return
as mentioned before. You need to run firefox, and the tag inspector in musicbee has to be a floating window. You can edit the text so it matches your purpose.
@uselessuser I suppose you were in fact asking about the RYM script for mp3tag?
Currently it doesn't even work in Windows because of the new policy of the RYM website which always goes through the CloundFlare check, it messes up with the script. Unfortunately that's out of my hands... no idea if the mp3tag developer can do anything about it.
@Micksen90 thanks for the share
Im here to add that you can vibe code a chrome extension to export rym data
Open the RYM release page in Chrome
Click vibe coded browser extension that exports the release info (artist/album/date/genres/tracks/cover)
The extension sends it to a local Python server (also vibe coded)
Mp3tag reads that local JSON using a custom WS script (also vibe coded lol) and tags the files normally
You have to manually search for the album you want to tag, but that beats manually copy pasting info just to tag.