#musicbrainz

/

      • sparklyballs has quit
      • 2018-05-01 12103, 2018

      • reosarevok
        loujine: that seems to be the version I have
      • 2018-05-01 12126, 2018

      • reosarevok
        But I only see the "Add external link" VIAF/WD one
      • 2018-05-01 12112, 2018

      • sparklyballs joined the channel
      • 2018-05-01 12138, 2018

      • reosarevok
        I tried turning all others off, but even then
      • 2018-05-01 12132, 2018

      • Slurpee has quit
      • 2018-05-01 12146, 2018

      • Vonter joined the channel
      • 2018-05-01 12132, 2018

      • sparklyballs has quit
      • 2018-05-01 12129, 2018

      • sparklyballs joined the channel
      • 2018-05-01 12110, 2018

      • sparklyballs has quit
      • 2018-05-01 12110, 2018

      • sparklyballs joined the channel
      • 2018-05-01 12157, 2018

      • drsaunde has quit
      • 2018-05-01 12104, 2018

      • timbl has quit
      • 2018-05-01 12143, 2018

      • intcat has quit
      • 2018-05-01 12129, 2018

      • angreifer has quit
      • 2018-05-01 12149, 2018

      • angreifer joined the channel
      • 2018-05-01 12145, 2018

      • sparklyballs has quit
      • 2018-05-01 12136, 2018

      • sparklyballs joined the channel
      • 2018-05-01 12138, 2018

      • drsaunde joined the channel
      • 2018-05-01 12125, 2018

      • intcat joined the channel
      • 2018-05-01 12149, 2018

      • gioele joined the channel
      • 2018-05-01 12133, 2018

      • Vonter has quit
      • 2018-05-01 12141, 2018

      • gioele
        hi, how can I set in Picard a variable to a value that starts with a space?
      • 2018-05-01 12150, 2018

      • gioele
        For example, in https://pastebin.com/JkZnsfnw the initial space in the variable "%disambig%" disappears
      • 2018-05-01 12122, 2018

      • drsaunde has quit
      • 2018-05-01 12147, 2018

      • SothoTalKer
        you mean you want a space between the album name and the disambiguation, right?
      • 2018-05-01 12138, 2018

      • gioele
        SothoTalKer: yes
      • 2018-05-01 12103, 2018

      • SothoTalKer
        did you try this? %main_artist%/%album% %disambig%/%track_num% - %artist% - %title%,
      • 2018-05-01 12109, 2018

      • gioele
        but only if the disambuguation comment exist
      • 2018-05-01 12114, 2018

      • SothoTalKer
        ok ;)
      • 2018-05-01 12145, 2018

      • SothoTalKer
        you could make an if else
      • 2018-05-01 12108, 2018

      • SothoTalKer
        $if(if,then,else)
      • 2018-05-01 12121, 2018

      • gioele
        I did: %main_artist%/$if(%disambig%,%album% %disambig%,%album%)/%track_num% - …
      • 2018-05-01 12126, 2018

      • gioele
        still the same problem
      • 2018-05-01 12122, 2018

      • gioele
        I keep getting "Release(comment)"
      • 2018-05-01 12148, 2018

      • SothoTalKer
        spaces should be obeyed. strange :D
      • 2018-05-01 12129, 2018

      • gioele
        now it is getting weider... "%album% xx %disambig%" still is "Release(comment)" instead of "Releasexx(comment)"
      • 2018-05-01 12123, 2018

      • SothoTalKer
        did you define %disambig% yourself?
      • 2018-05-01 12153, 2018

      • gioele
        yes, in Advanced -> Scripting -> Tagger script
      • 2018-05-01 12113, 2018

      • gioele
        $set(disambig,$if($eq(%releasestatus%,bootleg), \(%_releasecomment%\),))
      • 2018-05-01 12108, 2018

      • SothoTalKer
        it works all fine, except the space, right? :)
      • 2018-05-01 12156, 2018

      • SothoTalKer
        what if you add " " between %album% and %disambig%?
      • 2018-05-01 12156, 2018

      • SothoTalKer
        gioele: have you enabled both "rename files" and "move files" from the options menu?
      • 2018-05-01 12151, 2018

      • gioele
        SothoTalKer: sure, everything else is working just fine (and has been for years). Just this little detail is acting weirdly
      • 2018-05-01 12104, 2018

      • SothoTalKer
        i guess spaces get stripped out by the code. i must say, i'm at a loss right now. picard scripting was always a bit moody for me :x
      • 2018-05-01 12112, 2018

      • hibiscuskazeneko joined the channel
      • 2018-05-01 12122, 2018

      • SothoTalKer
        one last try:
      • 2018-05-01 12114, 2018

      • SothoTalKer
        maybe you could use $pad(text,length,char) in the tagger script to pad the beginning of the comment with a space maybe?
      • 2018-05-01 12112, 2018

      • SothoTalKer
        hm, the script is missing a length feature.
      • 2018-05-01 12109, 2018

      • SothoTalKer
        (i personally would toss out all the custom scripting and use some preconfigured scripting language like LUA or whatever :D)
      • 2018-05-01 12110, 2018

      • timbl joined the channel
      • 2018-05-01 12156, 2018

      • gioele
        SothoTalKer: thanks for the help. For the moment I just manually set the directory name, I may write a bug report later. I suppose the presence of the escaped brakets makes the scripting engine do funny things
      • 2018-05-01 12118, 2018

      • timbl has quit
      • 2018-05-01 12113, 2018

      • timbl joined the channel
      • 2018-05-01 12149, 2018

      • hibiscuskazeneko has quit
      • 2018-05-01 12125, 2018

      • hibiscuskazeneko joined the channel
      • 2018-05-01 12147, 2018

      • gioele has quit
      • 2018-05-01 12134, 2018

      • hibiscuskazeneko has quit
      • 2018-05-01 12128, 2018

      • outsidecontext joined the channel
      • 2018-05-01 12155, 2018

      • intcat has quit
      • 2018-05-01 12133, 2018

      • intcat joined the channel
      • 2018-05-01 12107, 2018

      • loujine
        Major_Lurker: reosarevok: can tou check the web console for error messages? looks like both scripts work on my side
      • 2018-05-01 12149, 2018

      • outsidecontext has quit
      • 2018-05-01 12119, 2018

      • Slurpee joined the channel
      • 2018-05-01 12145, 2018

      • Slurpee has quit
      • 2018-05-01 12121, 2018

      • hibiscuskazeneko joined the channel
      • 2018-05-01 12156, 2018

      • drsaunde joined the channel
      • 2018-05-01 12122, 2018

      • chirlu has quit
      • 2018-05-01 12142, 2018

      • chirlu joined the channel
      • 2018-05-01 12157, 2018

      • rdswift has quit
      • 2018-05-01 12153, 2018

      • rdswift joined the channel
      • 2018-05-01 12153, 2018

      • DottorLeo joined the channel
      • 2018-05-01 12157, 2018

      • DottorLeo
        hi!
      • 2018-05-01 12131, 2018

      • DottorLeo
        i need help to configure picard: is it possible to also rename the folder with a tagging scheme?
      • 2018-05-01 12116, 2018

      • DottorLeo
        ex. Artist/ Original Album Year - Album / track.title ?
      • 2018-05-01 12131, 2018

      • DottorLeo
        i've tried to read the documentation but i'm kinda lost
      • 2018-05-01 12115, 2018

      • SothoTalKer
        activate to move files from the options menu
      • 2018-05-01 12130, 2018

      • DottorLeo
        done
      • 2018-05-01 12103, 2018

      • SothoTalKer
        then you can set the path as you like from the renaming options
      • 2018-05-01 12101, 2018

      • DottorLeo
        it's the syntax where i'm lost
      • 2018-05-01 12158, 2018

      • hibiscuskazeneko has quit
      • 2018-05-01 12109, 2018

      • SothoTalKer
        why?
      • 2018-05-01 12117, 2018

      • SothoTalKer
        you can use the variables you like :)
      • 2018-05-01 12147, 2018

      • DottorLeo
        SothoTalKer: i can't understand what is the variable for the original year and not the year
      • 2018-05-01 12153, 2018

      • rdswift
        DottorLeo, have you looked at the documentation at https://picard.musicbrainz.org/docs/scripting/
      • 2018-05-01 12115, 2018

      • rdswift
        If you are still running into trouble, let me know how you want the naming to look like and I should be able to help you with it.
      • 2018-05-01 12127, 2018

      • DottorLeo
        rdswift: yes there is only examples for year
      • 2018-05-01 12128, 2018

      • SothoTalKer
        DottorLeo: the variable you want is %originalyear%
      • 2018-05-01 12132, 2018

      • DottorLeo
        thanks
      • 2018-05-01 12154, 2018

      • DottorLeo
        let me try
      • 2018-05-01 12156, 2018

      • SothoTalKer
        you can find all of them here: https://picard.musicbrainz.org/docs/tags/
      • 2018-05-01 12111, 2018

      • DottorLeo
        ooh thanks
      • 2018-05-01 12114, 2018

      • DottorLeo
        missed that
      • 2018-05-01 12120, 2018

      • rdswift
        SothoTalKer, you ninja'd me on that while I was reading in #metabrainz. I guess you snooze, you lose. ;-)
      • 2018-05-01 12147, 2018

      • SothoTalKer
        :-p
      • 2018-05-01 12150, 2018

      • hibiscuskazeneko joined the channel
      • 2018-05-01 12112, 2018

      • rdswift
        I guess DottorLeo missed that link in the scripting docs page.
      • 2018-05-01 12110, 2018

      • DottorLeo
        rdswift: SothoTalKer thanks
      • 2018-05-01 12115, 2018

      • DottorLeo
        works perfectly!
      • 2018-05-01 12134, 2018

      • SothoTalKer
        it is well hidded
      • 2018-05-01 12138, 2018

      • SothoTalKer
        hidden
      • 2018-05-01 12125, 2018

      • rdswift
        DottorLeo, good to hear that you have it working. Thanks for letting us know.
      • 2018-05-01 12143, 2018

      • hibiscuskazeneko has quit
      • 2018-05-01 12144, 2018

      • lidel joined the channel
      • 2018-05-01 12153, 2018

      • DottorLeo has quit
      • 2018-05-01 12102, 2018

      • rdswift_ joined the channel
      • 2018-05-01 12119, 2018

      • rdswift has quit
      • 2018-05-01 12121, 2018

      • rdswift_ is now known as rdswift
      • 2018-05-01 12140, 2018

      • rdswift
        You can actually do some pretty amazing things with the scripting. I have mine set up to use different filing templates depending on whether a release is a single, album or sountrack.
      • 2018-05-01 12100, 2018

      • rdswift
        Still working on my template for classical.
      • 2018-05-01 12124, 2018

      • rdswift
        Oops, looke like he left.
      • 2018-05-01 12113, 2018

      • JoeLlama joined the channel
      • 2018-05-01 12135, 2018

      • SothoTalKer
        rdswift: you maybe can help gioele? :D
      • 2018-05-01 12107, 2018

      • rdswift
        On discourse?
      • 2018-05-01 12118, 2018

      • SothoTalKer
        he was in the chat before
      • 2018-05-01 12144, 2018

      • rdswift
        I must have missed that. I'll have to go back through the logs.
      • 2018-05-01 12153, 2018

      • Toast joined the channel
      • 2018-05-01 12130, 2018

      • timbl has quit
      • 2018-05-01 12159, 2018

      • timbl joined the channel
      • 2018-05-01 12152, 2018

      • peaveyman has quit
      • 2018-05-01 12122, 2018

      • peaveyman joined the channel
      • 2018-05-01 12120, 2018

      • rdswift has quit
      • 2018-05-01 12143, 2018

      • rdswift joined the channel
      • 2018-05-01 12122, 2018

      • todd joined the channel
      • 2018-05-01 12136, 2018

      • Major_Lurker
        loujine, I get this error in console but not sure it is related userscript.html?id=849f7ce5-efb3-4a8d-b2cc-43dcd21249dc:2 ERROR: Execution of script 'MusicBrainz relation editor: Replace release relations by recording relations' failed! Unexpected token , in JSON at position 133401
      • 2018-05-01 12153, 2018

      • timbl has quit
      • 2018-05-01 12150, 2018

      • Major_Lurker
        loujine, works on FF
      • 2018-05-01 12123, 2018

      • afx237 has quit
      • 2018-05-01 12144, 2018

      • afx237 joined the channel
      • 2018-05-01 12119, 2018

      • Major_Lurker
        loujine, but it does not work on Chrome ;(
      • 2018-05-01 12123, 2018

      • CatQuest is now known as SleepQuest
      • 2018-05-01 12113, 2018

      • Major_Lurker
        loujine, now this is very odd. I clicked to update scripts this morning,and it said there was no updates. I just tried it again and something updated and the script started working again.
      • 2018-05-01 12116, 2018

      • Major_Lurker
        So, to use the Aussie vernacular, buggered if I know!
      • 2018-05-01 12129, 2018

      • intcat has quit
      • 2018-05-01 12100, 2018

      • intcat joined the channel
      • 2018-05-01 12157, 2018

      • JoeLlama has quit
      • 2018-05-01 12154, 2018

      • light2yellow has quit
      • 2018-05-01 12146, 2018

      • SothoTalKer
        you clicked it wrong ;)
      • 2018-05-01 12101, 2018

      • mezod has quit
      • 2018-05-01 12127, 2018

      • Major_Lurker
        Nope Tampermonkey said ¨NArf¨ or something
      • 2018-05-01 12159, 2018

      • Major_Lurker
        And it is strange because I had updated all the scripts the other day and that had solved (or seemed to solve) the same problem
      • 2018-05-01 12114, 2018

      • Major_Lurker
        And besides that I have auto updates set to on
      • 2018-05-01 12122, 2018

      • Major_Lurker
        so.... buggered if I know ha
      • 2018-05-01 12136, 2018

      • Toast has quit
      • 2018-05-01 12100, 2018

      • loujine
        Major_Lurker: I fixed a stupid mistake on the "Replace release relations..." script a few hours ago
      • 2018-05-01 12127, 2018

      • loujine
        I'll check with Chromium
      • 2018-05-01 12140, 2018

      • loujine
        but if errors in one script prevent other scripts to run it's going to be annoying
      • 2018-05-01 12106, 2018

      • loujine
        I'll have to stop putting bugs everywhere
      • 2018-05-01 12115, 2018

      • loujine
        and who wants that really :p
      • 2018-05-01 12141, 2018

      • Major_Lurker
        ah so maybe that was causing it, working now anyway