[asterisk-bugs] [Asterisk 0014823]: [patch] Allow app_mp3 to play m3u playlist file
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Apr 9 15:58:42 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14823
======================================================================
Reported By: macli
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14823
Category: Applications/app_mp3
Reproducibility: have not tried
Severity: feature
Priority: normal
Status: confirmed
Asterisk Version: 1.6.2.0-beta1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-04-03 11:48 CDT
Last Modified: 2009-04-09 15:58 CDT
======================================================================
Summary: [patch] Allow app_mp3 to play m3u playlist file
Description:
app_mp3 can only play one local single music and stream from http, this
patch allow it to play local m3u playlist file.
======================================================================
----------------------------------------------------------------------
(0103048) macli (reporter) - 2009-04-09 15:58
http://bugs.digium.com/view.php?id=14823#c103048
----------------------------------------------------------------------
I added some documentation in XML format, second patch app_mp3.diff
uploaded
I will add note here describing how to play m3u playlist file :-)
#############
dialplan will look like this:
exten => 1234,1,Answer()
exten => 1234,n,MP3Player(/var/lib/asterisk/mp3/playlist.m3u)
and the playlist.m3u will be like this:
/var/lib/asterisk/mp3/1.mp3
/var/lib/asterisk/mp3/2.mp3
/var/lib/asterisk/mp3/3.mp3
..........
/var/lib/asterisk/mp3/n.mp3
It is easy to generate mp3 playlist file with .m3u, do the following:
find /path/to/your-mp3-file -type file *.mp3 > playlist.m3u
#############
Issue History
Date Modified Username Field Change
======================================================================
2009-04-09 15:58 macli Note Added: 0103048
======================================================================
More information about the asterisk-bugs
mailing list