-
Notifications
You must be signed in to change notification settings - Fork 7
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
Mac - command line invokation ignores file names with spaces in #31
Comments
Which version of xjadeo, which OS? With a quick-test it works just fine here on Linux using xjadeo v0.8.8. Also remote-control via Ardour is known to work on all major platforms with spaces in the file-name. |
Mac OS 10.13.6. This doesn't load.. /Applications/Jadeo.app/Contents/MacOS/Jadeo /Users/john/Movies/Zombie\ Walk\ Beach\ of\ the\ Dead\ 2011\ -\ Puscifer\ Sour\ Grapes.MP4 When I copied the file and renamed it, it then does load.. /Applications/Jadeo.app/Contents/MacOS/Jadeo /Users/john/Movies/Zombie.MP4 I also tried using quotes instead of backslash method but no different. How does remote-control specify the file? Is it via CLI interface or native? |
I'm away from a mac right now. I'll check next time I have access to one. It may be the wrapper script. Can you try
As for the remote ctrl, see http://xjadeo.sourceforge.net/remote.html IIRC there is also /Applications/Jadeo.app/Contents/MacOS/xjremote that decouples from a running instance. |
Still doesn't load using quotes if spaces. Yeah a wrapper script sounds like a very plausible cause. This doesn't load with quotes.. /Applications/Jadeo.app/Contents/MacOS/Jadeo "/Users/john/Movies/Zombie Walk Beach of the Dead 2011 - Puscifer Sour Grapes.MP4" This does load with quotes /Applications/Jadeo.app/Contents/MacOS/Jadeo "/Users/john/Movies/Zombie.MP4" Thanks. |
This hands over all arguments as received and should fix an issue passing filesnames with whitespace at application start. This needs testing to not interfere with Mac session-parameters e.g. "-psn ..." may have been ignored in the past due to this and now produce an issue.
Also thanks for the remote control interface info. That doesn't seem to care about spaces. So I could just use that for the time being. |
I meant ..../Jadeo-bin "..." (don't use the wrapper script to test, directly start the binary) |
Yes using Jadeo-bin directly solves the space issue. Although when starting via CLI how do you shut it down cleanly? If I hit ctrl-C it just says CAUGHT SIGINT - shutting down. But doesn't actually shut down until I hit ctrl-C a second time. Then it says bye! and actually exits. In remote mode quit shuts down cleanly first time. |
That sounds like a bug. So it seems like the clean-up phase hangs somewhere. Is the window closed? Maybe it's waiting for some Mac specific GUI event?! perhaps send a SigQuit directly: |
ctrl-\ quits immediately but leaves Mac OS popup "Jadeo quite unexpectedly" so it crashed |
I need to start Jadeo from the command line as will use multiple instances with different video files playing at different offsets.
However, if a video file is specified, it only loads if the filename contains no spaces.
Any idea? Sounds like would be a simple fix.
The text was updated successfully, but these errors were encountered: