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

Thread: Asset UPnP for Linux instructions - x86, Raspberry Pi

  1. #1
    Super Moderator
    Join Date
    Jul 2011
    Posts
    947

    Asset UPnP for Linux instructions - x86, Raspberry Pi

    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:
    Code:
    uname -m
    Possible output:
    • i686 : x86 32-bit
    • x86_64 : x86 64-bit (x64)
    • armv7, aarch64 : ARM (Raspberry Pi)


    Create and enter a folder in which Asset will be downloaded an extracted:
    Code:
    mkdir ~/Asset-Install
    cd ~/Asset-Install
    To simplify the process, all listed download commands produce a file named asset.tar.gz

    Downloading Asset, free version:
    Execute one of the following, depending on your machine type:
    Code:
    wget https://www.dbpoweramp.com/install/AssetUPnP-Linux-x86.tar.gz -O asset.tar.gz
    wget https://www.dbpoweramp.com/install/AssetUPnP-Linux-x64.tar.gz -O asset.tar.gz
    wget https://www.dbpoweramp.com/install/Asset-RaspberryPi.tar.gz -O asset.tar.gz
    Downloading Asset, registered version:
    Replace 123456789 with your order number
    Raspberry Pi:
    Code:
    wget http://secure.dbpoweramp.com/downloadorder.aspx?ordernum=123456789 -O asset.tar.gz
    x86 32-bit:
    Code:
    wget http://secure.dbpoweramp.com/downloadorder.aspx?product=1&ordernum=123456789 -O asset.tar.gz
    x86 64-bit:
    Code:
    wget http://secure.dbpoweramp.com/downloadorder.aspx?ordernum=123456789 -O asset.tar.gz
    Installing:
    Extract the downloaded archive - a folder named Asset-<versiondetails> will be created.
    Enter the folder and execute INSTALL.sh:
    Code:
    tar xzf asset.tar.gz
    cd Asset-*
    ./INSTALL.sh
    Further details will be shown on screen. When finished, Asset will be running and configured to automatically start on system startup.
    To access Asset configuration, type the following URL into your web browser:
    Code:
    http://x.x.x.x:45537/
    ... replacing x.x.x.x with the IP address of your Linux system.
    If you don't know the IP address, type ifconfig into terminal and look for IP address under eth0 / inet.

    When done, the Asset-Install folder is no longer needed and can be deleted:
    Code:
    rm -rf ~/Asset-Install
    Upgrading
    Follow the instructions above. The INSTALL.sh script will upgrade from an older version to newer automatically.

    Trial and registered versions:
    Registered status is always retained when upgrading. If you install a registered version once, you can then update it with trial or beta packages; they will all function as registered.

    Uninstalling
    Use the included UNINSTALL.sh script. If you've deleted the Asset-Install folder, you can follow the install procedure above with free version of Asset and run UNINSTALL.sh instead of INSTALL.sh
    Last edited by PeterP; 07-10-2020 at 01:29 PM.

  2. #2
    Super Moderator
    Join Date
    Jul 2011
    Posts
    947

    Addendum

    Migrating from old installs
    If you have set up Asset to run root crontab through the previous version of this guide:
    First, remove Asset from the root crontab:
    Code:
    sudo crontab -l | fgrep -v AssetUPnP > /tmp/crontab-asset.txt
    sudo crontab /tmp/crontab-asset.txt
    rm /tmp/crontab-asset.txt
    Remove the old Asset application files:
    Code:
    sudo rm -rf /usr/bin/asset
    The old way of installing left Asset running as root user. The profile data resides in root home folder.
    If you wish to retain the old settings, move the old profile to your home folder from root's home folder, and change the owner (chown) from root to your user account:
    Code:
    export MYUSER="$USER"
    export MYHOME="$HOME"
    su
    mv ~/.dBpoweramp "$MYHOME/.dBpoweramp"
    chown -R "$MYUSER" "$MYHOME/.dBpoweramp"
    exit
    Note: you may need to enter root password after su.

    Now proceed with the install instructions above.
    Last edited by PeterP; 07-11-2020 at 07:02 AM.

  3. #3
    Super Moderator
    Join Date
    Jul 2011
    Posts
    947
    Storing your Asset profile in another location

    Asset's profile data, by default stored in ~/.dBpoweramp, can grow pretty huge as it stores a cache of all your album covers.

    If your home folder is space-restricted, which happens on some embedded systems or NAS boxes, you can have have it stored 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, 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
    If you installed Asset using INSTALL.sh, edit your crontab with:
    Code:
    crontab -e
    Last edited by PeterP; 07-11-2020 at 03:21 AM.

Posting Permissions

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