[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[emms-help] little helper to build emms playlist in batch
From: |
Joakim Verona |
Subject: |
[emms-help] little helper to build emms playlist in batch |
Date: |
Wed, 15 Dec 2004 13:21:44 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Hello,
Here is a little script to batch build an emms playlist from an
winamp/xmms compatible playlist.
/Joakim
;make an emms playlist by batch
;use with:
; emacs --batch --load "~/.elisp/emms-mk-playlist.el"
;first you need an m3u file. I make mine with:
; find $FLIBROOT/[music] -follow -type f -and -iname "*.mp3" -or -iname "*.ogg"
|sort > $MEDIAINFO/allmp3_xmms.m3u
(add-to-list 'load-path (expand-file-name "~/.elisp/emms") 'load-path)
(require 'emms)
(require 'emms-player-simple)
(require 'emms-source-file)
(require 'emms-pbi)
(setq mediainfodir "/net/media/mediainfo/")
(emms-add-m3u-playlist (concat mediainfodir "allmp3_xmms.m3u"))
(emms-pbi-export-playlist (concat mediainfodir "allmp3_emms"))
--
Joakim Verona
www.verona.se
address@hidden
- [emms-help] little helper to build emms playlist in batch,
Joakim Verona <=