For those that are interested, here is how I got my media streaming from my QNAP TS-509 to XBMC using xbmsp/ccxstream...
You need to first add
Optware IPKG 1. First update your firmware to the latest build.
2. In your 'System Tools' -> 'QPKG' page, click on 'Get QPKG' button.
If nothing is listed you must get the package from the appropriate download page on the QNAP website.
3. Download 'Optware IPKG' package that matches your model.
4. Unzip the downloaded archive then install it (.qpkg file) via the 'System Update' under your 'System Tools' page.
After you reboot use
PuTTY to ssh into your server. After logging in, change into the newly created optware directory. For me on the TS-509 it looked like this:
- Code: Select all
cd /share/MD0_DATA/.qpkg/Optware
and issue the following commands...
- Code: Select all
ipkg update
ipkg install ccxstream
You need to edit the startup script that should have been just created. You should be able to navigate to it by typing this:
- Code: Select all
cd /opt/etc/init.d
And look for a file called "
S75ccxstream" or something similar. If that location or file does not exist, try rebooting first.
Edit the startup script "
S75ccxstream" with the built in text editor "VI" because some Windows text editors might corrupt the file.
- Code: Select all
vi S75ccxstream
#press "i" to go into edit mode
#press "escape" to exit edit mode
#then press ":" followed by "q" followed by "y" to save your changes
Inside the startup script is a section to point to your shared directory, modify that section.
Okay almost done.... The final thing to do is create or modify
autorun.sh Follow the instructions
HERE. Before you unmount the volume, we need to add a couple lines to
autorun.sh Here is what mine looks like:
- Code: Select all
#!/bin/sh
# ccxstream server boot
rm -rf /opt
ln -sf /share/MD0_DATA/.qpkg/Optware /opt echo "export PATH=$PATH:/opt/bin:/opt:sbin" >> /root/.profile
ln -sf /share/MD0_DATA/.qpkg/Optware/etc/init.d/S75ccxstream /etc/rcS.d/QS999ccxstream
Then just restart your server and hopefully the ccxstream server will be running. You can check by typing
- Code: Select all
ps -A
and look for something that says "ccxstream".