Copyright | (c) Joachim Fasting 2012 |
---|---|
License | MIT |
Maintainer | joachifm@fastmail.fm |
Stability | stable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
The current playlist.
Synopsis
- add :: Path -> Command ()
- addId :: Path -> Maybe Position -> Command Id
- clear :: Command ()
- delete :: Position -> Command ()
- deleteRange :: Range -> Command ()
- deleteId :: Id -> Command ()
- move :: Position -> Position -> Command ()
- moveId :: Id -> Position -> Command ()
- moveRange :: Range -> Position -> Command ()
- playlistFind :: Query -> Command [Song]
- playlistInfo :: Maybe Position -> Command [Song]
- playlistInfoRange :: Maybe Range -> Command [Song]
- playlistId :: Maybe Id -> Command [Song]
- playlistSearch :: Query -> Command [Song]
- plChanges :: Integer -> Command [Song]
- plChangesPosId :: Integer -> Command [(Position, Id)]
- prio :: Priority -> Range -> Command ()
- prioId :: Priority -> Id -> Command ()
- shuffle :: Maybe Range -> Command ()
- swap :: Position -> Position -> Command ()
- swapId :: Id -> Id -> Command ()
- addTagId :: Id -> Metadata -> Value -> Command ()
- clearTagId :: Id -> Metadata -> Command ()
- rangeId :: Id -> (Maybe Double, Maybe Double) -> Command ()
Documentation
addId :: Path -> Maybe Position -> Command Id Source #
Add a song (non-recursively) and return its id.
deleteRange :: Range -> Command () Source #
Delete a range of songs from the playlist.
Since: 0.10.0.0
moveId :: Id -> Position -> Command () Source #
Move song id to position. If the position is negative, it is relative to the current song.
playlistFind :: Query -> Command [Song] Source #
Find songs in current playlist with strict matching.
playlistInfo :: Maybe Position -> Command [Song] Source #
Get song metadata for all items in the current playlist. Optionally restrict listing the song at the given position.
playlistInfoRange :: Maybe Range -> Command [Song] Source #
Like playlistInfo
but can restrict listing to a range
of songs.
Since: 0.10.0.0
playlistId :: Maybe Id -> Command [Song] Source #
Get song metadata for all items in the current playlist. Optionally restrict selection to a single song id.
playlistSearch :: Query -> Command [Song] Source #
Search case-insensitively for partial matches in current playlist.
plChanges :: Integer -> Command [Song] Source #
Get song metadata for items that have changed in the playlist since the given playlist version.
plChangesPosId :: Integer -> Command [(Position, Id)] Source #
Get positions and ids of songs that have changed in the playlist since the given playlist version.
prio :: Priority -> Range -> Command () Source #
Set the priority of the specified songs.
Since: 0.10.0.0