Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for PlayIrish, Imago Radio and Provoda.ch (#2184)
- Loading branch information
1 parent
8bd49b4
commit 8132855
Showing
4 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
'use strict'; | ||
|
||
Connector.playerSelector = '.now-play'; | ||
|
||
Connector.artistTrackSelector = '#current-track'; | ||
|
||
Connector.pauseButtonSelector = '.play-icon.stop'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
'use strict'; | ||
|
||
Connector.playerSelector = '.qt-musicplayer'; | ||
|
||
Connector.artistTrackSelector = '#streamCurrentlyPlaying'; | ||
|
||
Connector.getArtistTrack = () => { | ||
let text = $(Connector.artistTrackSelector).text().replace('NOW PLAYING:', ''); | ||
return Util.splitArtistTrack(text); | ||
}; | ||
|
||
Connector.pauseButtonSelector = '.sm2_playing'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
'use strict'; | ||
|
||
Connector.playerSelector = '#player-logo'; | ||
|
||
Connector.artistTrackSelector = '#track'; | ||
|
||
Connector.isPlaying = () => $('#player-control-playing').css('display') === 'inline'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8132855
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Referenced the wrong issue (should be #1733) because of stupid GitHub autocompletion. :(