
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
VLC Script for Conky feel free to use and Edit it :) Donations are welcome xD
This Script works only with files you have on your local HDD and NOT with Webstreams!!!
To make this script work you need to have netcat.openbsd installed and you must have following options enabled within vlc.
at Settings / All / Interface / Main Interface tick Remote control Interface and HTTP Remote control Interface
at Settings / All / Interface / Main Interface / RC tick fake tty and at Unix socket command input type /tmp/vlc.sock
Script is called within Conky with this parameters:
${color #FF4D00}$alignc VLC${color} ${hr 2}
${font Lucida Grande:size=7}
Artist: ${alignr}${execpi 10 /pathto/vlc2conky.sh --artist}
Song: ${alignr}${execpi 10 /pathto/vlc2conky.sh --title}
Album: ${alignr}${execpi 10 /pathto/vlc2conky.sh --album}
Duration: ${alignr}${execpi 10 /pathto/vlc2conky.sh --duration}
Genre: ${alignr}${execpi 10 /pathto/vlc2conky.sh --genre}
${font}
Replace the pathto with the path where the vlc2conky.sh is located.
!!!PLEASE BE AWARE I AM A BASH NOOB AND THE CODE IS NOT PERFECT BUT IT WORKS FOR NOW!!!!
9 years ago
Edited the Way it worked by including the Way the script of crimson from the official VLC worked.
Changelog:
v1.0
Raw Script by Dgellow Jons
v1.1
Rewrote Script by Dgellow Jons to be able to use files with Spaces within the name or path.
v2.0 Rewrote the code with help from the script by crimson of the official VLC Forum to be able to show stats even if there is more then one Title in the Playlist.
Future Plans:
(maybe) Make it available for Webstreams to
9 years ago
Edited the Way it worked by including the Way the script of crimson from the official VLC worked.
Changelog:
v1.0
Raw Script by Dgellow Jons
v1.1
Rewrote Script by Dgellow Jons to be able to use files with Spaces within the name or path.
v2.0 Rewrote the code with help from the script by crimson of the official VLC Forum to be able to show stats even if there is more then one Title in the Playlist.
Future Plans:
(maybe) Make it available for Webstreams to
Please login or register to add a comment or rating