erland / erlandplugins

Automatically exported from code.google.com/p/erlandplugins
2 stars 5 forks source link

Dynamic playlists web interface doesn't work for playlists with ":" in the name #85

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
DynamicPlaylists 2.7 on SlimServer 7.3 on Win XP

Using DynamicPlaylists to call playlists created with iTunesPartyShuffle
(although I don't think this is relevant).

After updating from a much older version of DynamicPlaylists I have noticed
that playlists with ":" in their name no longer work. 
I think this is because the colon interferes with the parameter parsing in
the web backend.

e.g. playlist called "ipod: this week":
[11:01:23.5618] Plugins::DynamicPlayList::Plugin::cliPlayPlaylist (3510)
Entering cliPlayPlaylist
[11:01:23.5629] Plugins::DynamicPlayList::Plugin::cliPlayPlaylist (3548)
Got: iPod= This Week
[11:01:23.5641] Plugins::DynamicPlayList::Plugin::playRandom (402)
playRandom called with type

Nothing is added to the playlist and the Got: line looks wrong. 
Compare with one that works:
[11:03:05.8857] Plugins::DynamicPlayList::Plugin::cliPlayPlaylist (3510)
Entering cliPlayPlaylist
[11:03:05.8874] Plugins::DynamicPlayList::Plugin::cliPlayPlaylist (3548)
Got: _p3=test playlist
[11:03:05.8886] Plugins::DynamicPlayList::Plugin::playRandom (402)
playRandom called with type test playlist

Original issue reported on code.google.com by jacr...@gmail.com on 1 Oct 2009 at 10:04