Description This manual describes how to schedule automatic search for subtitles for movies and episodes on the router running OpenWRT version Backfire 10.03. Installation
Napiprojekt package will be needed, which can be found here: Napiprojekt . Installation is via:
opkg install http://eko.one.pl/openwrt/backfire/10.03/napiprojekt_6_ar71xx.ipkOpkg install the needed dependencies with the exception of p7zip, which you can get here: p7zip . Install it like:
opkg install http://ecco.selfip.net/backfire/packages/p7zip_9.13-3_ar71xx.ipk
script create a new script by typing:
nano / usr / bin / napisy.shwill appear in the directory / usr / bin, which is located in your $ PATH environment variable, the file can be run from anywhere in systemie.Następnie the contents of the file should be included:
# / bin / sh #
Browse the directory listed in turn
for directory in / srv / movies / srv / serials
to
# Find all the avi files, write full path '= 1 line a file ", reads one line to the variable read
# Usage prevents a situation in which the file name there are spaces
find $ directory -Name "*. avi" skip movies and episodes for which have already pulled strings, you can easily schedule the hourly performance. To do this, add the following line to / etc / crontabs / root:
* * / 1 * * * napisy.sh
affordable and convenient explanation "calculator" for cron can be found at
http://eko.one.pl /? p = openwrt-cron
0 comments:
Post a Comment