Commit graph

995 commits

Author SHA1 Message Date
Julien Maille
1aaf2dfd46 Fix API instances settings list rendering for object entries 2026-02-22 21:26:59 +01:00
Eduard Prigoana
7c4e1ec6e7
Update editors-picks.json 2026-02-22 20:51:48 +02:00
gpulch
8a17bddbc3 feat: add MP3 320kbps download option with ffmpeg.wasm
Implements MP3 320kbps download functionality using ffmpeg.wasm for
industry-standard encoding with libmp3lame.

Features:
- New MP3_320 quality option in download settings UI
- ID3v2.3 metadata writing (title, artist, album, cover art, ISRC, etc.)
- Non-blocking encoding via Web Worker to keep UI responsive
- Proper UTF-16 with BOM text encoding for international characters
- Album artist fallback to track artist (mirrors FLAC/M4A behavior)
- Automatic format detection for downloaded audio
- Year validation to prevent writing NaN to ID3 tags

Implementation:
- mp3-encoder.js: Main encoder module with worker orchestration
- mp3-encoder.worker.js: FFmpeg Web Worker for async encoding
- id3-writer.js: ID3v2.3 tag writer with synchsafe size encoding
- Updates to api.js, metadata.js, utils.js for MP3 support
- Vite config excludes @ffmpeg packages from dep optimization

Technical details:
- Uses @ffmpeg/ffmpeg (libmp3lame 320kbps CBR, 44.1kHz)
- FFmpeg binary lazy-loaded from CDN (~25MB, cached)
- Encoding runs in separate thread (non-blocking UI)
- Proper error handling with distinct encoding vs network errors
- Memory-efficient: transfers ArrayBuffer with zero-copy

Dependencies:
- @ffmpeg/ffmpeg ^0.12.10
- @ffmpeg/util ^0.12.1
- Removed: package-lock.json (project uses bun.lock)

