'use strict';

const trackInfoSelector = '#album_info .m:first-child';

Connector.playerSelector = '#player-outer-box';

Connector.trackSelector = '#song_info span';

Connector.trackArtSelector = '#player_pics a';

Connector.getTrackInfo = () => {
	let artist = null;
	let album = null;

	const trackInfoEl = document.querySelector(trackInfoSelector);
	if (trackInfoEl) {
		const trackInfo = trackInfoEl.childNodes || [];
		if (trackInfo.length === 4) {
			album = trackInfo[3].textContent;
		}
		artist = trackInfo[1].textContent;
	}

	return { artist, album };
};

Connector.pauseButtonSelector = '.player_pause';

@@ -12,65 +12,8 @@
 ';%0A%0A
-const trackInfoSelector = '#album_info .m:first-child';%0A%0A
 Conn
@@ -47,18 +47,17 @@
 ayer
--outer-box
+_main_row
 ';%0A%0A
@@ -88,22 +88,33 @@
 = '#
-song_info span
+player_info :nth-child(2)
 ';%0A%0A
@@ -127,15 +127,13 @@
 tor.
-trackAr
+artis
 tSel
@@ -153,152 +153,56 @@
 yer_
-pics a';%0A%0AConnector.getTrackInfo = () =%3E %7B%0A%09let artist = null;%0A%09let album = null;%0A%0A%09const trackInfoEl = document.querySel
+info :nth-child(3)';%0A%0AConn
 ector
-(
+.
 track
-Info
+Art
 Selector
 );%0A%09
@@ -201,223 +201,30 @@
 ctor
-);%0A%09if (trackInfoEl) %7B%0A%09%09const trackInfo = trackInfoEl.childNodes %7C%7C %5B%5D;%0A%09%09if (trackInfo.length === 4) %7B%0A%09%09%09album = trackInfo%5B3%5D.textContent;%0A%09%09%7D%0A%09%09artist = trackInfo%5B1%5D.textContent;%0A%09%7D%0A%0A%09return %7B artist, album %7D;%0A%7D
+ = '#player_album_art'
 ;%0A%0AC
@@ -259,16 +259,16 @@
  = '
-.player_
+#big_pp.
 paus

Fix jango connector