So the folks at Amahi have, in their infinite wisdom, decided to charge for Amahi-Tunes. Instead of debating the wisdom of such a business model I now provide a guide to setting up the same service for free. This will require a little bit of effort but should result in the same end user experience. Your mileage may vary with this tutorial, I defer all questions to Google.com
Let's get started, fire up Terminal!
INSTALL DEPENDENCIES
yum install libid3tag libid3tag-devel howl-devel
CREATE A TEMP DIRECTORY TO WORK WITHIN
mkdir mytunes.temp
cd mytunes.temp
GET mt-daapd, EXTRACT, BUILD, INSTALL IT
wget http://superb-west.dl.sourceforge.net/s ... 4.2.tar.gz
tar -xzf mt-daapd-0.2.4.2.tar.gz
cd mt-daapd-0.2.4.2
./configure
make
sudo make install
MOVE FILES NOT INSTALLED BY 'make install'
First, edit mt-daapd.conf to match our needs.
vi contrib/mt-daapd.conf
change web_root to /usr/local/share/mt-daapd/admin-root
change mp3_dir to /var/hda/files/music
change servername to whatever you want myTunes
change rescan_interval to 600
change extensions to .mp3,.m4a,.m4p,.ogg,.flac
change # always_scan 0 to always_scan 1
rm /etc/mt-daapd.conf
*get rid of old symlink if present
sudo cp contrib/mt-daapd.conf /etc/
sudo cp contrib/mt-daapd /etc/init.d/
chown nobody /etc/mt-daapd.conf
chmod 600 /etc/mt-daapd.conf
MAKE SURE mt-daapd STARTS AT BOOT
sudo /sbin/chkconfig --add mt-daapd
sudo /etc/init.d/mt-daapd start
If everything went right, your music server is now running.
CLEAN UP
cd ..
rm -rf mytunes.temp
CREATE AN AMAHI DASHBOARD LINK
Login to your Amahi dashboard. Click 'Apps', 'Webapps' then 'New Web App'
Give your app a name like 'myTunes' (or AmahiTunes for old times sake )
Keep the default path and click 'Create'.
LINK mt-daapd WEB INTERFACE WITH AMAHI DASHBOARD
Go back to Terminal.
vi /var/hda/web-apps/myTunes/html/index.html
*please note to use the app name you entered, if something other than 'myTunes'.
Enter the following and save:
<html>
<head>
<meta http-equiv="refresh" content="1;url=http://hda:3689">
</head>
</html>
chown apache:apache /var/hda/web-apps/myTunes/html/index.html
CLICK AND ENJOY
Go back to the Amahi Dashboard and click on the link to your new web app, it should bounce straight to mt-daapd's web interface where you can modify the app settings, check status, etc.
Setup Your Own Amahi Music Server - For Free
- flickeringsight
- Posts: 41
- Joined: Fri Nov 06, 2009 3:46 pm
- Location: Ventura, Ca
Setup Your Own Amahi Music Server - For Free
HDA: 2.6GHz Dual Core, Gigabyte MB, 2GB RAM, Blu-Ray, 320GB+1.0TB+2.0TB+4.0TB, Amahi 8
Re: Setup Your Own Amahi Music Server - For Free
This is the kind of article we love, support and encourage at Amahi. Wiki material.
Great article and tutorial. Thanks!
However, what's not so great here is the lack of tact shown in the very same introductory sentence. Starting with a caustic remark about the "wisdom on how to run the project", the "business model" (it's not much of a business *at all*, sadly). This is ok, as we're big boys and can take it.
Then ... showing the lack of willingness to support what you have done by "deferring all questions" is the downer. This is almost exactly the opposite of what Amahi is about: we want to make things solid *and* support, test and back what we do.
Also, it's not the "Amahi folks" ... we're all part of Amahi, we discuss, contribute, shape what we do going forward and enjoy (to varied degrees) all that goes on with Amahi.
Great article and tutorial. Thanks!
However, what's not so great here is the lack of tact shown in the very same introductory sentence. Starting with a caustic remark about the "wisdom on how to run the project", the "business model" (it's not much of a business *at all*, sadly). This is ok, as we're big boys and can take it.
Then ... showing the lack of willingness to support what you have done by "deferring all questions" is the downer. This is almost exactly the opposite of what Amahi is about: we want to make things solid *and* support, test and back what we do.
Also, it's not the "Amahi folks" ... we're all part of Amahi, we discuss, contribute, shape what we do going forward and enjoy (to varied degrees) all that goes on with Amahi.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Setup Your Own Amahi Music Server - For Free
There are a few additions needed to the above guidance to make this work. I have added the tutorial to the wiki.
http://wiki.amahi.org/index.php/FireFly_Media_Server
http://wiki.amahi.org/index.php/FireFly_Media_Server
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Setup Your Own Amahi Music Server - For Free
Does this work for forked-daapd? Firefly Media Server hasn't under development for two years so is risky to use - not only for security reasons but also because compatibility could break at any point and then you're stuffed.
Re: Setup Your Own Amahi Music Server - For Free
I don't know if it works, but you have a good point, we should probably put the time to package that forked-daapd.
First step is to see if it works manually.
First step is to see if it works manually.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1
Re: Setup Your Own Amahi Music Server - For Free
It seems that forked-daapd does not include a web interface. I have managed to locate the custom RPMs needed to test it.
To install, this is what I did:
To install, this is what I did:
- Install RPM Fusion (Free) app
- Downloaded forked-daapd and sqlite from the following location:
32-bit
http://rpms.netmindz.net/FC14/i386/RPMS ... 4.i386.rpm
http://rpms.netmindz.net/FC14/i386/RPMS ... 4.i386.rpm
64-bit
http://rpms.netmindz.net/FC14/x86_64/RP ... x86_64.rpm
http://rpms.netmindz.net/FC14/x86_64/RP ... x86_64.rpm Code: Select all
yum localinstall sqlite --nogpgcheck
Code: Select all
yum localinstall forked-daapd --nogpgcheck
Code: Select all
service forked-daapd start
Last edited by bigfoot65 on Mon Oct 31, 2011 9:29 am, edited 2 times in total.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Setup Your Own Amahi Music Server - For Free
You mixed up the 32-bit and 64-bit packages there.
Re: Setup Your Own Amahi Music Server - For Free
Oops....sorry. Corrected.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 71
- Joined: Tue Sep 20, 2011 8:02 am
Re: Setup Your Own Amahi Music Server - For Free
Can this also be done for Transmission?
Re: Setup Your Own Amahi Music Server - For Free
I am sure it could. If there is someone who has manually installed transmission, please let us know.
We can add the documentation to the wiki for others to benefit.
We can add the documentation to the wiki for others to benefit.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 5 guests