emms-help
[Top][All Lists]
Advanced

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

Wish for a emms-add-url to have a "name" parameter


From: Stefan Huchler
Subject: Wish for a emms-add-url to have a "name" parameter
Date: Sun, 22 Nov 2020 02:41:01 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

If I add youtube or invidious urls to the emms-playlist I wish I add a
way to add a label because if I add 10 youtube videos in a playlist it's
hard to navigate through it, without the titles.

I use my own version of a invidious mode to add the video or via
browser hints in the invidious emacs mode I have access to the title
anyway, a trick aronud that would be to create a pls file with only 1
youtube link it and call that file then like the title, but that is a
messy hack.

Not sure that code matters but to give some context maybe it helps:

(defun ytel-emms-append ()
      "Add video at point in emms."
      (interactive) 
      (let* ((video (ytel-get-current-video))
             (id    (ytel-video-id-fun video)))
        (emms-add-url (concat "https://www.youtube.com/watch?v="; id))))





reply via email to

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