from enum import Enum class PlayerState(Enum): PLAYING = "playing" PAUSED = "paused" STOPPED = "stopped"