'use strict';

Connector.playerSelector = '#new_ajax-player';

Connector.artistSelector = '#hotmixPlayerSongArtist .ajax';

Connector.getArtist = () => getScrollableText('#hotmixPlayerSongArtist');

Connector.getTrack = () => getScrollableText('#hotmixPlayerSongTitle');

//Connector.getAlbum = () => getScrollableText('#songalbum');

Connector.getTrackArt = () => {
	let trackArtUrl = $('#hotmixPlayerSongCover').attr('src');
	return trackArtUrl !== null ? `${trackArtUrl}` : null;
};

Connector.isPlaying = () => $('#play-pause .fa-pause').length > 0;

function getScrollableText(selector) {
	return $(`${selector} a`).first().text() || $(selector).text();
}

@@ -269,71 +269,8 @@
 );%0A%0A
-//Connector.getAlbum = () =%3E getScrollableText('#songalbum');%0A%0A
 Conn

Remove commented out code to prevent merge issues