The latest version of playlists is 0.5.2-0.
playlists
Version 0.3.0.0 revision 0 uploaded by PeterJones.
Package meta
- Synopsis
- Library and executable for working with playlist files.
- Description
Playlists is a library for working with media playlist files. The original motivation for the library was extracting URLs for streaming radio stations that use PLS and M3U playlist files.
The package also includes an executable that can dump the URLs from a playlist file and convert between playlist file formats.
Example:
import qualified Data.ByteString as BS import Text.Playlist readPlaylist :: Format -> IO Playlist readPlaylist fmt = do content <- BS.getContents case parsePlaylist fmt content of Left err -> fail $ "failed to parse playlist on stdin: " ++ err Right x -> return x
Playlist Executable Examples:
$ playlist urls --format PLS < somefile.pls $ playlist convert --from PLS --to M3U < somefile.pls
- Author
- Peter Jones <pjones@devalot.com>
- Bug reports
- n/a
- Category
- Text
- Copyright
- Copyright (c) 2013,2014 Peter Jones
- Homepage
- https://github.com/pjones/playlists
- Maintainer
- Peter Jones <pjones@devalot.com>
- Package URL
- n/a
- Stability
- n/a