diff --git a/README.md b/README.md index c70c59c..4409d76 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ Inspired by [DatMusic](https://github.com/alashow/datmusic-api), [MyFreeMp3](htt * ~~Dowload all songs in a folder~~ * Add Spotify metadatas in the m3u8 file * Add proper command line options +* Add CLI progress info +* Having placeholder for files that can't be downloaded, maybe as + comment in the m3u8 file +* Having a option to retry/resync download mp3 based on the m3u8 file +* Check the mime type of receive files because some are html files + instead of mp3 WTF !! * Rewrite this as a plugin for Ampache * Rewrite this as a plugin for Funkwhale * Add MusicBrain ID3Tag on file diff --git a/lib/index.js b/lib/index.js index cb29888..a28a6b4 100644 --- a/lib/index.js +++ b/lib/index.js @@ -134,6 +134,7 @@ exports.main = async function main(playlistUrl){ console.log(`You are on your own for ${track.name} - ${artistNames}`); return; } + // TODO handle '/' in title because path.join doesn't escape them bestMatch.path = `${bestMatch.artist} - ${bestMatch.title}.mp3`; debug('bestMatch=%O', bestMatch); try {