In the example above the resulting file name will be "test-Jun 18 2019", the month, day and year reflecting the current recording date.Īpologies if this is all old hat for most viewers here, hopefully somebody not so sharp (like me) will find this useful. :sout=#transcode -no-sout-all -sout-keep -stop-time=20 vlc://quit Using the command above and combining it with the command generated by the GUI wizard in a second batch file my expectation was that this would open the stream and save a copy as the specified file: Start 'C:\Program Files (x86)\VideoLAN\VLC\vlc.exe' 'D:\DSSSHOWS\Moviesongs.xspf' -qt-start-minimized -loop START '\D:\DSSSHOWS\DSSAR.EXE' Where have I gone wrong I may not need all the quotation marks I used, but removing the 2nd and/or 3rd set makes no difference. "C:\Program Files\VideoLAN\VLC\vlc.exe" "" I've also managed to create a batch file that will open VLC and play the stream: So far I can open the stream through the VLC GUI and have successfully saved some test files. Ultimately, the idea will be to run this through the Windows Task Scheduler so I can record a regularly scheduled radio show and listen to it at my leisure. That's it! Hopefully, now you'll never lose a currently playing/paused video, when you want to open a new one without quitting the current one.I'm pretty new at this so bear with me, I'm attempting to create a batch file that will open a stream and save it to a file on my computer. Next, click Change all to enable all files of this extension open in the same way.Ĥ) Save a shortcut to the newly created VLC - new instance.app in a convenient location (like the desktop, or any other location on the Finder sidebar), so that you can drag and drop files to it, even if you don't want their default "open with" action changed. Go to Open With, and select the VLC - new instance.app (or whatever you called it) file there. Select a file of the desired file type, say video.avi. mkv, etc) you wish to be opened in a new VLC instance by default: Press cmd-v to paste the previously copied icon. Click the icon on the Info window that opens up. Now browse to /Applications/VLC - new instance.app (or wherever you created it). Voila, your app wrapper now has the VLC icon!ģ) Now repeat this step for all file types (e.g. Click on the icon in the Info window which opens up. Right-click on the white space and select New >. Click the icon on the Info window that opens up. Launch File Explorer and go to the directory in which you want the shortcut that opens multiple apps. Click on the icon in the Info window which opens up. Press cmd I (or right click -> Get Info). > I would suggest calling the file VLC - new instance (or VLC - new instance.app if you have set the ".app" extension to be shown after application names) and saving it in the standard Applications folder located at /ApplicationsĢ) Browse to /Applications/VLC (or /Applications/VLC.app) and select it. > As mentioned in the steps, make sure to save the file as ".app" or application. (This might be useful if don't want to change the default "open with" action). when you double click a file in Finder, or play it using a launcher app like Spotlight/Alfred)ī) Still show the VLC icon on these file types, like you are used to seeing.Ĭ) Allow the drag-n-drop to open the selected file in a new VLC instance. This will:Ī) Open the desired media files/file types in a new VLC instance by default. Compared to the other solutions mentioned here (which might work for you as well, depending on your needs), I explain below a more "complete" solution to this problem.
0 Comments
Leave a Reply. |