Re: URL safe characters?
cpd73 <cpd73.af5rdb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
| Newsgroups | gmane.music.equipment.slimdevices.devel |
|---|---|
| Organization | Logitech Squeezebox Forums |
| Message-ID | <[email protected]> |
gordonb3 wrote: > How do you send those paths to LMS? When I search for a title that > contains a comma in the GUI front-end the browse encodes the comma and > LMS finds the title with no issues. If you use a different access method > you should probably only URI encode the space character which appears to > be used to identify the string as a single input entity. The python code sends a string list (new line separated) of URLs in a HTML response. But Python seems to escape more characters than LMS, which is why (I assume) the DB lookup fails. *Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json (Use http: //SERVER:9000/material/?debug=json,cometd to also see update messages, e.g. play queue) 2. Open browser's developer tools 3. Open console tab in developer tools 4. REQ/RESP messages sent to/from LMS will be logged here. ------------------------------------------------------------------------ cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686 View this thread: http://forums.slimdevices.com/showthread.php?t=115875