Rexodys[m] uploaded an image: (6KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/CkKaBmbourIFOpXRDGndxjZV/image.png >
Rexodys[m]
Is there a way to use MB genre as an array with `multi` scripting functions? I can only seem to be able to use it as a string so doing joins duplicates entries
Got another question: I have some music that I tagged with countries or other custom genres. Right now when I import them it get replaced with MB genres, is there a way to merge them instead of replacing them? ie merge current genre with new MB genres from the db?
flamingspinach has quit
flamingspinach joined the channel
Oh found it , finally (I think)
Rexodys[m] uploaded an image: (30KiB) < https://matrix.org/_matrix/media/r0/download/matrix.org/xHSOhSNCydHcObTpsMxhUSQe/image.png >
Oh no RIP, that prevents my scripts to write to that tag too :/
phunyguy has quit
QinYingxin is now known as hachiroku
hachiroku has quit
QinYingxin joined the channel
QinYingxin is now known as hachiroku
HeSuxiao is now known as azusa
akashgp09 has quit
trolley has quit
trolley joined the channel
reosarevok
Updating beta
akashgp09 joined the channel
akashgp09
thanks rdswift, that will help : )
reosarevok
Beta updated
akashgp09 has quit
flamingspinach has quit
DarthKnight joined the channel
DarthKnight has quit
flamingspinach joined the channel
SirPHOENiX1 has quit
timbl joined the channel
rdswift has quit
rdswift joined the channel
CatQuest
sylvhem: I'm not sure, could be the artist wants it allcaps for a reason
on their site is it written in allcaps?
it *might* be artist intent after all
"RIOT" is a pretty "all caps" kinda word after al
l
Rexodys[m]: that (adding, not replacing) genre tag seems like a useful feature though. maybe you can put in a ticket on jira under "picard" asking for such a feature?
(it could be a ticketbox like "add to genre-tag don't over-write) f.ex.
replacing all my copymerge with setmulti works but I have a load of duplicates 😶
rdswift
Rexodys[m], you might have to create a new (temporary) multi that is empty, then use $foreach(0 to iterate through all the values in your multi (with dupes) and if not $inmulti() your new multi, then add it.
*foreach()*
Sounds like we might benefit from a new $uniquemulti() function. Care to add a ticket?
timbl joined the channel
Something like $set(_tmp,)$foreach(%genres_with_dupes%,$if($in(%_tmp%,|%_loop_value%|),,$set(_tmp,%_tmp%|%_loop_value%|; )))$set(_tmp,$replace(%_tmp%,|,)$setmulti(unique_genres,%_tmp%)