ok thank you for your help this is what I have so far
$replace(
$if($not(%_placed%),
$if($inmulti(%releasetype%,audiobook),
$set(_placed,1)
Audiobooks/
)
)
$if($not(%_placed%),
$if($inmulti(%secondaryreleasetype%,dj-mix),
$set(_placed,1)
Dj Mixes/
)
)
$if($not(%_placed%),
$if($inmulti(%releasetype%,broadcast),
$set(_placed,1)
Radio/
)
)
$swapprefix($if2(%albumartist%,%artist%),A,An,The,Le)/
$if(%_date%,\(%_date%\) )%album% [$if(%_bits_per_sample%,%_bits_per_sample%-bit $div(%_sample_rate%,1000) kHz$if(%_source%, %_source%),%_bitrate%kbps %_extension%)$if(%_source%, %_source%)]$if(%catalognumber%, \(%catalognumber%\))/
$if(%_discfolder%,%_discfolder%/)
$if($in(%media%,Vinyl),%_musicbrainz_tracknumber%,$num(%tracknumber%,2)) - %artist% - %title%
,_,\,)
However the bit about
you could wrap your entire naming script with a replacement, such as:
$replace(your naming script here,:,\,)
doesn’t seem to have made a difference as the examples below still have an underscore instead of a comma.
this part
Maybe use something like:
[$if(%_bits_per_sample%,%_bits_per_sample%-bit $div(%_sample_rate%,1000) kHz$if(%_source%, %_source%),%_bitrate%kbps %_extension%)]
That will use %_bitrate%kbps %_extension%
if there is not %_bits_per_sample%
.
I personally use a small plugin that gives me a $is_lossy()
and $is_lossless()
function, see Categorizing lossless music .
I have managed to install the python plugin bit so I guess its a case of replacing something with $is_lossy
and $is_lossless()
then it should work from there.
I never submitted this to the plugins list as it is kind of a hack and not 100% reliable, but it totally works for my use cases.
you should submit it. you haven’t got anything to lose.
Not sure how radio shows are handled.
could stick into a compilations folder as per u/roboyoshi suggestion I spotted.
thank you for your help