branch: externals/emms commit 9e08a4b081abcf18c375214a50ff47f8919f8ab1 Author: Yoni Rabkin <y...@gnu.org> Commit: Yoni Rabkin <y...@gnu.org>
* emms-info-ogginfo.el: Do not write any tag-value pair over than 1k Avoid writing a field such as "metadata_block_picture", which may have a lot of data in it, and will consequently bloat the cache file. --- emms-info-ogginfo.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emms-info-ogginfo.el b/emms-info-ogginfo.el index 68950ff627..ad8b1b1fd4 100644 --- a/emms-info-ogginfo.el +++ b/emms-info-ogginfo.el @@ -73,7 +73,7 @@ This is a useful element for `emms-info-functions'." (let ((a (match-string 1)) (b (match-string 2))) (when (and (< 0 (length a)) - (< 0 (length b))) + (< 0 (length b) 1024)) (emms-track-set track (intern (downcase (concat "info-" (match-string 1)))) (match-string 2))))))))))