haskell-ffprobe-0.1.0.1: Haskell bindings for ffprobe
Safe HaskellSafe-Inferred
LanguageHaskell2010

FFProbe.Data.Tags

Synopsis

Documentation

data TagValue Source #

Constructors

StringTag String 
IntTag Integer 
FloatTag Float 
Other String

If the constructor is Other, the String is a JSON representation of the value

Null 

Instances

Instances details
FromJSON TagValue Source # 
Instance details

Defined in FFProbe.Data.Tags

Show TagValue Source # 
Instance details

Defined in FFProbe.Data.Tags

Eq TagValue Source # 
Instance details

Defined in FFProbe.Data.Tags

class HasTags a where Source #

Methods

getTags :: a -> TagList Source #

Instances

Instances details
HasTags Chapter Source # 
Instance details

Defined in FFProbe.Data.Chapter

HasTags Format Source # 
Instance details

Defined in FFProbe.Data.Format

HasTags Stream Source # 
Instance details

Defined in FFProbe.Data.Stream

lookupTag :: HasTags a => String -> a -> Maybe TagValue Source #

Lookup a tag in a TagList, using a key