[Top][All Lists]

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

Re: [emms-help] playing with emms from the console

From: Yoni Rabkin
Subject: Re: [emms-help] playing with emms from the console
Date: Tue, 04 Dec 2018 11:40:54 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

address@hidden (Andrés Ramírez) writes:

> Hi.
> I have created a button (using zenity) for playing an specific song for
> a child (6 years old). The child is still learning to read.
>>From the button I call this script (passwordless ssh with ssh-key):
> ssh -t -t address@hidden " emacsclient --eval \" (progn
> (with-current-buffer (get-buffer \\\" *EMMS Playlist*\\\") (goto-char
> (point-min)) (search-forward \\\"maria\\\") (call-interactively
> #'emms-playlist-mode-play-smart)) ) \" "
> Is this one the right way of doing this?

Why not just invoke the player binary directly? Why go though emacs+emms
in this case?

Also, have you considered using mpd for this?

   "Cut your own wood and it will warm you twice"

reply via email to

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