Re: Asset UPnP for Raspberry pi
One of the Engineers at work helped me out with this.
http://unix.stackexchange.com/questi...-via-smbclient
Where someone had an issue with a mount -t command, "one has to add -sec=ntlm option. The problem (feature?) is introduced in recent kernels" which you get when you run the sudo apt-get update & sudo apt-get upgrade commands.
So the fstab entry needs to be revised to:
//192.168.1.3/media /home/pi/nas cifs guest,_netdev,sec=ntlm 0 0
where the ip address/directory is the main directory on your NAS for the music files.
In Asset you just need to add /home/pi/nas/Music which is the actual sub-directory for the music files.
Asset is all back and scanning again.
So if you update your Pi with the latest Kernel and patches and the CIFS mounts stop working, make this change in fstab.
Enjoy,
Simon
Asset UPnP for Raspberry pi
Collapse
This topic is closed.
X
X
-
Re: Asset UPnP for Raspberry pi
Started a new tryout by setting up Raspbian (the NOOB default installation from the raspberry.org website)
- used the installation link provided in the first post, followed the guide, there
- no problems installing. Straight forward and easy
- didn't even have to mount my NTFS USB drive, that holds the music (already mounted as /media/Music - "Music" was the name given to the drive when formatting it on my windows computer)
Some observations:
- Asset seems to scan the drive twice (after adding new files, after reboot), that was something, as far as I remember, we had under Windows some time during the development of Asset as well
- can't get the option "Dynamic Playlist count" to set to different values (always stays at 50, not matter what you choose). Hint: after logging in as root, I opened the .bin-file, that should hold this configuration and did not see any value corresponding/indicating such a value. Is it just missing there or is it set somewhere else? It's in the in the Windows world...
- in the Windows world, I was able to set a value for the number of entries displayed under "Playlist -> new albums" (I'd like to have more than 20 entries). Can't get that to work on the RPi, it's always 20
- album art is screwed up quite often: some albums have the albumart of a completely different album (even from a different artist!). My album art is embedded as well as resident as folder.jpg in the album's folder. Maybe related to songbook on my iPhone??? Can't tell...
- Links "restart Asset" and "rescan all" seem not to work on the setup webpage, nothing changes when clicking on them
Hope, this helps in developing it further :-)
Spoon, thanks for the work and have a merry christmas and a happy New Year!Last edited by dvdr; December 20, 2013, 12:30 PM.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
Hi, I need some help.
After successfully get Asset running on a Raspberry Pi, and then went and ran
sudo apt-get update
sudo apt-get upgrade
sudo rpi-update
to update my Pi (stupid move, in hindsight, should of left it alone)
Unfortunately now my mount to CIFs share containing the music tracks on my NAS doesn't work.
I get the following error
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
I have the following in /etc/fstab
//192.168.1.3/media /home/pi/nas cifs guest,_netdev 0 0
Asset is running but the /home/pi/nas directory has no entries, so nothing for Asset to access
Please help - either with corrections to my configuration or undoing the apt-get update, apt-get upgrade and rpi-upgrade processes.
Thanks,
Simon.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
Spoon, ok thanks. Is it your intent to port the very useful navigation menu editor and renderer specific options into the Pi version. Both of these features I am very fond of and have used quite extensively on the Windows version. The navigation menu editor is a real Asset differentiator and is a great feature.
BTW Plug Player returns a -119 Directory Read error when it connects to the Pi version of Asset. the regular version of Asset works fine.
SimonLast edited by Batleys; December 15, 2013, 09:28 AM.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
The trial, once used will not reset, we must wait for the full release.
It is likely the Pi version of Asset will be on its own license, although cheaper than the PC license.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
Spoon - can you advise the approach of the beta trial please. Is there to be a new beta that resets the trial 30 day period - or will the next version be a purchased licenced version. If its the latter - what will the arrangement be if one has already purchased Asset for another platform - ie Windows?
SimonLeave a comment:
-
Re: Asset UPnP for Raspberry pi
Hi, I'd just like to add to the other comments that the latest beta resolves all the scanning problems I was having too. Also, the progress of the scan is properly reported, which it didn't before.
Many thanks
ChrisLeave a comment:
-
Re: Asset UPnP for Raspberry pi
Asset for Raspberry cannot automatically monitor the indexed folders to instantly notice newly added tracks due to various technical limitations. However it will re-index the folders every 60 minutes.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
I have performed a full clear down a re-install and the new release seems to have resolved both the file indexing and the 'rescan all' issue.
Well done...excellent stuff.
One question, can I schedule the library to rescan on a regular basis or should it pick up new files as they appear upon a cifs share?
Thanks.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
Network scans still not working with NFS shares, so I've switched over to CIFS shares, problem solved.
Tho I can't see why one would work over the other? (Note - NFS shares worked in an earlier beta)Leave a comment:
-
Re: Asset UPnP for Raspberry pi
December 11th Update.
Pleased to report that this build seems a lot improved. The CIF (network share) library scan is now significantly faster, all the scan commands work correctly, the debug flag can be set and debug created - and all appears ok in the debug both UPnP and Library.
The only parameter that is not quite working correctly that I can see is the Dynamic Play list value - which remains at 50 no matter what value is set.
SimonLeave a comment:
-
Re: Asset UPnP for Raspberry pi
Thanks, Spoon. That did the trick. I switched to relative paths, and changed \ to /.Leave a comment:
-
Re: Asset UPnP for Raspberry pi
Playlists can have relative paths (ie playlist higher up the tree), see:
Leave a comment:
-
Re: Asset UPnP for Raspberry pi
Great! Latest update scanning and playing my library perfectly. Now, I just need a little help with playlists. I have some .m3u playlists with old paths, used when my collection was on my PC hard drive. Now that the playlist files are on the same HDD as the music attached to the Raspberry, I have manually edited the paths to the new paths (e.g. /media/usbhdd/Music/etc....) and added the playlist folder to the playlist watched folders. My upnp clients can see the playlists (and the tracks in the playlists) but they can't play the tracks. I'm sure it's my path format that is wrong. Any advice?Leave a comment:
-
Re: Asset UPnP for Raspberry pi
You're right, just found it.
ThanksLeave a comment:
Leave a comment: