mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-05 21:57:41 +02:00
Be more explicit about which getStreamUrl function to call
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, '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