[email protected] (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 [email protected] " 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"

_______________________________________________
Emms-help mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/emms-help

Reply via email to