Crate m3u

Source
Expand description

A crate for reading and writing the M3U format.

The M3U format is considered the de facto standard for multimedia playlists.

There is no formal specification for the M3U format. This crate is implemented based on the rough description under the format’s current wikipedia entry.

Re-exports§

pub extern crate url;

Structs§

Entries
An iterator that yields Entrys.
EntryExt
An entry with some associated extra information.
EntryExts
An iterator that yields EntryExts.
ExtInf
Extra information associated with an M3U entry.
Reader
A reader that reads the M3U format from the underlying reader.
Url
A parsed URL record.
Writer
A writer that accepts entries of type E and writes the associated M3U format.

Enums§

Entry
An entry in an M3U multimedia playlist.
EntryExtReaderConstructionError
Errors that may occur when constructing a new Reader<R, EntryExt>.
ReadEntryExtError
Errors that may occur when attempting to read an EntryExt from a read line str.

Functions§

path_entry
A helper function to simplify creation of the Entry’s Path variant.
url_entry
A helper function to simplify creation of the Entry’s Url variant.

Type Aliases§

EntryExtReader
A Reader that specifically reads EntryExts.
EntryExtWriter
A Writer that specifically writes EntryExts.
EntryReader
A Reader that specifically reads Entrys.
EntryWriter
A Writer that specifically writes Entrys.