title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Raspberry Pi Asset Specifics

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

    Raspberry Pi Asset Specifics

    Asset UPnP is now available on the Raspberry pi, this cheap $25 computer is ideal to run a lightweight UPnP server that is totally silent, pair with a USB flash disk

    We have tested against Raspbian, on the Model B pi.

    Installation details

    Code:
    Log-in to the pi (login: pi   password: raspberry)
    
    Create a folder for Asset: 
    
    cd /usr/bin
    sudo mkdir asset
    sudo chmod 777 asset
    cd asset
    
    Transfer the downloaded Asset from the registration link in your receipt email to the pi to the /usr/bin/asset   folder.
    
    extract it:
    
    tar -zxvf *.gz
    rm *.gz
    
    Run Asset:
    
    cd /usr/bin/asset/Asset-Rx.x-Linux-ARM32-registered/bin                 (note replace x.x with version number)
    ./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:
    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-Rx.x-Linux-ARM32-registered/bin/AssetUPnP
    (note replace x.x with version number)
    
    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)
    Mounting a USB Flash disk

    Code:
    Look for the drive:
    
    sudo fdisk -l
    
    It will most likely be called sda1
    
    Make a folder for this drive:
    
    sudo mkdir /media/usbflash
    
    and mount:
    
    sudo mount -t vfat -o rw /dev/sda1 /media/usbflash/
    
    Check files can be read:
    
    ls -l /media/usbflash/
    
    Then on Asset configuration page set the path as /media/usbflash/
    
    To make so this flash disc is automatically added on reboot:
    
    sudo nano /etc/fstab 
    
    and add the line:
    
    /dev/sda1      /media/usbflash     vfat   defaults   0     0
    
    (to save CTRL + X, Y to save)
    Mounting a CIFS (SMB / Windows) Network Share

    In order to get network shares indexed by Linux version of Asset, you must first get the network shares mounted by the Linux operating system. SMB network shares (commonly also referred to as Windows shares) are handled by CIFS component of Linux. Please make sure that relevant package is installed. For an example, on Debian,




    Configuration data location

    The configuration files for Asset are stored: ~/.dBpoweramp
    Last edited by Spoon; 02-20-2021, 09:44 PM. Reason: Linked new network share guide
    Spoon
    www.dbpoweramp.com
  • PeterP
    Super Moderator
    • Jul 2011
    • 1365

    #2
    Re: Raspberry Pi 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...

    ]]>