         ###
         $scope.seek = () ->
             $scope.errors = []
+            $scope.movies = []
             $scope.loading.list = true
 
             # Call provider for infos

###
angular
    .module 'gummyApp'
    .controller 'GetInfosCtrl', ($scope, $rootScope, $trakt, $db) ->


        ###*
         # Movie model
         # @attribute movie
        ###
        $scope.movie = $rootScope.seeking


        ###*


            # Sanitize
            _tmp = angular.copy movie
            _tmp.path = $scope.movie.path

            # Update movie to db
            $db.movies.update { path: $scope.movie.path }, _tmp, {}, (e, items) ->
                if e then console.error "MovieUpdate", e
                else if items <= 0 then console.error "MovieUpdate", "Nothing updated"
                else
                    $rootScope.seeking.movie = _tmp
                    $scope.close()


        # GOGO GADGETO SEEKING
