Skip to content

Commit

Permalink
Add support for the-radio.ru
Browse files Browse the repository at this point in the history
Ref #1869.
  • Loading branch information
alexesprit committed Dec 7, 2019
1 parent 8132855 commit d2b2d6c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/connectors/the-radio.ru.js
@@ -0,0 +1,9 @@
'use strict';

Connector.playerSelector = '.pla';

Connector.artistSelector = '.pla-artist';

Connector.trackSelector = '.pla-song';

Connector.isPlaying = () => $('.pla-ava').hasClass('pla-ava--vinyl');
5 changes: 5 additions & 0 deletions src/core/connectors.js
Expand Up @@ -1225,6 +1225,11 @@ const connectors = [{
matches: ['*://*.provoda.ch/*'],
js: 'connectors/provoda.ch.js',
id: 'provoda.ch',
}, {
label: 'The-radio.ru',
matches: ['*://the-radio.ru/*'],
js: 'connectors/the-radio.ru.js',
id: 'the-radio.ru',
}];

define(() => connectors);

0 comments on commit d2b2d6c

Please sign in to comment.