Debian Linux Asset Specifics
This Asset build is for Debian, but it will also run on other Linux versions
[b]Installation details[/b]
To install it is done through the SSH command-line, for headless devices, install 'Putty' then connect to the device to access command-shell.
[code]
Create a folder for Asset:
cd /usr/bin
sudo mkdir asset
sudo chmod 777 asset
cd asset
Download asset (32 bit) on your PC and transfer to your linux device, then unzip:
extract it:
tar -zxvf *.gz
rm *.gz
Run Asset:
cd /usr/bin/asset/Asset-R6-Linux-x64-registered/bin
./AssetUPnP
Once running it will show Presentation URL type this into a web browser on any computer on the same network, example:
http://192.168.1.13:45537
Then click 'configure' to specify the options
[/code]
[b]Setting Asset to start automatically[/b]
[code]
sudo crontab -e
press the down arrow until the cursor is right at the bottom (on a blank line, press enter if not on a blank line)
type:
@reboot /usr/bin/asset/Asset-R6-Linux-x64-registered/bin/AssetUPnP
Press keys CTRL + X choose Y to save, press enter
restart system:
sudo reboot
The web log-in will be the same as when run manually, if at a later date you cannot find this address (or port), log into the pi and type:
ifconfig
this will show on the inet addr for eth0, take the shown ip address and:
http://x.x.x.x:45537
Where x.x.x.x is the address shown
To find the port asset is using:
sudo netstat -pln
look for the lines with AssetUPnP on the end, it should be shown as 0.0.0.0.0:45537 (for configuration) (as well as 0.0.0.0.0:26125 which is used by UPnP devices and 0.0.0.0.0:1900 for broadcast)
[/code]
The configuration files for Asset are stored: ~/.dBpoweramp
Re: Debian Linux Asset Specifics
[b]Storing your data files in another location[/b]
Prior to running Asset, set an environment var _APPDATA_OVERRIDE pointing it to a folder where you want your Asset data stored.
Example:
[code]_APPDATA_OVERRIDE=/path/to/asset/data ./AssetUPnP[/code]
or
[code]export _APPDATA_OVERRIDE=/path/to/asset/data
./AssetUPnP[/code]
If you're starting Asset on system startup using crontab as shown in the post above, insert the environment var before the command that starts Asset:[code]@reboot _APPDATA_OVERRIDE=/path/to/asset/data /usr/bin/asset/Asset-R6-Linux-x64-registered/bin/AssetUPnP[/code]
Re: Debian Linux Asset Specifics
Removing Asset from crontab:
[code]
sudo crontab -l | fgrep -v AssetUPnP > /tmp/crontab-asset.txt
sudo crontab /tmp/crontab-asset.txt
rm /tmp/crontab-asset.txt
[/code]
Re: Debian Linux Asset Specifics
New simplified guide, using install scripts for Asset R6.6 and newer-
[url]https://forum.dbpoweramp.com/showthread.php?45478-Asset-UPnP-for-Linux-instructions-x86-Raspberry-Pi[/url]