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. - Entry
Ext - An entry with some associated extra information.
- Entry
Exts - An iterator that yields
EntryExts. - ExtInf
- Extra information associated with an M3U entry.
- Reader
- A reader that reads the
M3Uformat from the underlying reader. - Url
- A parsed URL record.
- Writer
- A writer that accepts entries of type
Eand writes the associated M3U format.
Enums§
- Entry
- An entry in an M3U multimedia playlist.
- Entry
ExtReader Construction Error - Errors that may occur when constructing a new
Reader<R, EntryExt>. - Read
Entry ExtError - Errors that may occur when attempting to read an
EntryExtfrom a read linestr.
Functions§
- path_
entry - A helper function to simplify creation of the
Entry’sPathvariant. - url_
entry - A helper function to simplify creation of the
Entry’sUrlvariant.
Type Aliases§
- Entry
ExtReader - A
Readerthat specifically readsEntryExts. - Entry
ExtWriter - A
Writerthat specifically writesEntryExts. - Entry
Reader - A
Readerthat specifically readsEntrys. - Entry
Writer - A
Writerthat specifically writesEntrys.