Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data CycleDirection Source #
Instances
FromJSON CycleDirection Source # | |
Defined in Mpv.Data.Command parseJSON :: Value -> Parser CycleDirection # parseJSONList :: Value -> Parser [CycleDirection] # | |
ToJSON CycleDirection Source # | |
Defined in Mpv.Data.Command toJSON :: CycleDirection -> Value # toEncoding :: CycleDirection -> Encoding # toJSONList :: [CycleDirection] -> Value # toEncodingList :: [CycleDirection] -> Encoding # | |
Show CycleDirection Source # | |
Defined in Mpv.Data.Command showsPrec :: Int -> CycleDirection -> ShowS # show :: CycleDirection -> String # showList :: [CycleDirection] -> ShowS # | |
Eq CycleDirection Source # | |
Defined in Mpv.Data.Command (==) :: CycleDirection -> CycleDirection -> Bool # (/=) :: CycleDirection -> CycleDirection -> Bool # |
data LoadResponse Source #
Instances
FromJSON LoadResponse Source # | |
Defined in Mpv.Data.Command parseJSON :: Value -> Parser LoadResponse # parseJSONList :: Value -> Parser [LoadResponse] # | |
ToJSON LoadResponse Source # | |
Defined in Mpv.Data.Command toJSON :: LoadResponse -> Value # toEncoding :: LoadResponse -> Encoding # toJSONList :: [LoadResponse] -> Value # toEncodingList :: [LoadResponse] -> Encoding # | |
Show LoadResponse Source # | |
Defined in Mpv.Data.Command showsPrec :: Int -> LoadResponse -> ShowS # show :: LoadResponse -> String # showList :: [LoadResponse] -> ShowS # | |
Eq LoadResponse Source # | |
Defined in Mpv.Data.Command (==) :: LoadResponse -> LoadResponse -> Bool # (/=) :: LoadResponse -> LoadResponse -> Bool # |
data LoadOption Source #
Instances
FromJSON LoadOption Source # | |
Defined in Mpv.Data.Command parseJSON :: Value -> Parser LoadOption # parseJSONList :: Value -> Parser [LoadOption] # | |
ToJSON LoadOption Source # | |
Defined in Mpv.Data.Command toJSON :: LoadOption -> Value # toEncoding :: LoadOption -> Encoding # toJSONList :: [LoadOption] -> Value # toEncodingList :: [LoadOption] -> Encoding # | |
Show LoadOption Source # | |
Defined in Mpv.Data.Command showsPrec :: Int -> LoadOption -> ShowS # show :: LoadOption -> String # showList :: [LoadOption] -> ShowS # | |
Default LoadOption Source # | |
Defined in Mpv.Data.Command def :: LoadOption # | |
Eq LoadOption Source # | |
Defined in Mpv.Data.Command (==) :: LoadOption -> LoadOption -> Bool # (/=) :: LoadOption -> LoadOption -> Bool # |
data EmptyResponse Source #
Instances
FromJSON EmptyResponse Source # | |
Defined in Mpv.Data.Command parseJSON :: Value -> Parser EmptyResponse # parseJSONList :: Value -> Parser [EmptyResponse] # | |
Show EmptyResponse Source # | |
Defined in Mpv.Data.Command showsPrec :: Int -> EmptyResponse -> ShowS # show :: EmptyResponse -> String # showList :: [EmptyResponse] -> ShowS # | |
Eq EmptyResponse Source # | |
Defined in Mpv.Data.Command (==) :: EmptyResponse -> EmptyResponse -> Bool # (/=) :: EmptyResponse -> EmptyResponse -> Bool # |
data Command :: Type -> Type where Source #
Manual :: Maybe EventName -> Text -> [Value] -> Command Value | |
Load :: Path Abs File -> Maybe LoadOption -> Command LoadResponse | |
Stop :: Command EmptyResponse | |
Seek :: Double -> SeekFlags -> Command EmptyResponse | |
Prop :: Property v -> Command v | |
SetProp :: Show v => Property v -> v -> Command () | |
AddProp :: Show v => Property v -> Maybe v -> Command () | |
CycleProp :: Show v => Property v -> Maybe CycleDirection -> Command () | |
MultiplyProp :: Show v => Property v -> v -> Command () | |
SetOption :: Text -> Text -> Command () | |
ShowText :: (TimeUnit u, Show u) => Text -> u -> OsdLevel -> Command () | |
ShowProgress :: Command () |