Hi,

The 'emms-streams' command currently fails when invoked right after
starting Emacs since along the way it calls
'emms-source-playlist-parse-native' which tries to call
'emms-cache-set-function'.
'emms-cache-set-function' is nil at that point, causing the command to
fail.

Attached is a very simple patch which just requires 'emms-cache' when
loading 'emms-streams', fixing this issue.

Regards,
Daniel

>From e2ee295b32d982c99d758a3d0b06532f8bda032d Mon Sep 17 00:00:00 2001
From: Daniel Semyonov <[email protected]>
Date: Mon, 24 Jul 2023 15:08:30 +0300
Subject: [PATCH] * emms-streams.el: Require 'emms-cache'

---
 emms-streams.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/emms-streams.el b/emms-streams.el
index cfc4b14..104ca29 100644
--- a/emms-streams.el
+++ b/emms-streams.el
@@ -37,6 +37,7 @@
 (require 'emms)
 (require 'emms-source-playlist)
 (require 'emms-playlist-mode)
+(require 'emms-cache)
 
 
 ;;; ------------------------------------------------------------------
-- 
2.41.0

Reply via email to