'use strict';

/* global Connector */

Connector.playerSelector = '.lecteur';

Connector.artistSelector = '.artiste .inside_call';

Connector.getTrack = function () {
	var text = $('.info-text .name').text().trim();
	return text || null;
};

Connector.isPlaying = function () {
	return $('.playing').length;
};

'use strict';

/* global Connector */

Connector.playerSelector = '.lecteur';

Connector.artistSelector = '.artiste .inside_call';

Connector.getTrack = function () {
	var text = $('.info-text .name').text().trim();
	return text || null;
};

Connector.isPlaying = function () {
	return $('.playing').length > 0;
};

Return boolean value in `isPlaying` function
Return boolean value in `isPlaying` function
