Skip to content

Clicking Spotify album in search results yields error from getTracksFromUri #135

Closed
@tuftedocelot

Description

@tuftedocelot

When using the latest from develop, I encounter the following error when I try to click on an album returned from Spotify search results:

Uncaught TypeError: Cannot read property 'length' of undefined which was caused by library.js at line 306

function showAlbum(uri) {
    $('#popupQueue').popup('close');
    $('#popupTracks').popup('close');
    $('#controlsmodal').popup('close');
    $(ALBUM_TABLE).empty();
    //fill from cache
    var pl = getTracksFromUri(uri, true);
    if (pl.length>0) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions