https://github.com/arran4/vlc-xattr-plugin
A plugin for VLC to add "seen" to the `xdg.tags` list automatically when ever you watch anything
https://github.com/arran4/vlc-xattr-plugin
c cmake fs-attr plugins vlc vlc-plugin xattr
Last synced: 3 months ago
JSON representation
A plugin for VLC to add "seen" to the `xdg.tags` list automatically when ever you watch anything
- Host: GitHub
- URL: https://github.com/arran4/vlc-xattr-plugin
- Owner: arran4
- Created: 2024-06-15T12:11:24.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-06-15T15:10:20.000Z (12 months ago)
- Last Synced: 2025-03-01T00:14:05.659Z (4 months ago)
- Topics: c, cmake, fs-attr, plugins, vlc, vlc-plugin, xattr
- Language: C
- Homepage:
- Size: 183 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vlc xattr plugin
This is a plugin for VLC which adds the xattr tag 'seen' to the `user.xdg.tags` list anytime you watch a video.
```bash
% attr -g xdg.tags ~/Downloads/14⧸6⧸2024\ \[NU2402V166S00\].mp4
Attribute "xdg.tags" had a 4 byte value for /home/arran/Downloads/14⧸6⧸2024 [NU2402V166S00].mp4:
seen
```
Currently for any system that supports `setxattr` and `getxattr` which AFAIK is just Linux, but Mac might, and Windows might via WSL. (It should be possible to port it.)
# How to build it?
Currently I'm using: (To build and install)
```
cmake --build ./cmake-build-debug --target all -j 14 && sudo cp -vf "./lib/libxattrplaying_plugin.so" "/usr/lib64/vlc/plugins/misc/libxattrplaying_plugin.so"
```Requirements:
* VLC headers
* Standard C Development Libraries for Linux
* Cmake# How to use it
You will need to enable it in the settings once you have placed it in the correct directory:
