illustrate
Products            Buy            Support Forum            Registrations            Professional            About           
 

Asset UPnP for Raspberry pi

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • dvdr
    replied
    Re: Asset UPnP for Raspberry pi

    Spoon
    did you by any chance have the time to look into the "softfloat"-issue? afaik, I am stuck with the softfloat-version, since I am in need for java, and the prebuilt image I am using (it's a quite common image here, after a tech-journal published a project to build a music player (HiRes music -> USB->SPDIF) based on the RPi). So a softfloat-compatible version of Asset would come quite handy to also use this project as a streaming server ...

    Leave a comment:


  • dvdr
    replied
    Re: Asset UPnP for Raspberry pi

    Originally posted by civiconfire
    So this currently only supports mounted usb storage? Will there be future support for NAS storage?
    You should be able to permanently mount your NAS following this guide I found and then use the last path as the media-path in Asset:

    Create a new folder named nas
    cd /home/pi
    sudo mkdir nas
    sudo chmod 777 nas

    Edit the /etc/fstab file:
    sudo nano /etc/fstab
    Add the following line:
    //192.168.1.xxx /home/pi/nas cifs guest,_netdev 0 0
    (replace 192.168.1.xxx with the actual IP-address of your nas)
    Mount the new drive:
    sudo mount /home/pi/nas
    Reboot your Raspberry PI:
    sudo reboot
    (just to make sure, maybe not necessary)
    set Assets scan-path to to /home/pi/nas (or, eventually to the subfolder you store your music in, such as /home/pi/nas/music ) and give it a go.

    Have not tested it at home, but it should work, it's a quite common way to mount a network-drive..


    You also could try to include a WOL (wake on Lan) script to start your NAS in case it's not running 24/7:

    install it on your raspberry using

    sudo aptitude install etherwake

    find the MAC address of your NAS using

    ifconfig

    edit the fstab file again (like above)

    sudo nano /etc/fstab

    and add the line

    sudo etherwake 00:00:00:00:00:00 (replace the numbers with the MAC-Address of your NAS)

    at the bottom of fstab and save the fstab-file

    Should do the trick: once you boot your Raspberry Pi, it shoul automatically wake your NAS as well (given, it supports WOL, of course)
    Last edited by dvdr; October 31, 2013, 08:03 AM.

    Leave a comment:


  • Batleys
    replied
    Re: Asset UPnP for Raspberry pi

    Hi - yes I have mounted a cifs share under /mnt. I have another upnp server, miniDLNA, than can see them and index them. But Asset just seems to fail to see them - (BTW I have tried with miniDLNA both active and inactive).
    Yes I can see the files using ls -al. I have mounted using root (sudo mount -a) , and so have owner root, but have universal read access.
    I have looked in /var/log and I guess you don't write anything there?
    Simon
    Last edited by Batleys; October 29, 2013, 12:51 PM.

    Leave a comment:


  • Spoon
    replied
    Re: Asset UPnP for Raspberry pi

    the user account which asset is running with, if you type ls -l /mnt/media/ does it list the files?

    ----------
    It is possible for the pi to mount network shares, I will add a how to shortly.

    Leave a comment:


  • Batleys
    replied
    Re: Asset UPnP for Raspberry pi

    Hi.. Can you point me to a log file on Asset please. I have created a readable directory under /mnt/media/ and copied files to that directory. I have set this as the media directory in Asset, but it's not detecting the media files.. am curious to see what is happening and why.
    Thanks
    Simon

    Leave a comment:


  • dvdr
    replied
    Re: Asset UPnP for Raspberry pi

    Originally posted by hugo5282
    I was wondering whether instead of usb flash drive would it work with an external HDD drive (say 2TB)?
    Thank you.
    I am sure it will- why shouldn't it, you just need to mount the external drive permanently (on my RPi, my mounted 1 TB USB-HDD has the path /mnt/usbhd and it works like a charm with MPod Player, so it must also work with Asset...)

    Leave a comment:


  • hugo5282
    replied
    Re: Asset UPnP for Raspberry pi

    Good day!

    Looks like an exciting development. I was wondering whether instead of usb flash drive would it work with an external HDD drive (say 2TB)?

    I am hoping to transcode ALAC to WAV with this.

    Thank you.

    Leave a comment:


  • civiconfire
    replied
    Re: Asset UPnP for Raspberry pi

    So this currently only supports mounted usb storage? Will there be future support for NAS storage?

    Great to see this is in development, I have been waiting a while for this!

    Leave a comment:


  • Spoon
    replied
    Re: Asset UPnP for Raspberry pi

    "Soft-float Debian Wheezy -- Nearly identical to Raspbian Wheezy, this version uses a soft-float application binary interface (ABI) rather than the hard-float of Raspbian, slowing performance, but allowing for compatibility with some specialty software that doesn't work with hard-float ABI."

    We look into our compiler settings to see if anything can be done, I think this version is not a popular one. It is possible we need the hard float.

    Leave a comment:


  • dvdr
    replied
    Re: Asset UPnP for Raspberry pi

    Spoon, we're getting closer...
    It says "ELF 32-bit LSB executable, ARM version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.26, ...... Not stripped)
    And as for the ldd command:
    "Not a dynamic executable"

    Followed your link, but another thread seemed to have an explanation (which wastoomuch for a linux novice like me):
    http://www.raspberrypi.org/phpBB3/vi...p?f=33&t=26429

    I am using a prebuilt image and installed things on top of it, so the only thing I know that I do have something like a softfloat wheezy....

    Leave a comment:


  • Spoon
    replied
    Re: Asset UPnP for Raspberry pi

    You are running raspbian as the OS for pi?

    you should be able to:

    file AssetUPnP

    and

    ldd AssetUPnP

    cd /usr/bin/asset/bin

    What output is shown for these, check this thread also, it is similar (where a program could not run):

    http://www.raspberrypi.org/phpBB3//v...p?f=53&t=41139

    Leave a comment:


  • dvdr
    replied
    Re: Asset UPnP for Raspberry pi

    Not working, still...
    I deleted the whole asset folder with rm -r asset
    reinstalled the Raspberry version
    looked into the bin-directory with the dir-command, AssetUPnP was there
    tried to also start it with the sudo-commanc, which just produced the same error message
    removed the file with the rm-command - it DID delete the file without error-messages
    looked into the bin-directory with the dir-command to confirm: AssetUPnP IS deleted

    So I assume, since the FILE itself IS there, that somehow, this file itself produces an error - or do we have a path error????? But then I guess I could not cd into all the directories inside /usr/bin/asset.
    btw.: I also did chmod 777 the file AssetUPnP (no complaints of not finding the file)....

    just to be on the sure side, I updated my Raspberry with apt-get update && apt-get upgrade (now I am running Debian 7 (wheezy))
    and the uname -rms command shows linux 3.6.11+ armv361
    and also updated the firmware with rpi-update
    and then installed Asset again.

    Still it will complain about not finding AssetUPnP - does this file have any dependencies, it needs, or does it internally refer to anything it needs but cannot find?
    Last edited by dvdr; October 27, 2013, 02:09 PM.

    Leave a comment:


  • Spoon
    replied
    Re: Asset UPnP for Raspberry pi

    Reinstall the Pi version, then:

    cd /usr/bin/asset/bin

    sudo ./AssetUPnP

    Does it run? if not:

    sudo rm abc

    It should say it cannot find the file abc

    sudo rm AssetUPnP

    does it delete the file (without saying it cannot find it)?

    Leave a comment:


  • dvdr
    replied
    Re: Asset UPnP for Raspberry pi

    Did exactly as you said:
    I do see
    -rwxr-xr-x 1 pi pi 2513224 Okt 21 21:57 AssetUPnP

    when I try to start it with ./AssetUPnP

    I do get the error message
    -bash ./AssetUPnP: Datei oder Verzeichnis nicht gefunden (which translated means "cannot find file oder folder".

    I did delete the asset directory and started from scratch: same issue
    I deleted the asset directory and tried it with your debian x86 version, just to see: there, the error message was "cannot execute the program" which for me means, that RPi can find the file there, but of course not exexute it since it is not compiled for the RPi...
    So, what's your suggestion to try?

    Leave a comment:


  • Spoon
    replied
    Re: Asset UPnP for Raspberry pi

    do:

    cd /usr/bin/asset/bin

    then:

    ls -l

    you should see AssetUPnP

    when you are in this folder:

    ./AssetUPnP

    should start it

    Leave a comment:

Working...