Commit graph

1017 commits

Author SHA1 Message Date
Simone Ianniciello
56f8620505 feat(player): use @capgo/capacitor-media-session for android compatibility 2026-04-10 17:25:10 +02:00
binimum
4394cce61d style: auto-fix linting issues 2026-04-08 21:20:29 +00:00
binimum
d35c15370e
fix: temporarily disable video artwork at maintainer's request 2026-04-08 22:19:49 +01:00
Samidy
d1aee9dc2c Remove Mossad tracking software (why THE FUCK were we tracking everything) 2026-04-08 23:19:42 +03:00
Samidy
b8818e73c9
im such a fat chud
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2026-04-08 22:12:58 +03:00
SamidyFR
558df133e1 style: auto-fix linting issues 2026-04-08 18:57:24 +00:00
windbus
07efefff1c Refactor status rendering to fix XSS 2026-04-08 20:53:42 +02:00
Samidy
3fbd4492db Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-08 20:16:50 +03:00
Samidy
efbd16c1f0 let genius annotation feature work in .tf 2026-04-08 20:16:46 +03:00
a
96f670affb
fix scrolling (#533) 2026-04-08 12:41:44 -04:00
tezvii
b40fc4617e
Added await to player.toggleRepeat 2026-04-07 19:41:15 +03:00
tezvii
893138e15b
Add async and await to repeatBtn 2026-04-07 19:40:08 +03:00
Samidy
020176167e Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-06 22:49:18 +03:00
Samidy
6e3ae8a04e update workers link so no more limits 2026-04-06 22:49:15 +03:00
a
1edbcc454e
fix: enable mobile fullscreen visualizer (#517) 2026-04-06 15:15:20 -04:00
SamidyFR
9d1e957f54 style: auto-fix linting issues 2026-04-06 16:56:49 +00:00
Samidy
91d69b4e1a Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-06 19:56:04 +03:00
Samidy
db20643a61 feat(reviews): detailed critics reviews 2026-04-06 19:56:01 +03:00
Nohan-V2
2fac783542 Handle NaN in numeric settings parsing
Replace usages of parseFloat(... ) || default and parseInt(... ) || default with explicit parse + isNaN checks to avoid treating valid numeric zeros as falsy. Changes in js/settings.js and js/storage.js update parsing for replayGain preamp, playback speed, scrobble percentage, equalizer band count, and font size so only NaN triggers the fallback value and valid 0 values are preserved.
2026-04-06 18:34:04 +02:00
SamidyFR
77ffff3a85 style: auto-fix linting issues 2026-04-06 15:54:39 +00:00
Alan Brooks
4dba288592 fix: honor selected visualizer & fix scrollbar bug and lyrics shortcut bug 2026-04-06 11:50:48 -04:00
Samidy
704074d275 Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-06 15:55:34 +03:00
Samidy
d7642ff78e test: Add first row of tests for the site 2026-04-06 15:55:30 +03:00
SamidyFR
b3145c5c3e style: auto-fix linting issues 2026-04-06 11:50:34 +00:00
Samidy
e59e14fdb6
Gracefully handle no Critic Reviews yet 2026-04-06 14:49:53 +03:00
ap5z
d031c44a40 style: auto-fix linting issues 2026-04-06 03:47:25 +00:00
a
f2135cc455
fix: visualizer bugs and better mobile support (#509)
* Refine fullscreen player to look more like apple music

* fix: buttons when in visualizer only mode

* fix: mobile sizing

* Update styles.css

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update js/ui.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* feat: refine fullscreen apple player

* fix: add lyrics toggle for mobile

* add lyrics toggle for mobile

* wrong branch oops 😭

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-05 23:46:50 -04:00
Alan Brooks
41f6467299 wrong branch oops 😭 2026-04-05 23:45:46 -04:00
Alan Brooks
daa553488f add lyrics toggle for mobile 2026-04-05 23:41:34 -04:00
Alan Brooks
4dd3ec1a0c fix: add lyrics toggle for mobile 2026-04-05 23:03:59 -04:00
Alan Brooks
a09f0cc356 Merge origin/fullscreen-apple into fullscreen-apple 2026-04-05 22:50:14 -04:00
Alan Brooks
8a567ab816 Merge upstream/main into fullscreen-apple 2026-04-05 22:47:56 -04:00
Alan Brooks
2573870004 feat: refine fullscreen apple player 2026-04-05 22:37:10 -04:00
binimum
bc004d3dc4
fix: refine image size logic and update build configuration for better performance 2026-04-05 18:49:23 +00:00
binimum
f3b9cfd2f0 style: auto-fix linting issues 2026-04-05 17:22:39 +00:00
binimum
10b7afc36e
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-05 17:21:55 +00:00
binimum
995906f572
refactor: optimize image loading and enhance performance
- Removed unnecessary preconnect link to jsDelivr in index.html.
- Added lazy loading to contribs in app.js for improved performance.
- Implemented dynamic loading of am-lyrics and shaka based on image loading status to reduce lcp
- Introduced waitForImagesLoading function in player.js to ensure all images are loaded before initializing the player
- Enhanced image loading attributes in ui.js to include fetchpriority based on loading strategy.
- Updated package.json to include vite-plugin-purgecss for CSS optimization
- Configured Vite to use purgecss and enabled tree-shaking in vite.config.ts to reduce bundle size
2026-04-05 17:21:10 +00:00
edideaur
a73a7f11cb style: auto-fix linting issues 2026-04-05 17:13:07 +00:00
a
ea330dee98 Update js/ui.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-05 20:12:29 +03:00
Alan Brooks
85d198c8c3 fix: mobile sizing 2026-04-05 20:12:29 +03:00
Alan Brooks
9d1e4871e2 fix: buttons when in visualizer only mode 2026-04-05 20:12:29 +03:00
Alan Brooks
2bb06f1159 Refine fullscreen player to look more like apple music 2026-04-05 20:12:29 +03:00
trentisiete
ef2edefc4c fix: normalize artist ID comparison to handle string/number types 2026-04-05 20:11:41 +03:00
trentisiete
fbe101050a fix: filter albums and tracks by artist ID to prevent showing wrong same-name artists 2026-04-05 20:11:41 +03:00
Daniel
3ecaa3c74a Add typed interfaces for HiFi.ts route returns 2026-04-05 20:08:08 +03:00
tryptz
388a2b81a6 style: auto-fix linting issues 2026-04-05 20:07:39 +03:00
tryptz
da6c2e2dd9 fix: address CodeRabbit review issues from PR #502
Android:
- Fix stale wake lock detection by checking isHeld() before reacquiring
- Wrap startForegroundService in try-catch to handle launch exceptions
- Add START/STOP intent actions to prevent stop/start race condition

HTML/Accessibility:
- Convert preset and preamp spans to proper <label> elements
- Add aria-controls to database collapse button
- Sync aria-expanded state when toggling database panel

JavaScript:
- Guard auto-resume with source check to avoid resuming when not playing
- Add _calculateQ() fallback in fast-path EQ filter updates
- Persist graphic EQ gains and preamp to storage from setters
- Include 'legacy' in EQ mode restoration check
- Clear container before rebuilding GEQ bands for idempotency
- Use AbortController for document-level listener cleanup
- Apply gain calculation for non-parametric modes in touch snap
- Validate stored GEQ values are finite numbers

CSS:
- Remove non-standard appearance: slider-vertical property
2026-04-05 20:07:39 +03:00
tryptz
bd70b81a39 fix: EQ toggle not disabling audio filters when turned off
setEQMode() was unconditionally setting isEQEnabled = true, overriding
the user's toggle state. Now respects equalizerSettings.isEnabled().
Also fixed the toggle handler to properly disable the graphic EQ chain
in legacy mode.
2026-04-05 20:07:39 +03:00
tryptz
d09e3aa72a feat: AutoEQ, speaker EQ enhancements, and audio performance fixes
- Add 16-band graphic equalizer with legacy EQ mode
- Add speaker measurement and room correction EQ
- Fix audio skipping with AutoEQ on Android background
- Improve audio performance to prevent skipping under CPU load
- Fix dual EQ applied when switching between legacy and parametric modes
- Remove redundant Equalizer settings tab
- Improve mobile EQ band layout and collapsible database section
2026-04-05 20:07:39 +03:00
Samidy
c58815b312 _blank BS 2026-04-05 20:05:35 +03:00