<commit_before>'use strict';

/* global Connector */

Connector.playerSelector = '#content';

Connector.getArtistTrack = function() {
	var text = $('.playlist-position.active a.js-file-link').attr('title');
	var separator = this.findSeparator(text);

	var artist = null;
	var track = null;

	if (separator !== null) {
		artist = text.substr(0, separator.index);
		track = text.substr(separator.index + separator.length);
	}

	return {artist: artist, track: track};
};

Connector.durationSelector = '.playlist-position.active .position-time';

Connector.isPlaying = function () {
	return $('.npp-container').hasClass('playing');<commit_msg>Implement `getUniqueID` function for WRZUTA connector<commit_after>'use strict';

/* global Connector */

Connector.playerSelector = '#content';

Connector.getArtistTrack = function() {
	var text = $('.playlist-position.active a.js-file-link').attr('title');
	var separator = this.findSeparator(text);

	var artist = null;
	var track = null;

	if (separator !== null) {
		artist = text.substr(0, separator.index);
		track = text.substr(separator.index + separator.length);
	}

	return {artist: artist, track: track};
};

Connector.getUniqueID = function() {
	return $('.playlist-position.active a.js-file-link').attr('data-key');
};

Connector.durationSelector = '.playlist-position.active .position-time';

Connector.isPlaying = function () {
	return $('.npp-container').hasClass('playing');
{'fraction_non_alphanumeric': 0.16701607267645002, 'fraction_numerical': 0.001397624039133473, 'mean_word_length': 4.941908713692946, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5078584', 'n_tokens_mistral': 462, 'n_tokens_neox': 443, 'n_words': 93}