June 24, 2017

March 26, 2015

Minimal video indexer for Synology NAS

Problem: Files copied to a Synology NAS via RSYNC or SSH are not automatically indexed and the command synoindex -R video reindex everything.

This script reindex /volume1/video/ adding or removing only what is needed, comparing the mediaserver database and file system contents based on paths, file size and mtime are not considered, hidden files are ignored (rsync safe).

https://github.com/ylon/synology-video-indexer

November 24, 2010

Draw Pie Chart with Gnuplot

I reused posts from gnuplotter and wrote a php script to plot pies with gnuplot.

https://github.com/ylon/gnuplot-pie

needed
  • php 5.3.2
  • gnuplot 4.4
  • /usr/bin/gnuplot should exists
output format
  • pngcairo
  • epslatex - you can then add it in a latex document with \input{pie.tex}