Skip to content

Sending undef string with {add} adds whole library #1

@carnager

Description

@carnager

MPD protocol specifies that an empty string adds the whole library (for historical reasons "/" also works).
Net::MPD on the other hand also reacts this way if a value is not initialized at all.

Code example:

#usr/bin/perl

use Net::MPD; Net::MPD->connect($ENV{MPD_HOST})->add(undef);          

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