loharx.blogg.se

Vlc enqueue
Vlc enqueue













  1. Vlc enqueue install#
  2. Vlc enqueue code#

Vlc enqueue install#

Find an add-on that promises to do something similar to what you want and install it. For this, open Dolphin options ( Control, Configure Dolphin), click on Services, and choose to Download New Services. In this case, I'd say that you'd have better luck looking through and examining the custom service menus that are available for download through Dolphin itself. But the docs are mostly either confusing, incoherent, or simply out of fucking date. For more complicated operations with Service Menus, I would normally recommend looking through the docs.

vlc enqueue

Clicking it should queue and play the contents of the folder in VLC.Īnd that's all there is to it. Right-click on a folder and you should see a Queue in VLC option right at the bottom. Now, close all the instances of Dolphin that you have open on your desktop.We also specify a display name and an icon to use (and in this case, just vlc worked great)! The Exec line simply specifies the command to run (with the folder name being provided by the %f). Now below the above section, add the "Action" that we have specified:.The ServiceTypes notes that we only want this menu to appear when right-clicking on a folder.

Vlc enqueue code#

This code basically says that you are creating a which performs Actions named VLCQueue (you can declare many more if you like separated by a semi-colon). ServiceTypes=KonqPopupMenu/Plugin,inode/directory,inode/directory-locked Within the new directory, create a file named vlc.desktop and add the following content to it:.If you don't already have one, create a subdirectory named ServiceMenus.If you want this menu to be accessible to all users on the system, you will need to look for something like /usr/share/kde4/services/ This is where we will add the code for our custom menu assuming that we only want it to be accessible to you and not everybody on the system. Next, navigate to /home/druss/.kde/share/kde4/services/ where druss is your username.VLC also looks through sub-directories recursively by default. VLC (god bless its soul) simply works with: First of all, find out the command to enqueue an entire directory in VLC from the command line.

vlc enqueue

You can modify it appropriately to get it working for other applications as well. Here's a simple working example that might be of help to someone else out there. Many of the examples that I looked at were rather sketchy or incomplete. I was looking for a way to add a custom context (right-click) menu to KDE's Dolphin (in Kubuntu 14.10, Utopic) that (much like in Windows) would allow me to enqueue an entire folder/directory in Videolan.















Vlc enqueue