export const MessageTypes = {
    STATE: "STATE",
    LIST_OPERATION: "LIST_OPERATION",
    MEDIA_ACTION: "MEDIA_ACTION",
    SONG_END: "SONG_END",
    PLAYER_ENABLED: "PLAYER_ENABLED",
    OBTAIN_CONTROL: "OBTAIN_CONTROL",
    RELEASE_CONTROL: "RELEASE_CONTROL",
    SEARCH: "SEARCH",
    SEARCH_ID: "SEARCH_ID"
}

export const ListOperationTypes = {
    ADD: "ADD",
    DEL: "DEL",
    MOVE: "MOVE",
}


export const MediaAction = {
    PLAY: "PLAY",
    PAUSE: "PAUSE",
    NEXT: "NEXT",
    PREVIOUS: "PREVIOUS",
}


export const PlayerState = {
    PLAYING: "PLAYING",
    PAUSED: "PAUSED",
    LIST_END: "LIST_END",
}

