Managing tv series from the console
I’ve still not posted about my awesome terminal configuration, but I’ll be making that completly irrelevant today with my awesome way to handle tv series in the terminal.
First of all, we’ll need deluge, flexget, tree and subdownloader, all of them are available at debian’s standard repository
apt-get install subdownloader flexget tree deluged deluge-console
Just to clarify, I’m going to use a online rss service to get my torrents updates, and deluge with ui console for controlling its download, so, we make ourselves a showrss account and we add all our favourite series
Then get our rss link and create a flexget config like this one:
| 1 2 3 4 5 6 7 8 9 10 |
|
For that, we have to start deluged first, then flexget, and finally get the subtitles
| 1 |
|
Personally, after downloading something I put it into its series name’s folder, after I watch it, I classify into its season. This way I can keep a clean tree of series chapters pending to watch with a simple tree command:
tree -L 2 -P "mp4|mpg|*avi"
And, if i want a random series…
a=(); mplayer "$(find ${a[ $[ ( $RANDOM % ${#a[@]} ) + 1 ] - 1 ]}/|tail -n1)"






i cant watch programa MAGACIN with this script?
You can watch any program that’s available via showrss…
Or you could adapt it to use another provider.