emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/emms 9e08a4b081: * emms-info-ogginfo.el: Do not write a


From: ELPA Syncer
Subject: [elpa] externals/emms 9e08a4b081: * emms-info-ogginfo.el: Do not write any tag-value pair over than 1k
Date: Mon, 19 Jun 2023 15:58:13 -0400 (EDT)

branch: externals/emms
commit 9e08a4b081abcf18c375214a50ff47f8919f8ab1
Author: Yoni Rabkin <yrk@gnu.org>
Commit: Yoni Rabkin <yrk@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))))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]