guix-commits
[Top][All Lists]
Advanced

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

branch master updated: Revert "services: mpd: Add an 'update' action to


From: guix-commits
Subject: branch master updated: Revert "services: mpd: Add an 'update' action to trigger a database update."
Date: Wed, 26 Jul 2023 12:11:00 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new c7e45139fa Revert "services: mpd: Add an 'update' action to trigger a 
database update."
c7e45139fa is described below

commit c7e45139faa27b60f2c7d0a4bc140f9793d97d47
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jul 26 12:04:37 2023 -0400

    Revert "services: mpd: Add an 'update' action to trigger a database update."
    
    This reverts commit e1070ee16036f6dfb84c44aea4119e4db770356b.  Rationale: 
this
    only works with the default 'endpoints'.  The 'auto-update?' option should 
be
    sufficient to trigger a database update automatically anyway.
---
 gnu/services/audio.scm | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm
index f01357ad8b..260abdefed 100644
--- a/gnu/services/audio.scm
+++ b/gnu/services/audio.scm
@@ -663,17 +663,6 @@ appended to the configuration.")
                           (format #t
                                   "Issued SIGHUP to Service MPD (PID ~a)."
                                   pid))
-                        (format #t "Service MPD is not running.")))))
-              (shepherd-action
-               (name 'update)
-               (documentation "Request MPD to update its music database.")
-               (procedure
-                #~(lambda (pid)
-                    (if pid
-                        (begin
-                          (invoke #$(file-append mpd-mpc "/bin/mpc") "update")
-                          (format #t "Database update requested for service \
-MPD (PID ~a)." pid))
                         (format #t "Service MPD is not running.")))))))))))
 
 (define (mpd-accounts config)



reply via email to

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