Flatpak版VLC 3.0安装tunein.lua插件:Linux Mint 18.3 MATE路径查询
Hey there! Since Flatpak apps run in a sandboxed environment, their plugin paths are totally different from the standard system-installed VLC. Let's walk through the steps to get your tunein.lua plugin set up correctly:
1. Locate the Flatpak VLC User Plugin Directory
Flatpak stores app-specific user data in ~/.var/app/ under the app's unique ID. For VLC, this ID is typically org.videolan.VLC. The correct plugin directory for user-installed add-ons is:
~/.var/app/org.videolan.VLC/data/vlc/plugins/
If the plugins directory (or subdirectories like lua/playlist/) don't exist, create them first with:
mkdir -p ~/.var/app/org.videolan.VLC/data/vlc/plugins/lua/playlist/
2. Copy the tunein.lua Plugin to the Right Location
Move your tunein.lua file into the playlist subdirectory of the plugins folder. Replace /path/to/your/tunein.lua with the actual path to your plugin file:
cp /path/to/your/tunein.lua ~/.var/app/org.videolan.VLC/data/vlc/plugins/lua/playlist/
3. Refresh VLC's Plugin Cache
To make sure VLC detects the new plugin, reset its plugin cache and restart the app:
flatpak run org.videolan.VLC --reset-plugins-cache
After running this command, close any open VLC windows and launch it again.
4. Verify the Plugin is Working
Open VLC and check if the TuneIn functionality is available. You should be able to access it via Media > Open Network Stream (or the equivalent menu option) where TuneIn streams/options should now appear, just like they did with your standard VLC installation.
Quick Troubleshooting Tip
If you can't find the org.videolan.VLC directory, confirm the app ID with this command:
flatpak list | grep VLC
This will show you the exact ID for your Flatpak VLC installation, which you can use to adjust the path accordingly.
内容的提问来源于stack exchange,提问作者Alexander Lavrenko

