Stable: 2.5.2
Development: 2.6-alpha3
hi,
when displaying long id3-tags, MOC cuts the tag at a certain lenght.
for example:
Nine Inch Nails - Another Version of the Truth (Kronos Quartet and Enrique Gonzalez Muller) [Y34RZ3R0R3M1X3D]
results in
Nine Inch Nails - Another Version of the Truth (Kronos Quartet and Enrique Gonzalez Muller) [Y34R]
in my ~/.moc/config i've played around with the "TagsCacheSize" option, from 254 to 512 KB, doesnt seem to help.
the "FormatString" is set to "%(a:%a - :)%(t:%t:) [%(A:%A:)]".
is there some way to display those long id3-tags? i hope this last little annoying problem is solvable somehow.. if so, i would mark MOC as nearly perfect! :)
thank you in advance,
ryz
golemj
Wed, 2008-03-19 23:58
Permalink
TagsCacheSize is not the way
AFAIK TagsCacheSize is only for space that can have tags list in memory that means it do not change tags max length.
From short look to code I think that fix should be something like this:
ryz
Sat, 2008-03-22 11:20
Permalink
Thank You
thank you golemj,
i should practice some more further thinking. :)
anyway, my problem is solved, many thanks!
ryz
PS: i would be glad if this little 'patch' finds its way in to the next MOC-release!
golemj
Sun, 2008-03-23 18:41
Permalink
You are welcome.
According to daper it should.
daper
Sat, 2008-03-22 13:28
Permalink
Thanks for the patch, I've
Thanks for the patch, I've increased the buffer to 512 and the buffer in do_title_expt from 100 to 256.
--
Damian Pietras - MOC developer
golemj
Sun, 2008-03-23 18:43
Permalink
This was only quick patch. I
This was only quick patch. I think that better patch would be to create config file option for this.
daper
Sun, 2008-03-23 23:17
Permalink
The proper would be to
The proper would be to allocate the buffer dynamically, but the code isn't so simple to do that in few lines I think.
--
Damian Pietras - MOC developer