wip StreamPlayer.scala