title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Debian Linux Asset Specifics

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Spoon
    Administrator
    • Apr 2002
    • 44582

    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; June 14, 2022, 09:45 PM.
    Spoon
    www.dbpoweramp.com
  • PeterP
    Super Moderator
    • Jul 2011
    • 1471

    #2
    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

    Comment

    • PeterP
      Super Moderator
      • Jul 2011
      • 1471

      #3
      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

      Comment

      • PeterP
        Super Moderator
        • Jul 2011
        • 1471

        #4
        Re: Debian Linux Asset Specifics

        New simplified guide, using install scripts for Asset R6.6 and newer-
        Installing Installing is done through the Linux terminal command-line. For headless devices, install 'Putty' then connect to the device to access command-shell. Do determine which version of Asset is compatible with your system: uname -m Possible output: i686 : x86 32-bit x86_64 : x86 64-bit (x64) armv7, aarch64 : ARM

        Comment

        Working...

        ]]>