jansmolders86 / mediacenterjs

A HTML/CSS/Javascript (NodeJS) based Media center
http://mediacenterjs.com
1.29k stars 243 forks source link

Quote fileLocation for metadata fetcher #92

Closed gkatsev closed 10 years ago

gkatsev commented 10 years ago

The fileLocation needs to be quotes because otherwise, filesystems will fail if paths have spaces in them. Quoting is also compatible with *nixes and windows. In addition, get file path via path.join and __dirname.

This fixes #91

jansmolders86 commented 10 years ago

Hej Gary,

Thanks for taking it up yourself to fix this! It's really great! I'll test this and merge it! Thanks again!

jansmolders86 commented 10 years ago

Works like a charm! I tested it on Windows and Ubuntu without any issue! I'll close issue #91

Thanks again!