Serenity is a tool to automaticaly rename your favourite TV shows. It can work both on video files or subtitle files. It is entirely written in Bash. Output filenames can be customized.
- bash >= 4.0
- curl (for TVRage backend)
- html-xml-utils (for TVRage backend)
- make (build)
Default installation goes into /usr/local.
make clean
make
make install
make uninstall
make archive
make PREFIX=/usr CONFDIR=/etc
make PREFIX=/usr CONFDIR=/etc DESTDIR="$pkgdir" install
Configuration is merged from 3 bash files:
- ./serenity.conf
- $XDG_CONFIG_HOME/serenity/serenity.conf
- $CONFDIR/serenity.conf
If serenity has been installed using the make / make installed procedure described earlier, then CONFDIR will be /usr/local/etc.
If serenity has been packaged for your distro, then CONFDIR will most likely be /etc.
See $CONFDIR/serenity.conf for a detailed description of the configuration options.
Unpack and run ./serenity-devel
. Configuration is read from serenity.conf only.
To prevent serenity from erasing files, use serenity -b
. You can use the SIMPLE_BACKUP_SUFFIX and VERSION_CONTROL environment variables to fine tune this behaviour (see mv(1) for further information).