From: Andre Noll Date: Sun, 10 Apr 2016 21:46:02 +0000 (+0200) Subject: Merge branch 'refs/heads/t/attribute_fix' X-Git-Tag: v0.5.6~41 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=4ad8a5536d7cea1e63137933b242c52e57bd53d6;hp=-c;p=paraslash.git Merge branch 'refs/heads/t/attribute_fix' com_setatt() was broken if more than 32 attributes are defined. The branch merged in this commit contains a fix for this bug, and a new test that exercises the code related to attributes. Was cooking in next for six weeks. * refs/heads/t/attribute_fix: manual: Add realpath to list of packages. Add test that exercises attribute code. test-lib: Canonicalize test_dir. attribute: Avoid shifting 32 bit integers. --- 4ad8a5536d7cea1e63137933b242c52e57bd53d6 diff --combined web/manual.m4 index 59abc538,4ba2f6c1..addc2458 --- a/web/manual.m4 +++ b/web/manual.m4 @@@ -208,7 -208,7 +208,7 @@@ For the impatient cd osl && make && sudo make install && sudo ldconfig sudo apt-get install autoconf libssl-dev help2man gengetopt \ libmad0-dev libid3tag0-dev libasound2-dev libvorbis-dev \ - libfaad-dev libspeex-dev libFLAC-dev libsamplerate-dev \ + libfaad-dev libspeex-dev libFLAC-dev libsamplerate-dev realpath \ libasound2-dev libao-dev libreadline-dev libncurses-dev \ libopus-dev @@@ -956,13 -956,12 +956,13 @@@ is not set, the empty string is matche frequency ~ channels ~ num_played ~ + image_id ~ + lyrics_id ~ Takes a comparator ~ of the set {<, =, <=, >, >=, !=} and a number . Matches an audio file iff the condition ~ is satisfied where val is the corresponding value of the audio file -(value of the year tag, bitrate in kbit/s, frequency in Hz, channel -count, play count). +(value of the year tag, bitrate in kbit/s, etc.). The year tag is special as its value is undefined if the audio file has no year tag or the content of the year tag is not a number. Such