#musicbrainz

/

      • alexrelis joined the channel
      • 2022-02-20 05102, 2022

      • xplt has quit
      • 2022-02-20 05150, 2022

      • Rodrigo235 has quit
      • 2022-02-20 05150, 2022

      • MRiddickW has quit
      • 2022-02-20 05145, 2022

      • Cheezmo joined the channel
      • 2022-02-20 05130, 2022

      • alexrelis1 joined the channel
      • 2022-02-20 05121, 2022

      • MRiddickW joined the channel
      • 2022-02-20 05156, 2022

      • alexrelis has quit
      • 2022-02-20 05156, 2022

      • alexrelis1 is now known as alexrelis
      • 2022-02-20 05132, 2022

      • PelvicSorcery joined the channel
      • 2022-02-20 05101, 2022

      • derwin
        atj/CatQuest : if you listen to the new digital of that Burial/Four Tet... the last 13 or so seconds are totally silent.
      • 2022-02-20 05119, 2022

      • derwin
        pretty sure the "9:02" duration is the same recording on both
      • 2022-02-20 05136, 2022

      • alexrelis has quit
      • 2022-02-20 05158, 2022

      • PelvicSorcery has quit
      • 2022-02-20 05139, 2022

      • Krystof has quit
      • 2022-02-20 05131, 2022

      • adhawkins has quit
      • 2022-02-20 05109, 2022

      • adhawkins joined the channel
      • 2022-02-20 05116, 2022

      • Vacuity has quit
      • 2022-02-20 05147, 2022

      • Vacuity joined the channel
      • 2022-02-20 05100, 2022

      • adhawkins has quit
      • 2022-02-20 05155, 2022

      • adhawkins joined the channel
      • 2022-02-20 05148, 2022

      • adhawkins has quit
      • 2022-02-20 05153, 2022

      • adhawkins joined the channel
      • 2022-02-20 05131, 2022

      • yyoung[m] joined the channel
      • 2022-02-20 05137, 2022

      • ircuser joined the channel
      • 2022-02-20 05118, 2022

      • ircuser has quit
      • 2022-02-20 05109, 2022

      • yash77 joined the channel
      • 2022-02-20 05153, 2022

      • yash77
        Hi all!! I am Yash Goyal currently pursuing bachelors in Computer science & Technology. I am interested in open source contributions. Can you please help me to get started?
      • 2022-02-20 05119, 2022

      • Junxter joined the channel
      • 2022-02-20 05129, 2022

      • MRiddickW has quit
      • 2022-02-20 05146, 2022

      • yash77 has quit
      • 2022-02-20 05132, 2022

      • Jormangeud has quit
      • 2022-02-20 05109, 2022

      • Jormangeud joined the channel
      • 2022-02-20 05154, 2022

      • yash77 joined the channel
      • 2022-02-20 05116, 2022

      • yash77 has quit
      • 2022-02-20 05143, 2022

      • ttree has quit
      • 2022-02-20 05147, 2022

      • G0d joined the channel
      • 2022-02-20 05141, 2022

      • Krystof joined the channel
      • 2022-02-20 05137, 2022

      • otisolsen70 joined the channel
      • 2022-02-20 05150, 2022

      • scrumplex has quit
      • 2022-02-20 05154, 2022

      • scrumplex joined the channel
      • 2022-02-20 05122, 2022

      • iceman1415 joined the channel
      • 2022-02-20 05141, 2022

      • Goldmaster
        I have a tagging script that can add source to track data. However, I want to set the script to not add or overwrite anything that's currently there in the source field. is there some bit of code for that?
      • 2022-02-20 05147, 2022

      • Goldmaster
        please?
      • 2022-02-20 05109, 2022

      • otisolsen70 has quit
      • 2022-02-20 05117, 2022

      • Goldmaster
        $if($eq_any(%media%,Compact Disc,Copy Control CD,Data CD,DTS CD,Enhanced CD,HDCD,8cm CD,Blu-spec CD,SHM-CD,HQCD,CD+G,8cm CD+G,CD),$set(%_source%,CD))
      • 2022-02-20 05118, 2022

      • Goldmaster
        $if($eq_any(%media%,7" Vinyl,10" Vinyl,12" Vinyl,Flexi-disc,7" Flexi-disc),$set(%_source%,Vinyl))
      • 2022-02-20 05118, 2022

      • Goldmaster
        $if($eq_any(%media%,DVD-Audio,DVD-Video),$set(%_source%,DVD))
      • 2022-02-20 05118, 2022

      • Goldmaster
        $if($eq_any(%media%,Hybrid SACD,Hybrid SACD \(CD layer\),Hybrid SACD \(SACD layer\),SHM-SACD),$set(%_source%,SACD))
      • 2022-02-20 05118, 2022

      • Goldmaster
        $if($eq(%media%,Digital Media),$set(%_source%,Web))
      • 2022-02-20 05118, 2022

      • Goldmaster
        $if($and($not(%_source%),$ne(%media%,Unknown Format)),$set(%_source%,%media%))
      • 2022-02-20 05118, 2022

      • Goldmaster
        This is what I currently have, I want to set the final part so that if its a digital media release then the script would set the source to Web. If there is no media info, or its unknown format then set to unknown web. If there is something allready filled in the source info, then dont edit or change anything.
      • 2022-02-20 05149, 2022

      • elomatreb[m]
        you should be able to accomplish the "don't change anything" bit by wrapping this entire section of script with something like $if(%_source%,<existing script>) I think
      • 2022-02-20 05130, 2022

      • elomatreb[m]
        eh, $if($not(%_source%), ...) of course
      • 2022-02-20 05125, 2022

      • Goldmaster
        ah ok thank you. so it would be $if($not(%_source%,<existing script>) or something?
      • 2022-02-20 05134, 2022

      • elomatreb[m]
        The closing parenthesis for the $not needs to be directly after `%_source%`, since you want to execute the rest of the script only if _source is not set
      • 2022-02-20 05155, 2022

      • elomatreb[m]
        or well, not yet set to a non-empty value
      • 2022-02-20 05157, 2022

      • Goldmaster
        so it would be $if($not(%_source%), current script) ?
      • 2022-02-20 05159, 2022

      • elomatreb[m]
        I think so, yes
      • 2022-02-20 05110, 2022

      • PelvicSorcery joined the channel
      • 2022-02-20 05133, 2022

      • cloverfield has quit
      • 2022-02-20 05103, 2022

      • cloverfield joined the channel
      • 2022-02-20 05104, 2022

      • Junxter has quit
      • 2022-02-20 05121, 2022

      • Junxter joined the channel
      • 2022-02-20 05107, 2022

      • Junxter has quit
      • 2022-02-20 05131, 2022

      • Junxter joined the channel
      • 2022-02-20 05118, 2022

      • CatQuest
        thanks derwin
      • 2022-02-20 05106, 2022

      • uZer has quit
      • 2022-02-20 05110, 2022

      • zer0bitz joined the channel
      • 2022-02-20 05128, 2022

      • MRiddickW joined the channel
      • 2022-02-20 05156, 2022

      • ttpcodes_ has quit
      • 2022-02-20 05116, 2022

      • technonerd has quit
      • 2022-02-20 05135, 2022

      • technonerd joined the channel
      • 2022-02-20 05106, 2022

      • ttpcodes joined the channel
      • 2022-02-20 05159, 2022

      • Junxter has quit
      • 2022-02-20 05122, 2022

      • Junxter joined the channel
      • 2022-02-20 05119, 2022

      • Goldmaster
        thank you elomatreb[m] however, for some reason its not adding a source field into the track metadata. the script is enabled.
      • 2022-02-20 05117, 2022

      • elomatreb[m]
        oh yeah, the `_` prefix makes it a hidden variable that is not saved to the tags
      • 2022-02-20 05128, 2022

      • elomatreb[m]
        If you make it `%source%` it should work
      • 2022-02-20 05106, 2022

      • Goldmaster
        so what is a hidden varible then? im sure i did try them all as %source%
      • 2022-02-20 05113, 2022

      • Goldmaster
        I will have a look tommorow
      • 2022-02-20 05112, 2022

      • elomatreb[m]
      • 2022-02-20 05129, 2022

      • elomatreb[m]
        the idea is that you can use such variables for intermediary values in scripts without cluttering up your tags
      • 2022-02-20 05115, 2022

      • otisolsen70 joined the channel
      • 2022-02-20 05157, 2022

      • otisolsen70 has quit
      • 2022-02-20 05119, 2022

      • otisolsen70 joined the channel
      • 2022-02-20 05106, 2022

      • ttree joined the channel
      • 2022-02-20 05119, 2022

      • otisolsen70 has quit
      • 2022-02-20 05101, 2022

      • MRiddickW has quit
      • 2022-02-20 05117, 2022

      • Junxter has quit
      • 2022-02-20 05152, 2022

      • zer0bitz has quit
      • 2022-02-20 05154, 2022

      • PelvicSorcery has quit
      • 2022-02-20 05112, 2022

      • G0d has quit