kbuffington / Georgia

Dynamic foobar2000 theme
284 stars 16 forks source link

Add setting for playlist extra album codec info. #79

Closed voc0der closed 3 years ago

voc0der commented 3 years ago

Thanks again for the awesome theme. 💯 I finally got around to customizing the codecs using the json file, and got it how I'd like, but noticed another tweak that may be useful for some folks.

This PR adds a boolean property in the georgia-config.json to always show the sample and bitrate along with the codec in the playlist view regardless of the album sample.

I wasn't able to figure out if the georgia-config.json file gets updated defaults.js, (I tried it and didn't work) so I'm not sure if this change is enough, but am willing to change or add anything.

I did add the property to that file manually and found it working though..

P.S. If anyone is a codec-a-holic like me maybe you'll like these props in the georgia-config.json

settings-> "extraTrackInfo": " | %bitrate% kbps", // Portion of the trackInfo in the upper right, directly under the year. Only part of the info string is customizable

metadataGrid -> { "label": "Codec", "val": "$lower(%codec%) | %bitrate% kbps | $info(bitspersample)bit/$div(%samplerate%,1000).$left($right(%samplerate%,3),1)kHz)[ | $replace(%replaygain_album_gain%, dB,dB)]" },

kbuffington commented 3 years ago

LGTM, but I'm gonna change the property name.