What is Serenity?
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 PREFIX=/usr CONFDIR=/etc make PREFIX=/usr CONFDIR=/etc DESTDIR="$pkgdir" install
Configuration is merged from 3 bash files:
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.
Tips and tricks
Running without installing (aka portable mode)
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).