Closes maintainer request to use ffmpeg.wasm instead of lamejs.
2026-02-22 19:13:03 +01:00
Eduard Prigoana
ac8957ada3
Update README.md 2026-02-22 19:27:28 +02:00
Eduard Prigoana
e941d3ebfa
change max size to 100mb as thats the maximum allowed by CF workers 2026-02-22 18:21:55 +02:00
EduardPrigoanaAlt
6b55fd4c7a style: auto-fix linting issues 2026-02-22 15:47:05 +00:00
Eduard Prigoana
4f35e319b7
Merge pull request #230 from GooglyBlox/feat/full-artist-metadata
feat(metadata): Add all artists to metadata
2026-02-22 17:46:45 +02:00
GooglyBlox
747f50f564 feat: add all artists to metadata 2026-02-21 18:31:43 -08:00
Julien Maille
c1973e81ff Shuffle full artist discography instead of artist radio 2026-02-22 00:57:42 +01:00
JulienMaille
651f4282e5 style: auto-fix linting issues 2026-02-21 23:33:29 +00:00
Julien Maille
bf346f756e Add multi-disc ZIP folders and fix playlist extension paths 2026-02-22 00:32:45 +01:00
Julien Maille
400197aabc Write disc number metadata for FLAC and M4A downloads 2026-02-21 23:52:33 +01:00
Julien Maille
91ecca534b Fix mobile scroll container to restore browser URL bar collapse 2026-02-21 23:51:27 +01:00
Julien Maille
888703f18b fix: resolve persistent labels 2026-02-21 23:42:45 +01:00
Julien Maille
73b9867d4b FIX: tooltip and css issues 2026-02-21 23:33:30 +01:00
Samidy
77d99245c8 feat(artists): artists socials 2026-02-22 01:04:02 +03:00
SamidyFR
87a8368fc3 style: auto-fix linting issues 2026-02-21 19:58:57 +00:00
Samidy
8cd9f782ba
Merge pull request #228 from Sietse2202/patch-1
fix(player): Uniform shuffle
2026-02-21 22:58:37 +03:00
Sietse
1f13e34249
fix(player): Uniform shuffle
Replaces the current naive solution with Fisher-Yates
2026-02-21 20:53:42 +01:00
EduardPrigoanaAlt
9e55593d79 style: auto-fix linting issues 2026-02-21 17:23:40 +00:00
Eduard Prigoana
19b5cc5b1d
session cookies for chunked uploads 2026-02-21 19:23:18 +02:00
EduardPrigoanaAlt
bb427facf4 style: auto-fix linting issues 2026-02-21 17:19:46 +00:00
Eduard Prigoana
545fa80734
Update upload.js to allow chunked uploads 2026-02-21 19:19:21 +02:00
EduardPrigoanaAlt
812178e3f3 style: auto-fix linting issues 2026-02-21 16:49:15 +00:00
Eduard Prigoana
8c77b18073
Update upload.js 2026-02-21 18:48:51 +02:00
Eduard Prigoana
3528b49d64
Update upload.js 2026-02-21 18:19:50 +02:00
Eduard Prigoana
b05166efa5
Merge pull request #225 from cuckium/main
Use live Workers that actively fetch APIs in favour of static instances.json
2026-02-21 16:59:52 +02:00
binimum
1188a2dcce style: auto-fix linting issues 2026-02-21 14:57:44 +00:00
binimum
5c6c342c64
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-02-21 14:56:58 +00:00
binimum
01309a9a15
Change instances.json in favour of Workers which have live API uptime 2026-02-21 14:56:55 +00:00
Eduard Prigoana
530e158d11 cors+more file types for uploads 2026-02-21 14:09:46 +00:00
Julien Maille
acf64cbc17 fix: prevent home page double refresh and improve artist name extraction in album cards 2026-02-21 14:17:46 +01:00
Eduard Prigoana
b62f4144ac this gotta work bro 2026-02-21 13:14:29 +00:00
Eduard Prigoana
8c1b009705
pls work 2026-02-21 14:10:24 +02:00
Eduard Prigoana
cd7db67d44
Update upload.js 2026-02-21 14:04:33 +02:00
EduardPrigoanaAlt
286a3e36d9 style: auto-fix linting issues 2026-02-21 11:37:37 +00:00
Eduard Prigoana
497f2cfab6
Update upload.js 2026-02-21 13:37:18 +02:00
Eduard Prigoana
1783d7b135
Update upload.js 2026-02-21 13:31:27 +02:00
EduardPrigoanaAlt
5fe3a7068a style: auto-fix linting issues 2026-02-21 11:27:11 +00:00
Eduard Prigoana
2a05de8b34
Update upload.js 2026-02-21 13:26:49 +02:00
JulienMaille
384dd867cd style: auto-fix linting issues 2026-02-21 10:35:52 +00:00
Julien Maille
43a6e17df9 FIX: search history 2026-02-21 11:35:27 +01:00
Julien Maille
baec739b01 IMP: viz performances 2026-02-21 11:33:08 +01:00
Julien Maille
2bd42fc202 feat: add ISRC and copyright metadata support for M4A downloads 2026-02-21 10:30:17 +01:00
Julien Maille
3cab0926e4 Avoid skipping tracks when autoplay is blocked
# Conflicts:
#	js/player.js
2026-02-21 10:30:17 +01:00
Julien Maille
0d16ea28a8 Avoid skipping tracks when autoplay is blocked 2026-02-21 01:12:54 +01:00
Julien Maille
d84b30bc84 Fix album card play button overflow on mobile 2026-02-21 01:02:00 +01:00
Samidy
1108a44df9 Merge branch 'main' of github.com:monochrome-music/monochrome 2026-02-21 02:32:04 +03:00
Samidy
07376b7d55 fix(track pages): fix these idiots not loading 2026-02-21 02:30:41 +03:00
Samidy
8c79e69382 feat(search): search recs in queue 2026-02-21 02:30:03 +03:00