 				callback()
 			, throttledApply
 
+		$scope.removeLocal = ( item, callback = -> ) ->
+			audio.removeLocal item, $scope.localPath, $scope.localPath, ->
+				$scope.$apply()
+				$( "body" ).scrollspy "refresh"
+				callback()
+		$scope.removeLocal = ( item, callback = -> ) ->
+			audio.removeRemote item, $scope.localPath, ->
+				$scope.$apply()
+				$( "body" ).scrollspy "refresh"
+				callback()
+
 		$scope.isSyncing = no
 		$scope.syncDown = ( callback = -> ) ->
 			unless $scope.isSyncing

				removeLocalRecursive = ->
					next = audio.getFirst "localShouldRemove"
					if next?
						audio.removeLocal next, $scope.localPath, removeLocalRecursive
					else
						downloadRecursive()


				removeRemoteRecursive = ->
					next = audio.getFirst "remoteShouldRemove"
					if next?
						$scope.removeRemote next, removeRemoteRecursive
					else
						uploadRecursive()

