mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-09 07:36:48 +02:00
Fix playback issue in tomahawk.js (Tomahawk.Resolver#_adapter_init)
This commit is contained in:
@@ -308,7 +308,7 @@ Tomahawk.Resolver = {
|
|||||||
|
|
||||||
_adapter_init: function () {
|
_adapter_init: function () {
|
||||||
this._urlProtocol = this.settings.name.replace(/[^a-zA-Z]/g, '').toLowerCase();
|
this._urlProtocol = this.settings.name.replace(/[^a-zA-Z]/g, '').toLowerCase();
|
||||||
Tomahawk.addCustomUrlHandler(this._urlProtocol, '"_adapter_getStreamUrl', true);
|
Tomahawk.addCustomUrlHandler(this._urlProtocol, '_adapter_getStreamUrl', true);
|
||||||
Tomahawk.log('Registered custom url handler for protocol "' + this._urlProtocol + '"');
|
Tomahawk.log('Registered custom url handler for protocol "' + this._urlProtocol + '"');
|
||||||
this.init();
|
this.init();
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user