         playerSaveData = new Entities.PlayerData(id: 0)
 
     Swabcast.reqres.setHandler "player:savedata", ->
-      API.getPlayer()
+      API.getPlayerData()
 
     Swabcast.commands.setHandler "playerdata:remove", ->
       API.playerReset()


    API =
      getPlayerData: ->
        defer = undefined
        playerSaveData = undefined
        promise = undefined
        playerSaveData = new Entities.PlayerData(id: 0)
        defer = $.Deferred()
        playerSaveData.fetch

define ["app", "apps/config/storage/localstorage", "entities/playlist"], (Swabcast) ->
  # Generated by CoffeeScript 1.6.3
  Swabcast.module "Entities", (Entities, Swabcast, Backbone, Marionette, $, _) ->
    Entities.PlayerData = Backbone.Model.extend(
      id:0
      urlRoot: "player"
      url:"player"
      currentPosition: 0
      validate: (attrs) ->
        errors = []
