Permalink
Browse files

Merge pull request #17 from vmauge/playlist_with_space

Allow space in playlist name
  • Loading branch information...
2 parents 37934f4 + df14c48 commit fb6d2380e8d5049e61b0b81e0a74a38460e623ea @alexander-yakushev committed Apr 3, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 awesompd.lua
View
@@ -358,7 +358,7 @@ end
function awesompd:command_load_playlist(name)
return function()
- self:command("load " .. name, function()
+ self:command("load \"" .. name .. "\"", function()
self.recreate_menu = true
end)
end
@@ -367,7 +367,7 @@ end
function awesompd:command_replace_playlist(name)
return function()
self:command("clear")
- self:command("load " .. name)
+ self:command("load \"" .. name .. "\"")
self:command("play 1", self.update_track)
end
end

0 comments on commit fb6d238

Please sign in to comment.