This is a linux shell script written in Bash to automate updating of your list.
It monitors your processes every 1 minute (configurable) for supported players and attempts to match the filename up with an entry in your list. If a match is found your list is updated.
If a series is in your plan to watch or on hold it is moved to watching.
If the current episode is the last episode it is marked as completed.
Requirements:
* bash
* wget
* coreutils
* perl
* sed
* Linux (Tho may work under other *nix OSes if they support the /proc pid information and file descriptors)
Supported Players:
* Mplayer/smplayer (or any other front-end which spawns a mplayer process)
* Kaffeine (KDE3)
* Dragon Player
I'm always open for help and suggestions If something doesn't work for you let me know or if you can, fix it and send me a patch.
Download:
http://fredrickl.com/malu/malu-linux-0.6.3.tar.bz2 (Thanks to Kisho)
Plugins: within 0.6 I've added limited support for a sort of "plugin" support.
currently it supports 2 events, pre_loop and playing
pre_loop is ran right before the monitoring of processes, so pretty much before anything really gets done.
playing is whenever something is detected as being played.
please note that anything done within a plugin cannot affect any variables outside of the plugin's function scope.