1
0
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:
Enno Gottschalk
2015-11-02 17:28:35 +01:00
parent 95e937c927
commit 77e5704a2a

View File

@@ -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();
}, },