dmulholl / mp3cat

A command line utility for joining MP3 files.
https://www.dmulholl.com/dev/mp3cat.html
The Unlicense
186 stars 21 forks source link

--dir parameter on Windows won't find any files to merge #6

Closed creopard closed 6 years ago

creopard commented 6 years ago

I tried to merge several files in a directoy with Windows 7, but it just results in the error message "Error: no files found."

tried multiple variations:

but none of it succeded. What's the correct syntax for Windows OS systems?

dmulholl commented 6 years ago

That's odd, either the first or second variants should work fine. Does it work if you use command line globbing instead, i.e.

mp3cat D:\files\*.mp3

The end result should be exactly the same.

creopard commented 6 years ago

Unfortunately, adding the extension like your example doesn't make a difference.

dmulholl commented 6 years ago

Apparently the Windows command line doesn't have built-in support for globbing - I didn't know that.

I just checked and the --dir command is working fine for me on Windows 7. I used it as:

mp3cat --dir D:\files

and it found and merged a directory of .mp3 files. I don't know why it isn't working for you but if you figure it out please do let me know!

creopard commented 6 years ago

I found the error: My testfiles were named as follows:

renaming the extension to lowercase like:

Thanks for the support anyways!

dmulholl commented 6 years ago

Perfect :) Thanks for letting me know!

ohadschn commented 6 years ago

@dmulholland IMHO mp3cat should ignore the case of the extension... so mp3, MP3, Mp3 etc. should all work.

dmulholl commented 6 years ago

I agree @ohadschn. Done on master - I'll cut a 3.1 release when I get a chance.