11-09-2022, 08:58 PM
(11-09-2022, 08:44 PM)5-pot-fan Wrote: I built a new copy of 8.2.2 on a new SDcard. Attached my regular disk, which is a 2Tb hard disk mounted in a dock, connecting to the Rpi4/4Gb via USB. I created a NAS disk, entered the disk access details, completed other details, updated the library, etc. Using Tag view everything was duplicated. On checking the disks information I found a NAS and a USB.
Reasoning that the NAS disk was partly to blame I deleted the NAS dsk (I thought), disconnected the USB drive, rebuilt a null library, re-attached the USB disk, made no moves to create a new music source, rebuilt the library. In Tag view this time there were no duplicates - seemed good!
At a later point I rebooted the Pi. Accessing Folder view later I saw a USB disk and a NAS. Looking in Create Music I saw a disk with a name - the same as the one I had previously deleted.
However, there is still no file duplication in Tag view.
My questions:
What is the correct approach to creating a music source?
Does a USB disk get attached/created automatically ?(it seems so)
Is there any reason to create a NAS if a USB disk is attached?
What is the proper way to remove a disk?
Thanks for any help.
The correct way (for a USB device, anyway) is to attach it to the Pi, then do a library rebuild, or update.
A NAS, OTOH, is a Network-Attached-Device, which you access via your LAN, so in your case the NAS was not only unnecessary, but indeed was the source of duplication...
To remove a disc... well, when I need to move few GB on my 1TB SSD (which via LAN would take several minutes...), I simply disconnect it from moOde (well, I first, eventually, stop playback...), copy the files, reattach it, and do a library update; although the drive is mounted r/w, moOde (AFAIK) does not write anything to it, so it is safe to hot-plug/unplug, provided at least it is not being read, that is, mpd is not playing files from it.
Cheers, Al.