-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wildcards in command line #7
Comments
(P. N.) I came here to post this exact bug. There is something seriously messed up with wildcards not only when trying to play local files but in URLs as well. For example, try "mplayer http://blabla/?foo" and see that mplayer ignores completely the parameter and just dumps the help screen. This has to be a problem with the Sherpya builds since other windows builds (SVN-35923-4.6.1 built on Feb 24, 2013" works OK. Thanks again for the program! |
windows cmd does not provide globbing, the glob is delegated to the application, so I've hooked my code in mplayer playlist add part. |
(P. N.) To reproduce the problem for local files, do this:
|
it should be fixed with r36295+g2976e2a, please report |
(P. N.) Well, sort of.
However:
|
(jrthwk) Good, all works almost as it must. Thanks. About bug founded by P. N. - confirmed. If we stand in any directory except D:\mp3\1 and run D:\mplayer\mplayer.exe D:\mp3\1* or D:\mplayer\mplayer.exe D:\mp3\1*.mp3 - mplayer exit with multiple "File not found" errors. If we stand in directory D:\mp3\1\ and run same command - mplayer work's fine and plays all files in directory. |
yes it's not really a full glob replacement, I'll try to add one when I'll find a good implementation around |
(Aaron) Gianluigi, I'm not sure if this would be of any help, but may provide information (that you might already have): https://svn.code.sf.net/p/mingw-w64/code/trunk/mingw-w64-crt/crt/wildcard.c and https://svn.code.sf.net/p/mingw-w64/code/trunk/mingw-w64-crt/crt/CRT_glob.c If you're already doing this, I apologize for suggesting otherwise, but it appears that including CRT_glob.o, rather than CRT_noglob.o will turn over CLI globbing to M$'s globbing code, rather than having to make your own, at least for local files. Just a possible lead on getting this working the way you/we want it to, hopefully. |
(jrthwk)
Mplayer 36279 still don't work with wildcards. My attempts to play all files in some catalog with '.mp3', '.' or '' ended only one result - mplayer playing one or two files, and moreover - in catalogue where lie 19 mp3 file named 01.mp3, 02.mp3 and so on, mplayer was play files 19.mp3 then 18.mp3 and exit.
Latest build that correctly work with wildcards was 34401, build 35968 also have this bug.
The text was updated successfully, but these errors were encountered: