Open
Description
I have Tomahawk 0.8.4, tried with both the nightly .axe and the old .js plugin, when I add my credentials I get
12:13:09 [0]: JAVASCRIPT: "/home/user/.local/share/Tomahawk/manualresolvers/tidal/content/contents/code/tidal.js:1" "TypeError: 'undefined' is not a function (evaluating 'Tomahawk.resolver.instance.saveUserConfig()')" "undefined"
and If I restart Tomahawk
12:08:50 [1]: Hooking up resolver: "/home/user/.local/share/Tomahawk/manualresolvers/tidal/content/contents/code/tidal.js" true
12:08:50 [0]: JSResolver::JSResolver(const QString&, const QString&, const QStringList&) Loading JS resolver: "/home/user/.local/share/Tomahawk/manualresolvers/tidal/content/contents/code/tidal.js"
12:08:50 [0]: JAVASCRIPT: "/home/user/.local/share/Tomahawk/manualresolvers/tidal/content/contents/code/tidal.js:103" "TypeError: 'undefined' is not a function (evaluating 'this.getUserConfig()')" "undefined"
12:08:50 [0]: JAVASCRIPT: "/home/user/.local/share/Tomahawk/manualresolvers/tidal/content/contents/code/tidal.js:1" "TypeError: 'undefined' is not a function (evaluating 'Tomahawk.resolver.instance.getUserConfig()')" "undefined"
12:08:50 [0]: static Tomahawk::ExternalResolver* JSResolver::factory(const QString&, const QString&, const QStringList&) "/home/user/.local/share/Tomahawk/manualresolvers/tidal/content/contents/code/tidal.js" Loaded.
line 103 is in the init function
init: function () {
var config = this.getUserConfig();
log(this);
this._email = config.email;
this._password = config.password;
this._quality = config.quality;
if (!this._email || !this._password) {
Tomahawk.PluginManager.unregisterPlugin("linkParser", this);
//This is being called even for disabled ones
//throw new Error( "Invalid configuration." );
Tomahawk.log("Invalid Configuration");
return;
}
Tomahawk.PluginManager.registerPlugin("linkParser", this);
this._login(config);
}
Metadata
Assignees
Labels
No labels