install mediainfo:
apt-add-repository ppa:shiki/mediainfo
apt-get update
apt-get install mediainfo
get filebot .deb package from:
http://pkgs.org/ubuntu-11.10/getdeb-apps-i386/filebot_0.0.0r465-1~getdeb1_all.deb.html
and install it with:
dpkg -i filebot*.deb
Then Download Ted (stable and nigtly) - problem here is that latest nightly does not have english translation (stable has problems with reading some peers, and nigtly does not have english language, so I have to combine those both)
http://www.ted.nu/download.php
unpack both versions in /home/dni/ted (nightly) and /home/dni/ted_stable (stable version)
using nautilus (archive manager) open the ted.jar file from the ted_stable and go into ted/translations directory and extract tedLang_en_EN.properties file.
add this file to the nigtly (SVN) ted.jar (ted0972-0.972-SNAPSHOT.jar) in /home/dni/ted
now move /home/dni/ted to /home/dni/.ted
create a file /usr/bin/ted.sh and make it executable
#!/bin/bash
cat /proc/mounts | grep /home/dni/NAS_PUBLIC > /dev/null
if [ $? -eq 0 ] ; then
echo NAS_PUBLIC is mounted
echo starting ted
java -jar /home/dni/ted/ted.jar
exit
fi
echo "mounting NAS_PUBLIC and starting ted"
mount /home/dni/NAS_PUBLIC && java -jar /home/dni/ted/ted.jar
exit
create a file /usr/share/application/ted.desktop and make it executable
[Desktop Entry]
Name=Torrent Episode Downloader
Comment=TED Downloader
OnlyShowIn=GNOME;Unity;
Exec=sh /usr/bin/ted.sh
Icon=winicon
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;Core;Documentation;Utility;Internet
create a file /usr/bin/filebot.sh and make it executable
#!/bin/bash
cat /proc/mounts | grep /home/dni/NAS_PUBLIC > /dev/null
if [ $? -eq 0 ] ; then
echo NAS_PUBLIC is mounted
echo starting filebot
/usr/bin/filebot
exit
fi
echo "mounting NAS_PUBLIC and starting filebot"
mount /home/dni/NAS_PUBLIC && /usr/bin/filebot
exit
create a file /usr/share/application/ted.desktop and make it executable
[Desktop Entry]
Name=Filebot
Comment=FileBot Manager
OnlyShow=uIn=GNOME;Unity;
Exec=sh /usr/bin/filebot.sh
Icon=/usr/share/pixmaps/filebot.png
StartupNotify=true
Terminal=false
Type=Application
Categories=GNOME;GTK;Core;Documentation;Utility;Internet
FileBot rename settings so XBMC can scrape it
/home/dni/NAS_PUBLIC/TV_SHOWS/{n}/Season{S.pad(2)}/{n}-S{s.pad(2)}E{e.pad(2)}-{t}.{ext}
No comments:
Post a Comment