Commit graph

1124 commits

Author SHA1 Message Date
Admin
431af4bb09 fix: route stream segments through Go proxy in dev mode, reject Tidal PREVIEW (30s demo)
Some checks failed
Lighthouse / lighthouse (push) Failing after 2s
Lint Codebase / lint (push) Failing after 4s
Run Tests / test (push) Failing after 3s
2026-05-18 15:31:47 +07:00
Admin
5bb63e6e2a Add self-hosted Tidal proxy server and integrate token forwarding 2026-05-18 12:28:03 +07:00
Admin
cf718f3ff2 Working proxy integration with api.zarz.moe and lossless quality enforcement 2026-05-18 12:12:46 +07:00
Khoa Vo
6cd0549cdc fix: Add local cors proxy option and improve proxy rotation 2026-04-27 18:34:50 +07:00
Khoa Vo
7da10fb2c3 feat: Add rotating proxy with health check, fix CORS for localhost, update extension 2026-04-27 17:51:09 +07:00
windbus
070abc712d Update js/settings.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-27 09:02:46 +03:00
windigerbus
b9fb5a335d fix ai slop 2026-04-27 09:02:46 +03:00
windbus
b70d04c2c7 does this count as vibecoding
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2026-04-27 09:02:46 +03:00
windigerbus
ad1915e510 fix formatting part 2 2026-04-27 09:02:46 +03:00
windigerbus
6e3dc47c0c add cd thing kinda cool 2026-04-27 09:02:46 +03:00
Dorian Gironde
049c0cf83e fix(lyrics): gate japanese font stack with :lang(ja), fix dead rules 2026-04-27 09:01:48 +03:00
Dorian Gironde
00226e8d63 fix(lyrics): render japanese kanji with correct jp glyphs 2026-04-27 09:01:48 +03:00
Dorian Gironde
37b7cf84d9 fix(lyrics): render Japanese kanji with correct JP glyphs (#571) 2026-04-27 09:01:48 +03:00
root
f55c637ca4 fix shaka preload handoff race 2026-04-27 08:59:16 +03:00
root
bd68c92a90 fix review comments on playback handoff 2026-04-27 08:59:16 +03:00
root
60b41a9635 fix mobile background gapless playback 2026-04-27 08:59:16 +03:00
hateweb
5bcf2de3b5 fixed m4a metadata writing artists into the wrong tags 2026-04-27 08:58:42 +03:00
p1nkhamster
977c7d0483 fix(hifi): use Tidal v2 API for artist biography
The v1 endpoint (api.tidal.com/v1/artists/{id}/bio) returns 404.
Switch getArtistBiography to the v2 OpenAPI endpoint with
include=biography, extracting the biography from the included
resources in the JSON:API response.

Also restore text and source on JsonApiIncludeAttributes, which
were dropped when the v2 artist fix was reverted in b528720.
2026-04-24 11:51:27 +02:00
Samidy
517e35cf87 Merge branch 'main' of github.com:monochrome-music/monochrome 2026-04-24 01:21:21 +03:00
Samidy
f3db709bdd nvm 2026-04-24 01:21:18 +03:00
Samidy
a84a983bb7
Merge pull request #613 from atvalerie/main
fix: use /trackManifests instead of /track
2026-04-24 00:31:04 +03:00
Samidy
0b4f5ab8a9 shit 2026-04-24 00:30:45 +03:00
Valerie
3fc77e776b
Merge branch 'monochrome-music:main' into main 2026-04-23 23:25:16 +02:00
Valerie
c2f3d3b34e fix: use /trackManifests instead of /track because /track is broken
3 big booms
2026-04-23 23:23:56 +02:00
Samidy
fb97f39a51 Add Notice 2026-04-24 00:12:23 +03:00
uimaxbai
00bb06448d Replace old tidal-uptime workers.dev URLs with geeked.wtf
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 20:28:27 +01:00
Samidy
a3580a9098 PLEASE let this fix it dude 2026-04-23 01:56:11 +03:00
uimaxbai
52b1bb946a yet another preventative fix 2026-04-22 22:16:15 +01:00
uimaxbai
134cd05113 should fix stuff 2026-04-22 21:53:51 +01:00
uimaxbai
e2ffbf904f just fix that semicolon 2026-04-22 21:41:53 +01:00
uimaxbai
e1f45071e4 Revert "Enable AudioContext and proxy for all users, not just extension users"
This reverts commit 7b8a6e6cab.
2026-04-22 21:34:29 +01:00
uimaxbai
fa8fc6be15 Revert "style: auto-fix linting issues"
This reverts commit e1b0b403fa.
2026-04-22 21:28:43 +01:00
binimum
e1b0b403fa style: auto-fix linting issues 2026-04-22 20:08:44 +00:00
uimaxbai
7b8a6e6cab Enable AudioContext and proxy for all users, not just extension users
- Set crossorigin="anonymous" as a static HTML attribute on audio/video elements
  so all users can use createMediaElementSource (required for Web Audio API)
- Remove window.__tidalOriginExtension guards from AudioContext init/changeSource:
  binaural DSP, EQ, M/S processing, and audio graph now active for everyone
- Route direct (non-DASH) stream URLs through getProxyUrl in player.js so
  non-extension users get CORS headers from the proxy for lossless/MP4 audio
- Proxy preloader src as well so browser cache warms with the proxied URL
- Add idempotency guard in getProxyUrl to prevent double-proxying when Shaka
  retries segment requests (proxied URL still contains "tidal.com" in params)
- Extension users: still bypass proxy and get CDN URLs directly (unchanged)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 21:07:39 +01:00
uimaxbai
9138ec5289 Restore extension AudioContext features and fix track recommendations
- Add crossorigin="anonymous" for audio/video elements in extension context only
  (required for createMediaElementSource in Web Audio API)
- Restore EQ, binaural DSP, M/S processing, and audio graph wiring for extension users
- Fix recommended tracks showing "Unknown Artist" and no album cover:
  - v2 OpenAPI artist endpoint doesn't include track details in `included`,
    so now fetches v1 /artists/{id}/toptracks in parallel for complete TidalTrack objects
  - v1 tracks carry album.cover UUID and full artist/artists arrays directly
- Fix prepareTrack() to populate artists[] from artist when missing (and vice versa)
- Fix relationship data polymorphism (single ref vs array) in getSimilarArtists/Albums
- Add artistBiographies lookup key for biography included items

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-22 20:30:43 +01:00
uimaxbai
b6b425affc Revert "Remove blocked instance filter for .squid.wtf domains"
This reverts commit 4641fe20b2.
2026-04-21 22:29:23 +01:00
uimaxbai
4641fe20b2 Remove blocked instance filter for .squid.wtf domains
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 21:37:11 +01:00
Samidy
b528720e8b
Revert "Fix v2 artists API: correct data access paths" 2026-04-19 01:49:00 +03:00
Daniel
00efcb8017 Fix v2 artists API: correct data access paths 2026-04-18 16:33:11 -05:00
binimum
f408d75666 style: auto-fix linting issues 2026-04-18 13:12:53 +00:00
uimaxbai
067b68c4c6 fix proxy again 2026-04-18 14:12:11 +01:00
uimaxbai
b313b868f8 fix proxy 2026-04-18 13:48:38 +01:00
uimaxbai
1dd7e97f94 add files 2026-04-18 13:00:33 +01:00
uimaxbai
6d79dafadb make hi-res work 2026-04-18 12:57:40 +01:00
uimaxbai
c2b3f7312e fix streaming for now 2026-04-18 12:16:07 +01:00
uimaxbai
6ddb411b94 Revert 2026-04-18 10:04:31 +01:00
uimaxbai
d4f6c5911f Revert "style: auto-fix linting issues"
This reverts commit 4b6f81b2ec.
2026-04-18 10:02:34 +01:00
Samidy
4dbddfab41 please please please work 2026-04-18 01:31:50 +03:00
binimum
4b6f81b2ec style: auto-fix linting issues 2026-04-17 21:40:59 +00:00
uimaxbai
274baa2a79 fix EVERYTHING 2026-04-17 22:40:15 +01:00