Bug 10185 - "favorites items" query doesn't return a favorite's url
: "favorites items" query doesn't return a favorite's url
Status: RESOLVED INVALID
Product: Logitech Media Server
Classification: Unclassified
Component: CLI
: 7.3.0
: PC Other
: -- normal (vote)
: ---
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-12-01 11:14 UTC by Michael Herger
Modified: 2008-12-09 01:11 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Herger 2008-12-01 11:14:36 UTC
Must be lost somewhere inside Slim::Control::XMLBrowser
Comment 1 Adrian Smith 2008-12-06 06:18:44 UTC
I suspect this is caused because of the mix of URL and url used as hash keys.  Opml uses URL and the hash keys in favorites therefore assume URL.  XMLbrowser used uses url and supports URL in places but not in the cli code.

I think the best solution would be to support URL in xmlbrowser too (otherwise we need to create a new hash rewriting all the keys when we pass to xmlbrowser).
Comment 2 Adrian Smith 2008-12-06 06:34:56 UTC
No its simpler than this - the XMLbrowser code requires 'want_url:1' on the query to return urls.

I think this changes the previously documented operation - what was the reason for raising this, do we need to change the documentation or the code?
Comment 3 James Richardson 2008-12-08 09:21:23 UTC
Michael: Please target and or fix, thank you
Comment 4 Michael Herger 2008-12-09 01:11:26 UTC
Thanks Adrian. I most likely filed this bug because I didn't RTFM.