Permalink
Browse files

Allow space in playlist name

  • Loading branch information...
1 parent 37934f4 commit df14c48d4b0bb86ce39ba4947bca6bca8b46a680 @vmauge vmauge 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 df14c48

Please sign in to comment.