我正在嘗試使用 VLC 媒體播放器 (2.1.4) 命令列播放 .mov 文件,但我希望它每次都加入現有的 VLC 媒體播放器視窗。
在舊版本中似乎有一個命令列選項 --one-, instance,但它不再可用。似乎它已被棄用。
有沒有新的方法可以做到這一點?
答案1
根據 VLC 文檔,這些參數仍然存在,但可以在播放清單對話方塊中覆寫。即您的設定可能無法正常--one-instance
運作。請確保您的設定正確。如果 VLC 已啟動,請參閱下面的螢幕截圖以了解正確的設定。
您還應該查看以下命令列參數:
--one-instance, --no-one-instance
Allow only one running instance (default
disabled)
Allowing only one running instance of VLC can sometimes be useful,
for example if you associated VLC with some media types and you don't
want a new instance of VLC to be opened each time you open a file in
your file manager. This option will allow you to play the file with
the already running instance or enqueue it. (default disabled)
--started-from-file, --no-started-from-file
VLC is started from file association (default
disabled)
Tell VLC that it is being launched due to a file association in the
OS (default disabled)
--one-instance-when-started-from-file, --no-one-instance-when-started-from-file
Use only one instance when started from file
manager (default enabled)
Use only one instance when started from file manager (default enabled)
--playlist-enqueue, --no-playlist-enqueue
Enqueue items into playlist in one instance
mode (default disabled)
When using the one instance only option, enqueue items to playlist
and keep playing current item. (default disabled)