 		if _connection == nil
 		{
 			return "NO CONNECTION OBJECT"
+		}
+
+		if mpd_connection_get_error(_connection) == MPD_ERROR_SUCCESS
+		{
+			return "NO ERROR"
 		}
 
 		if let errorMessage = mpd_connection_get_error_message(_connection)

				continue
			}

			let dataTemp = Data(bytesNoCopy: UnsafeMutableRawPointer(mutating: tmpName), count: Int(strlen(tmpName)), deallocator: .none)
			guard let name = String(data: dataTemp, encoding: .utf8) else
			{
				mpd_output_free(output)
				continue
			}

			let id = Int(mpd_output_get_id(output))

			let o = AudioOutput(id: id, name: name, enabled: mpd_output_get_enabled(output))
			ret.append(o)

			{
				metadatas["year"] = year
			}
			mpd_return_pair(_connection, tmpDate)
		}

		if (mpd_connection_get_error(_connection) != MPD_ERROR_SUCCESS || mpd_response_finish(_connection) == false)
		{
			Logger.dlog(getLastErrorMessageForConnection())
