PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_MPD » Bug #10022

list filename

Details

Submitted2007-02-04 12:11 UTC
Fromremiss at gmail dot com
Assigneditrebal
StatusClosed
PackageNet_MPD
PHP VersionIrrelevant
OSlinux
Roadmaps(Not assigned)

Comments

[2007-02-04 12:11 UTC] remiss at gmail dot com

Description:
------------
When executing getMetadata you have to specify "filename" as first paramter, but mpd returns 'file' as response

Test script:
---------------
print_r($db->getMetadata("filename"));
print_r($db->getMetadata("file"));

Expected result:
----------------
the result

Actual result:
--------------
nothing.. errors though :p

[2007-02-04 12:25 UTC] remiss at gmail dot com

s/list/list/

[2007-02-06 20:23 UTC] remiss at gmail dot com

Maybe a little unclear bug-report, however this means that after the output has been parsed the getMetadata function will try to return output['filename'] when it should be returning output['file'] and when specifying 'file' as parameter it won't find anything..