Support » Plugin: Last.Fm Records » Url in widget broken

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Adjunkten,
    I’ve solved in this way:

    last.fm.records.js
    Line 269 > 272

    // does the url include 'http://'? if not add it to prevent relative links
    					track.url			= ('http://' == _json.url.substr(0, 7).toLowerCase())
    										? _json.url
    										: 'http://' + _json.url;

    This is my MOD

    // does the url include 'http://'? if not add it to prevent relative links
    					track.url			= ('http://' == _json.url.substr(0, 7).toLowerCase())
    										? _json.url
    										: _json.url;
    //                                                                                : 'http://' + _json.url;

    I hope I was helpful

    I discovered this bug just now too, the author should update this, it seems to assume https with no colon…

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.