<commit_before>'use strict';

/* global Connector */

Connector.playerSelector = '#player-controls';

Connector.artistSelector = '#player-nowplaying [href^="/artist/"]';

Connector.trackSelector = '#player-nowplaying [href^="/track/"]';

Connector.isPlaying = function () {
	return $('#playerPlay').hasClass('pause');
};
<commit_msg>Add support for hypem premiere pages<commit_after>'use strict';

/* global Connector */

if (/^\/premiere\/.*/.test(window.location.pathname)) {

	Connector.playerSelector = '.hype-player';

	Connector.artistSelector = '#album-header-artist';

	Connector.trackSelector = 'li.active .title';

	Connector.isPlaying = function() {
		return $('.hype-player').hasClass('playing');
	};
} else {
	Connector.playerSelector = '#player-controls';

	Connector.artistSelector = '#player-nowplaying [href^="/artist/"]';

	Connector.trackSelector = '#player-nowplaying [href^="/track/"]';

	Connector.isPlaying = function() {
		return $('#playerPlay').hasClass('pause');
	};
}

{'fraction_non_alphanumeric': 0.19477911646586346, 'fraction_numerical': 0.0, 'mean_word_length': 5.270440251572327, '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': '2604887', 'n_tokens_mistral': 321, 'n_tokens_neox': 310, 'n_words': 51}