[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: No next track in playlist
Re: No next track in playlist
Wed, 06 Jan 2021 23:21:10 +0100
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
Mike Kazantsev <email@example.com> writes:
> On Wed, 06 Jan 2021 21:01:04 +0100
> Arthur Miller <firstname.lastname@example.org> wrote:
>> Yoni Rabkin <email@example.com> writes:
>> > Arthur Miller <firstname.lastname@example.org> writes:
>> >> This is making me crazy! :-)
>> >> Emms played just fine 2 days ago, and then since yesterday I am getting
>> >> "No next track in playlist" for any folder I try to play.
>> > What you are describing is what happens when Emms fails to call the
>> > player. What you are seeing is a processing trying to be started,
>> > failing, and then moving on to the next track.
>> Yes I understood that part, but Emacs can start mpv, no problems. I can
>> run it either from Dired or from minibuffer (via shell). I am not sure
>> what is difference.
> I'd still suspect something getting updated in mpv, maybe even default
> config, preventing emms-player-mpv to talk to it.
> Try setting (setq emms-player-mpv-debug t) and checking what it says in
> the Messages buffer, maybe send it here, if it's unclear what's the
> problem there.
I set emms-player-mpv-debug but I see nothing different in messages.
Does debug info goes elsewhere?
> There should be errors in Messages buffer regardless of that option if
> something known-wrong happens, but some api change or configuration
> issue, might not be as easy to detect.
>> Does Emms go via shell, or uses process control
>> built into Emacs? Must be path right?
> It uses process control in emacs, doesn't wrap it in shell by default.
Just as a test exec-path looks good, and Emacs can run mpv with start process:
"/home/arthur/Musik/classical/12 Danzas Españolas-Enrique Granados/10 Danza
It plays fine; so I guess it is something to my emms mpv configuration.
> You can customize binary/path and other startup parameters in
> emms-player-mpv customization group interactively, or via
> custom-set-variables for emms-player-mpv-command-name,
> emms-player-mpv-parameters, emms-player-mpv-environment, etc
> (all should be listed under that group, and at the top of .el file too).
Ok, I have simplified the setup, removed all custom paths and
unnecessary stuff; now there is just "mpv" part to it.
Above start-process call plays fine, yet when I run setup
below I still get no-next-track message.
(setq-default emms-player-list '(emms-player-mpv)
"--really-quiet" "--no-audio-display" "--force-window=no" "--vo=null")))
Debug flag does not give me much: this is what I get from a freshly
started Emacs in *Messages* after running emms on a directory:
[yas] Prepared just-in-time loading of snippets successfully. [2 times]
For information about GNU Emacs and the GNU system, type C-h C-a.
Waiting for git... [2 times]
EMMS: All track information loaded.
No next track in playlist
C-c C-n is undefined
It shouldn't matter that I have my configuration in eval-after-load (or
rather with-eval-after-load macro), right?
Thanks for help by the way!
Re: No next track in playlist, Yoni Rabkin, 2021/01/06