Home » Networking » Net_MPD » Bug #10022
list filename
Details
| Submitted | 2007-02-04 12:11 UTC |
|---|---|
| From | remiss at gmail dot com |
| Assigned | itrebal |
| Status | Closed |
| Package | Net_MPD |
| PHP Version | Irrelevant |
| OS | linux |
| 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..