gr360ry / htpc-ansible Goto Github PK
View Code? Open in Web Editor NEWHTPC Server Automation with XBMC, Newsgroups Software
HTPC Server Automation with XBMC, Newsgroups Software
From sabnzbd.ini.j2:
download_dir = /mnt/xbmc/tmp/sabnzbd_incomplete
size_limit = 0
enable_par_cleanup = 1
safe_postproc = 1
cache_dir = cache
complete_dir = /mnt/xbmc/Downloads
Don't use nzbtomedia postinstallation scripts if nzbtomedia_enabled is undefined.
Error:
TASK: [sabnzbd | Make sure Sabnzbd is running and started on boot] ************
failed: [default] => {"failed": true, "item": ""}
msg: Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 46, in
if not cherrypy.version.startswith("3.2"):
AttributeError: 'module' object has no attribute 'version'
If XBMC is not running, the desktop may lock and require user password (when it happened to me, I couldn't input the password too so I had to reboot the computer :/). Please disable desktop locking.
Add configuration variables for external nas ( UID, IP Address and remote directory ).
Probably add autofs map for this case.
Executed:
wget --no-check-certificate https://raw.github.com/GR360RY/htpc-ansible/master/scripts/htpc-server-torrents.sh -O - | sh
Results snippet:
TASK: [sickbeard | Install Requirements] **************************************
changed: [127.0.0.1] => (item=python-cheetah,git,python-setproctitle)
TASK: [sickbeard | Get SickBeard Code from GitHub] ****************************
failed: [127.0.0.1] => {"failed": true, "item": ""}
msg: Failed to checkout dev
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/home/tali/htpc-server-torrents.retry
127.0.0.1 : ok=50 changed=40 unreachable=0 failed=1
thepiratebay.org is back online (and even when it was offline, sickbeard changed its configuration to use oldpiratebay.org so it worked)
Right now the script tries to set up the host name to htpc-server, but does not update it in /etc/hosts
.
I suppose it would be better to just detect the actual hostname and use it.
htpc-ansible creates directories for Music and Photos under /mnt/xbmc, but XBMC is not configured to use them, so even if the user populates these directories, nothing is shown when the user enters the Photos/Music screen.
Use hostname for:
Sabnzbd and Deluge downloaded files should be moved to Movies or TV Shows folders automatically based on the content type.
When running tvheadend role, this plugin should also be installed and configured (but if it causes problems until tvheadend is configured, maybe don't enable it)
Please add automated installation of TvHeadEnd.
If possible, please also automatically configure locals muxes and automation for scanned channels.
I've just installed Xubuntu 14.04.1 and ran your script
wget --no-check-certificate https://raw.github.com/GR360RY/htpc-ansible/master/scripts/htpc-server.sh -O - | sh
I get the following issue
ERROR: debconf is not a legal parameter in an Ansible task or handler
I'm using Ansible 1.5.4 which was installed through the script. The error seems to be in the tvheadend task.
Disable UPnP and Screen Dimming and GUI Sounds to test if the problem is resolved
Add sudo apt-add-repository ppa:ansible/ansible
to the installation script
TASK: [sickbeard | Update sickbeard config.ini] *******************************
ok: [127.0.0.1]
TASK: [sickbeard | Make sure SickBeard starts on boot] ************************
failed: [127.0.0.1] => {"failed": true, "item": ""}
msg: Traceback (most recent call last):
File "SickBeard.py", line 311, in <module>
main()
File "SickBeard.py", line 230, in main
sickbeard.initialize(consoleLogging=consoleLogging)
File "/opt/sickbeard/sickbeard/__init__.py", line 645, in initialize
newznabProviderList = providers.getNewznabProviderList(newznabData)
File "/opt/sickbeard/sickbeard/providers/__init__.py", line 58, in getNewznabProviderList
providerList = filter(lambda x: x, [makeNewznabProvider(x) for x in data.split('!!!')])
File "/opt/sickbeard/sickbeard/providers/__init__.py", line 88, in makeNewznabProvider
name, url, key, enabled = configString.split('|')
ValueError: too many values to unpack
FATAL: all hosts have already failed -- aborting
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.