getFromValue

fun getFromValue(s: String): PlayMode