emacs-orgmode
[Top][All Lists]
Advanced

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

Org and multimedia (tips?)


From: Juan Manuel Macías
Subject: Org and multimedia (tips?)
Date: Thu, 17 Mar 2022 22:44:10 +0000

Hi all,

I've been trying for a while to use Org also to store and org-anize the
data of my music and video files, so that I can conveniently access them
via helm-org-ql and play them using EMMS. I was wondering if anyone is
trying this too, and thought maybe it would be nice to share tips and
hacks.

What I do is quite simple and rudimentary. For example, I have all my
music files stored on a hard drive on my Raspberry. As a media server I
use GNUMP3d, which is pretty clunky and outdated, but it works fine and
is very easy for me to administer. GNUMP3d serves a local web page with
the list of titles and artists. I convert that web to an Org node using
org-web-tools (https://github.com/alphapapa/org-web-tools), and some
extra elisp to clean up inconsistencies and format everything so that
each artist/title is a sub-tree. The process is not quite fine-tuned: I
have to see how labels and properties could be added automatically:
music gender, year, etc. I have also defined a new type of link to be
able to play the content (*.m3u) via EMMS[1], and I have also added a new
action to helm-org-ql. Finally, in another section I am also storing
links to radio stations, TV, single songs (captured with org-capture),
etc. I have also found 'sacad' useful for downloading the cover art
(https://github.com/desbma/sacad).

This is my system for organizing my media files in Org. If anyone is
interested, I can expand on specific details. And here, a couple of
screenshots:

https://i.imgur.com/NKybgPV.png

https://i.imgur.com/DtfoyZl.jpg

[1]
#+begin_src emacs-lisp
  (org-link-set-parameters
   "url-media"
   :follow (lambda (path) (emms-play-url path))
   :face '(:foreground "chocolate" :weight bold :underline t))
#+end_src

Best regards,

Juan Manuel



reply via email to

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