Moode Forum
Introducing pleezer: a Deezer Connect player - Printable Version

+- Moode Forum (https://moodeaudio.org/forum)
+-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8)
+--- Thread: Introducing pleezer: a Deezer Connect player (/showthread.php?tid=7116)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: Introducing pleezer: a Deezer Connect player - roderickvd - 01-20-2025

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.


RE: Introducing pleezer: a Deezer Connect player - Tim Curtis - 01-20-2025

Agree. Best to leave it at 16


RE: Introducing pleezer: a Deezer Connect player - mathieuruellan - 03-09-2025

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.


RE: Introducing pleezer: a Deezer Connect player - roderickvd - 03-09-2025

Correct. The Deezer Connect protocol does not have that feature - not a shortcoming of pleezer.


RE: Introducing pleezer: a Deezer Connect player - roderickvd - 04-10-2025

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.


RE: Introducing pleezer: a Deezer Connect player - TheOldPresbyope - 04-10-2025

Cool.

Regards,
Kent


RE: Introducing pleezer: a Deezer Connect player - Tim Curtis - 04-10-2025

(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?


RE: Introducing pleezer: a Deezer Connect player - roderickvd - 04-11-2025

(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.


RE: Introducing pleezer: a Deezer Connect player - Tim Curtis - 04-11-2025

(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.


RE: Introducing pleezer: a Deezer Connect player - roderickvd - 04-11-2025

(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.