title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 4 of 4

Thread: Debian Linux Asset Specifics

  1. #1
    Administrator
    Join Date
    Apr 2002
    Posts
    43,831

    Debian Linux Asset Specifics

    This Asset build is for Debian, but it will also run on other Linux versions

    Installation details

    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
    Setting Asset to start automatically

    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)
    The configuration files for Asset are stored: ~/.dBpoweramp
    Last edited by Spoon; 06-14-2022 at 05:45 PM.

  2. #2
    Super Moderator
    Join Date
    Jul 2011
    Posts
    1,359

    Re: Debian Linux Asset Specifics

    Storing your data files in another location


    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
    or
    Code:
    export _APPDATA_OVERRIDE=/path/to/asset/data
    ./AssetUPnP
    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

  3. #3
    Super Moderator
    Join Date
    Jul 2011
    Posts
    1,359

    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

  4. #4
    Super Moderator
    Join Date
    Jul 2011
    Posts
    1,359

    Re: Debian Linux Asset Specifics

    New simplified guide, using install scripts for Asset R6.6 and newer-
    https://forum.dbpoweramp.com/showthr...6-Raspberry-Pi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •