<commit_before>'use strict';

/* global Connector, Util */

Connector.playerSelector = '#webplayer-region';

Connector.playButtonSelector = '.ico icon-play';

Connector.timeInfoSelector = '.timecode';

Connector.getArtistTrack = () => {
	let text = $('.track-name').attr('title');
	return Util.splitArtistTrack(text);
};
<commit_msg>Digitally Imported: add track art<commit_after>'use strict';

/* global Connector, Util */

Connector.playerSelector = '#webplayer-region';

Connector.playButtonSelector = '.ico icon-play';

Connector.timeInfoSelector = '.timecode';

Connector.getArtistTrack = () => {
	let text = $('.track-name').attr('title');
	return Util.splitArtistTrack(text);
};

Connector.getTrackArt = () => {
	let trackArtUrl = $('.track-region .artwork img').attr('src');
	if (trackArtUrl) {
		// Remove 'size' param
		trackArtUrl = trackArtUrl.split('?')[0];
		return `http:${trackArtUrl}`;
	}
	return null;
};

{'fraction_non_alphanumeric': 0.180931744312026, 'fraction_numerical': 0.0010834236186348862, 'mean_word_length': 5.119205298013245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2831507', 'n_tokens_mistral': 302, 'n_tokens_neox': 305, 'n_words': 57}