Thank you for your donation!


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


Introducing pleezer: a Deezer Connect player
#71
Cool

Following from this morning: for lossy formats I could report "32 bit", because that's what the decoder is working in then. While technically correct, I think it would only confuse users.
maintainer of librespot and pleezer, working on a qobuz connect player. sponsor me: https://github.com/sponsors/roderickvd
Reply
#72
Agree. Best to leave it at 16
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#73
I see we have to set login password in the config.
Does that means that only the user with the right account can connect to? With Spotify, anybody with a premium/family suscription can play on a shared connector.
Reply
#74
Correct. The Deezer Connect protocol does not have that feature - not a shortcoming of pleezer.
maintainer of librespot and pleezer, working on a qobuz connect player. sponsor me: https://github.com/sponsors/roderickvd
Reply
#75
I just released v0.15.0 with a new command-line option that I think is very interesting to Raspberry Pi users: "--max-ram <MB>".

Quote:--max-ram: Maximum RAM (in MB) to use for storing audio files in memory. If not specified or if a track exceeds this limit, temporary files will be used. Example:
   pleezer --max-ram 64  # Store tracks in RAM if under 64MB

   As a guide for sizing:
   - For 320 kbps MP3: ~15MB for a typical 5-minute track
   - For FLAC: ~30-50MB for a typical 5-minute track

   Consider allowing at least double these amounts to accommodate both current and preloaded tracks. For example, --max-ram 100 should comfortably handle most MP3 tracks, while --max-ram 200 would handle most FLAC tracks.

Before, tracks were always stored in temporary files. Storing in RAM should greatly improve SD card lifetime.
maintainer of librespot and pleezer, working on a qobuz connect player. sponsor me: https://github.com/sponsors/roderickvd
Reply
#76
Cool.

Regards,
Kent
Reply
#77
(04-10-2025, 07:04 PM)roderickvd Wrote: I just released v0.15.0 with a new command-line option that I think is very interesting to Raspberry Pi users: "--max-ram <MB>".

Quote:--max-ram: Maximum RAM (in MB) to use for storing audio files in memory. If not specified or if a track exceeds this limit, temporary files will be used. Example:
   pleezer --max-ram 64  # Store tracks in RAM if under 64MB

   As a guide for sizing:
   - For 320 kbps MP3: ~15MB for a typical 5-minute track
   - For FLAC: ~30-50MB for a typical 5-minute track

   Consider allowing at least double these amounts to accommodate both current and preloaded tracks. For example, --max-ram 100 should comfortably handle most MP3 tracks, while --max-ram 200 would handle most FLAC tracks.

Before, tracks were always stored in temporary files. Storing in RAM should greatly improve SD card lifetime.

Nice :-)

Where is the default on-disk location for tracks?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#78
(04-10-2025, 09:30 PM)Tim Curtis Wrote: Where is the default on-disk location for tracks?

Default system temporary directory, so /tmp.

This is also the case for librespot, although I remember I made it a command-line option to choose another temporary directory. RAM storage I did not implement in librespot.
maintainer of librespot and pleezer, working on a qobuz connect player. sponsor me: https://github.com/sponsors/roderickvd
Reply
#79
(04-11-2025, 08:31 AM)roderickvd Wrote:
(04-10-2025, 09:30 PM)Tim Curtis Wrote: Where is the default on-disk location for tracks?

Default system temporary directory, so /tmp.

This is also the case for librespot, although I remember I made it a command-line option to choose another temporary directory. RAM storage I did not implement in librespot.

The /tmp dir at least on PiOS is mounted by systemd as type tmpfs which AFAIK is a RAM based file system.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#80
(04-11-2025, 10:13 AM)Tim Curtis Wrote: The /tmp dir at least on PiOS is mounted by systemd as type tmpfs which AFAIK is a RAM based file system.

On my moOde install it seems mounted on the SD card:

Code:
roderick@headphones:~ $ findmnt -T /tmp
TARGET SOURCE         FSTYPE OPTIONS
/      /dev/mmcblk0p2 ext4   rw,noatime

If it were tmpfs, then yes that would also work well to save the SD card.
maintainer of librespot and pleezer, working on a qobuz connect player. sponsor me: https://github.com/sponsors/roderickvd
Reply


Forum Jump: