Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

Help calling playlists with spaces in the name through URL

$
0
0
I'm trying to integrate my LMS with a home automation server so I can start a couple of playlists on command. They happen to be iTunes playlists in case that matters.

I have done some research and I have a method that works as long as the playlist IDs don't change (but they do so I need a better method):

Code:

/anyurl?p0=playlistcontrol&p1=cmd:load&p2=playlist_id:36708&player=xx%3Axx%3Axx%3Axx%3Axx%3Axx
:)

So I'm trying to call them by name, and this works:

Code:

/anyurl?p0=playlist&p1=play&p2=itunesplaylist:OneWordName&player=xx:xx:xx:xx:xx:xx
:)

But some of the playlists I want have spaces in the name. I found some documentation that shows %20 encoding for the spaces in the examples, but they don't work for me (results in an empty play box when looking at the LMS web interface):

Code:

/anyurl?p0=playlist&p1=play&p2=itunesplaylist:Two%20Words&player=xx:xx:xx:xx:xx:xx
:confused:

Can anyone help me call iTunes playlists in LMS via URL with spaces in the name?

Viewing all articles
Browse latest Browse all 5300

Trending Articles