Function notMediaListSelected

  • Returns whether the selected list is NOT a list of media.

    Example

    actions.myAction = {
    title: 'My Action related to a song or other piece of media',
    execute: () => {},
    disabled: uitools.notMediaListSelected
    }

    Method

    notMediaListSelected

    Parameters

    • Optional params: any

      See notListItemSelected in actions.js (Defaults to an array of media types, i.e. 'track', 'album', 'playlistentry', ...)

    Returns any

    Whether the selected list is NOT media.