Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Using large uSD card for OS and music
#11
(10-18-2019, 08:01 PM)TheOldPresbyope Wrote: I know large-capacity uSD cards look attractive, but think about the logistics. Minor moOde updates can be done in-place but major moOde upgrades almost invariably involve flashing an new system image to the uSD card. This means first saving off all those music files before the upgrade and then copying them back after the upgrade is complete. Same is true if for any reason moOde gets borked and has to be reflashed.

In this regard, the RPi4B looks very attractive. Music can be stored without performance penalty on a large-capacity USB3 thumbdrive. It's no more expensive, it's more reliable, it's portable, and thanks to USB3 it's fast.

Just my 2-cents worth.

Regards,
Kent
Good advice, but I like the clean and compactness of the system without any extra USB flash drives. Especially with the Zero. (If could just get the zero to behave!)
Reply
#12
(10-18-2019, 08:38 PM)Meestor_X Wrote:
(10-18-2019, 07:59 PM)Cardone Wrote: Create a partition for mode and the rest on fat32 partition for music ..... Then that should go ....
Would I lose SMB or any other MoOde functionality if I did that?

It would be better to transfer your music to a usb-stick ...

Best regards
Reply
#13
(10-19-2019, 02:06 PM)Cardone Wrote:
(10-18-2019, 08:38 PM)Meestor_X Wrote:
(10-18-2019, 07:59 PM)Cardone Wrote: Create a partition for mode and the rest on fat32 partition for music ..... Then that should go ....
Would I lose SMB or any other MoOde functionality if I did that?

It would be better to transfer your music to a usb-stick ...

Best regards
I get that, but that wouldn't be my preference.
If I did the FAT32 partition, would I still have SMB functionality?
Reply
#14
(10-19-2019, 03:31 PM)Meestor_X Wrote:
(10-19-2019, 02:06 PM)Cardone Wrote:
(10-18-2019, 08:38 PM)Meestor_X Wrote:
(10-18-2019, 07:59 PM)Cardone Wrote: Create a partition for mode and the rest on fat32 partition for music ..... Then that should go ....
Would I lose SMB or any other MoOde functionality if I did that?

It would be better to transfer your music to a usb-stick ...

Best regards
I get that, but that wouldn't be my preference.
If I did the FAT32 partition, would I still have SMB functionality?

I did it that way ....

USB stick fat32 with music touches and connected in Raspberry Pi 3 b + and integrated via windows 7 ........
[attachment=824]
[attachment=825]
Reply
#15
(10-19-2019, 03:31 PM)Meestor_X Wrote:
(10-19-2019, 02:06 PM)Cardone Wrote:
(10-18-2019, 08:38 PM)Meestor_X Wrote:
(10-18-2019, 07:59 PM)Cardone Wrote: Create a partition for mode and the rest on fat32 partition for music ..... Then that should go ....
Would I lose SMB or any other MoOde functionality if I did that?

It would be better to transfer your music to a usb-stick ...

Best regards
I get that, but that wouldn't be my preference.
If I did the FAT32 partition, would I still have SMB functionality?

I assume you are talking about the uSD card.

In principle, creating and using a third partition on the uSD card for music storage is straightforward. 

In practice, there are a few gotchas in getting moOde to recognize the presence of the new partition and mount it in the correct place to be picked up by MPD and the Samba server...and to not stomp on it if the File System EXPAND button is clicked on the System Config page. To make the necessary revisions would require knowledge of Linux and of moOde's codebase.

Another gotcha is getting a non-Linux host to read/write to the file system in the third partition, which I assume is the reason you are pursuing this. I don't know about MacOS but Windows 10 even with the Windows Subsystem for Linux (WSL) installed is a P-I-T-A when it comes to multi-partition removable devices.

Candidly, I think you are better off sticking to the stock moOde partitions and finding a third-party app for your Mac or Windows host which can read/write to the second, ext4-formatted, partition. You would store your music in subdirectories under "/mnt/SDCARD", parallel to the existing "Stereo Test" subdirectory.

Regards,
Kent
Reply
#16
Another option would be to use a USB/uSD adapter and just plug it into moOde. The boot and rootfs partitions will be automatically mounted to /media. NOTE this only works with Udisks-glue, the default auto-mounter used by moOde for arm7 based Pi.

/media/boot
/media/rootfs

Then plug in a USB stick with music files or mount a NAS and then copy the files to:

/media/rootfs/mnt/SDCARD

Here's the adapter I use.
https://www.amazon.com/gp/product/B06XTQ...UTF8&psc=1
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
Thanks, everyone. I think the easiest solution will be an EXT4 reader/writer. I should be able to use this on my Windows VM or on my Windows laptop.
Reply
#18
In Win10 I formated the uSDCard FAT32 partition for the OS and the rest NTFS for the music.

On the Pi I see the following.

pi@moode:~ $ df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 3494720 3104248 216644 94% /
devtmpfs 769544 0 769544 0% /dev
tmpfs 901640 0 901640 0% /dev/shm
tmpfs 901640 26004 875636 3% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 901640 0 901640 0% /sys/fs/cgroup
/dev/mmcblk0p1 258095 53131 204964 21% /boot
/dev/mmcblk0p3 188400636 21806532 166594104 12% /media/Music__
tmpfs 180328 0 180328 0% /run/user/1000

I can browse the /media/Music__ folder and see the subfolders with FLAc files
but I can not see it in Moode player...

What am I doing wrong?

=======
Find it : the music-files are stored under USB and not under SDcard
Reply


Forum Jump: