branch: externals/ampc
commit e6911fc894ab11f5a459b4128654f84754c0f5e2
Author: Christopher Schmidt <christop...@ch.ristopher.com>
Commit: Christopher Schmidt <christop...@ch.ristopher.com>

    Alias unspecified tags in playlist buffers.
---
 ampc.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ampc.el b/ampc.el
index ba0bcfcb46..983940e5e2 100644
--- a/ampc.el
+++ b/ampc.el
@@ -1012,7 +1012,8 @@ all the time!"
                                                        :offset)
                                             2)
                                         2)
-                                    . ,(ampc-extract tag))))))
+                                    . ,(or (ampc-extract tag)
+                                           "[Not Specified]"))))))
               (ampc-with-buffer 'playlist
                 (ampc-insert text
                              `(("file" . ,file)
@@ -1065,7 +1066,8 @@ all the time!"
                           collect `(,(- (or (plist-get tag-properties :offset)
                                             2)
                                         2)
-                                    . ,(ampc-extract tag))))))
+                                    . ,(or (ampc-extract tag)
+                                           "[Not Specified]"))))))
               (ampc-with-buffer 'current-playlist
                 (ampc-insert text
                              `(("file" . ,file)

Reply via email to