mapper: remove trailing slashes from music_directory

When the user configures a music_directory with a trailing slash, it
may break playlist loading, because MPD expects a double slash.  Chop
off the trailing slash.
This commit is contained in:
Max Kellermann
2009-01-30 13:47:45 +01:00
parent efb04532df
commit e3d4fa6946
2 changed files with 16 additions and 1 deletions

1
NEWS
View File

@@ -41,6 +41,7 @@ ver 0.14.2 (2009/??/??)
- jack: allocate ring buffers before connecting
- jack: clear "shutdown" flag on reconnect
- jack: reduced sleep time to 1ms
* mapper: remove trailing slashes from music_directory
ver 0.14.1 (2009/01/17)