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):
:)
So I'm trying to call them by name, and this works:
:)
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):
:confused:
Can anyone help me call iTunes playlists in LMS via URL with spaces in the name?
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%3AxxSo 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:xxBut 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:xxCan anyone help me call iTunes playlists in LMS via URL with spaces in the name?