February 24, 201214 yr Hi all, Has anyone successfully implemented beets on their unraid server? http://beets.radbox.org/ Would it even be possible?
February 24, 201214 yr I assume by 'implemented' you mean can it run? And of course it can, its just a python script, much like sabnzbd, sickbeard etc are. It should be as simple as running the command 'python path/to/beets.py import /mnt/Music/' or whatever (i dont use beets, i just got those arguments from their github) If ive missed the point i appologize, the question just wasnt that clear to me.
February 24, 201214 yr I have looked into this and I would like to get it set up. I just have not found the time to do so... It is on the list but probably will not happen for a while.
February 25, 201214 yr Author Hi Swixxy, yep i mean just to be able to run it im just not that familiar with how to make third party apps run nicely with unraid. Ive got sickbeard sab etc running, i just wondered whether someone had done i already, rather than me tinkering until i break something..! Prostuff1, good to hear your working on it, your work is apreciated cheers, Brett
February 25, 201214 yr Look at the write-up for running Python based programs on unRAID that is in the Wiki. They are all done a similar way, basically install the dependencies which you will already have if you're running other Python apps so then you just unpackage the new source into a directory and run it. You can use the Wiki info and modify it a little for another app to have start/stop buttons or start on boot.
March 18, 201214 yr For anyone that's interested, here's what I did to get beets working; If you're not happy working from command line, please give this a miss. But since beets is a command line tool, I figure anyone wanting to use it is willing to get their hands dirty. Things you'll need; Python Sqlite SetupTools Pip Beets If you're already running SABnzbd, SickBeard, CouchPotato then you've got the first two already. For completeness and on a fresh Unraid server, I manually installed everything using Python 2.6 as that's the one which the plugins use; 1. Download and install Python 2.6 cd /boot/packages wget http://slackware.cs.utah.edu/pub/slackware/slackware-13.1/slackware/d/python-2.6.4-i486-1.txz installpkg python-2.6.4-i486-1.txz 2. Download and install Sqlite cd /boot/packages wget http://slackware.cs.utah.edu/pub/slackware/slackware-13.1/slackware/ap/sqlite-3.6.23.1-i486-1.txz installpkg sqlite-3.6.23.1-i486-1.txz 3. Download and install setuptools (needed to install Beet using python setup.py) cd /boot/packages wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg ./setuptools-0.6c11-py2.6.egg 4. Download and install Beet. First install PIP as an easy way to install Beet. (you could disregard pip and directly download beet .gz, untar and run the setup.py) cd /boot/packages wget http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz tar --no-same-owner -xf pip-1.1.tar.gz cd pip-1.1 python setup.py install pip install beets That should install a basic working copy of beet. At this point you'll need to give some thought to where to store the .beetsconfig and .blb music database. By default, they will live in /root, so will not survive a reboot. You can specify different locations on command line or within the .beetsconfig file. Read the beet documentation at http://readthedocs.org/docs/beets/en/1.0b13/index.html To test beet, create a simple .beetsconfig file in /root; /root/.beetsconfig [beets] directory: /mnt/user/music library: ~/musiclibrary.blb test beet; beet import /someincomingmusicdir I'm currently struggling trying to get the replaygain plugin working. There are a number of dependencies. I've been able to satisfy most by installing; gstreamer-0.10.32-i486-1 gst-plugins-base-0.10.32-i486-1 gst-plugins-good-0.10.28-i486-2 gst-python-0.10.18-i486-1gsb I think it also needs 'pygtk-2.22.0-i486-1', by still I'm getting an error ImportError: No module named pygtk Any help with above error would be appreciated! Regards, RJ
March 25, 201214 yr Also just a quick note, but the python app Headphones uses beets to organise your music collection, similar to sickbeard & so on. It can be found here https://github.com/rembo10/headphones Then you just run it by having inside your go file # give nobody shell access usermod -s /bin/bash nobody # Run Headphones app as user nobody su nobody -c "python /mnt/cache/.headphones/Headphones.py -d" This is assuming Headphones is extracted inside the .headphones folder in the cache drive, change the path depending on where you extract it obviously.
Archived
This topic is now archived and is closed to further replies.