| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vimeta.UI.Common.TV
- data EpisodeSpec = EpisodeSpec Int Int
- tagWithMappingFile :: MonadIO m => TV -> FilePath -> Vimeta m ()
- tagWithSpec :: MonadIO m => TV -> [(FilePath, EpisodeSpec)] -> Vimeta m ()
- tagWithFileOrder :: MonadIO m => TV -> EpisodeSpec -> [FilePath] -> Vimeta m ()
- episodeSpec :: Episode -> EpisodeSpec
Documentation
data EpisodeSpec Source #
A simple way to specify a single episode.
Constructors
| EpisodeSpec Int Int |
Instances
tagWithMappingFile :: MonadIO m => TV -> FilePath -> Vimeta m () Source #
Handy tagging function using mapping files.
Arguments
| :: MonadIO m | |
| => TV | Full TV series. |
| -> [(FilePath, EpisodeSpec)] | File mapping. |
| -> Vimeta m () |
Tag all of the given files with their matching EpisodeSpec.
Arguments
| :: MonadIO m | |
| => TV | Full TV series. |
| -> EpisodeSpec | Starting episode. |
| -> [FilePath] | List of files to tag. |
| -> Vimeta m () |
Tag the given files, starting at the given EpisodeSpec.
episodeSpec :: Episode -> EpisodeSpec Source #
Create an EpisodeSpec from an Episode.