Commit graph

89 commits

Author SHA1 Message Date
SamidyFR
3e85941229 style: auto-fix linting issues 2026-04-13 19:02:42 +00:00
uimaxbai
ac08f750ab bump am-lyrics 2026-04-13 14:31:52 +01:00
Samidy
0bd2f29bce
Merge branch 'main' into feature/android-background-audio 2026-04-13 15:43:24 +03:00
uimaxbai
4f36b60c82 bump am-lyrics 2026-04-12 12:36:15 +01:00
uimaxbai
b9d13182a6 bump am-lyrics 2026-04-11 16:21:27 +01:00
uimaxbai
6f602342b2 bump am-lyrics 2026-04-11 16:12:24 +01:00
uimaxbai
7c642c48a0 bump am-lyrics 2026-04-11 15:57:24 +01:00
uimaxbai
8f851ea203 bump am-lyrics 2026-04-11 14:44:15 +01:00
uimaxbai
3a244f4496 bump am-lyrics 2026-04-11 14:18:18 +01:00
binimum
d876eeb0ec
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-11 11:53:43 +00:00
binimum
2827184fed
bump am-lyrics and add robust isrc input 2026-04-11 11:51:53 +00:00
Simone Ianniciello
56f8620505 feat(player): use @capgo/capacitor-media-session for android compatibility 2026-04-10 17:25:10 +02:00
uimaxbai
c6a967dc3a deps: bump am-lyrics 2026-04-09 16:29:45 +01:00
windbus
08a85cf8a0 bump version number 2026-04-08 20:54:17 +02:00
uimaxbai
e9131c7e9a deps: bump am-lyrics again again 2026-04-08 13:49:58 +01:00
uimaxbai
080b268e29 deps: bump am-lyrics again 2026-04-07 21:41:47 +01:00
binimum
fdfe1a54d0
deps: update @uimaxbai/am-lyrics to version 1.1.5 2026-04-07 21:33:13 +01:00
binimum
f0748421d3
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-04-05 18:50:33 +00:00
binimum
bc004d3dc4
fix: refine image size logic and update build configuration for better performance 2026-04-05 18:49:23 +00:00
edideaur
2830d12bda
fix binislop 2026-04-05 18:41:25 +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
binimum
8a377d5332
chore(player): log preload load errors 2026-04-04 20:36:41 +00:00
Daniel
3acbcd61f2 Adjust linting rules and add vs code extension recommendations 2026-04-04 01:37:47 +03:00
Daniel
4a9493fb72 feat(dev): add vite-bundle-visualizer
This will run on build, and automatically generate a bundle-stats.html file in the assets folder containing details about package sizes
2026-04-03 20:39:15 +03:00
Daniel
51e5e1973f fix: update taglib-ts 2026-04-03 14:31:19 +03:00
Daniel
b94a832d2e feat(vitest): add vitest config and tests
Add tests for HiFi, ffmpeg, and download api functions.
2026-04-01 12:46:30 -05:00
Samidy
8ed52d8843 Bye Bye Desktop App 2026-03-29 13:09:32 +03:00
Daniel
2440939f4b refactor(hifi): update HiFi.ts to add trackManifests route and refactor 2026-03-23 13:42:03 -05:00
binimum
98cc3b9391
Merge branch 'main' of https://github.com/monochrome-music/monochrome 2026-03-22 20:11:37 +00:00
binimum
d783642401
feat: add Atmos support, use new API endpoint, streamline API caching 2026-03-22 20:08:30 +00:00
edideaur
b6e8068652 capacitor app 2026-03-22 20:59:00 +02:00
Daniel
4e2a595504 refactor(hls/dash): externalize hls.js and dashjs to reduce initial bundle size 2026-03-19 15:34:51 -05:00
Daniel
e2a09b9b32 refactor: externalize svg images and add new vite plugin
The plugin runs all imported SVG files through svgo.

For index.html, you can use the following syntax:
```html
<use svg="file.svg" size="24" />
```

For scripts, use the `?svg` import query
```javascript
import SVG_FILE from './file.svg?svg&size=24
```

Note: size is shorthand for specifying both width and height individually.  You can also set any property of the base SVG element.

You can also use the `?svg&icon` query to return a function that allows dynamically resizing the SVG string.
2026-03-19 15:28:33 -05:00
Daniel
895d5dd20f feat(metadata): replace taglib-wasm with @dantheman827/taglib-ts
- feat(taglib): updated audio buffer handling in metadata.js to use Uint8Array.
- feat(taglib): refactored addMetadataToAudio to support return type as Blob or Uint8Array

- feat(taglib): add timeout functionality to metadata functions
  - Introduced `withTimeout` utility function to handle operation timeouts.
  - Updated `addMetadataWithTagLib` to use `withTimeout` for promise resolution.
  - Updated `getMetadataWithTagLib` to use `withTimeout` for promise resolution.
  - Added default timeout parameter to both metadata functions.

- feat(taglib): improve metadata handling with ChunkedByteVectorStream
  - Enhanced metadata handling in taglib.ts and taglib.worker.ts to utilize ChunkedByteVectorStream.

- fix(taglib): handle metadata addition failure gracefully
  - Updated `addMetadataWithTagLib` to catch errors and return original audio data if metadata addition fails.

fix(downloads): return original blob if metadata addition fails
 - Wrap addMetadataToAudio call in try-catch to handle errors.

feat(taglib): add direct calling of taglib methods
  - Introduced `direct` parameter to `addMetadataWithTagLib` and `getMetadataWithTagLib` functions for direct processing in the current thread.
  - Exported taglib worker functions.
2026-03-19 15:14:52 -05:00
Samidy
48fc94895a split site building & desktop building 2026-03-18 04:39:17 +03:00
binimum
33d3c6c51a
fix(lyrics): update track title retrieval to use getTrackTitle function
chore(deps): update @uimaxbai/am-lyrics to version 1.1.4 in package.json and package-lock.json
2026-03-13 19:57:24 +00:00
Samidy
8674aba673 update packages and shit 2026-03-13 02:19:14 +03:00
Daniel
a36ae22f4f
feat: add blob-url support and integrate blob asset plugin for Vite 2026-03-12 22:34:37 +00:00
edideaur
a776e24aee
Merge pull request #303 from DanTheMan827/copilot/extract-duplicated-code-to-ts
Extract shared download utilities and abstract bulk download handlers + new folder picker support
2026-03-12 21:18:47 +02:00
Daniel
9226515bcf
feat: update client-zip to version 2.5.0 and adjust import in bulk-download-writer.ts 2026-03-12 14:46:52 +00:00
Samidy
df7ba22fa1 didnt see these 2026-03-12 10:12:06 +03:00
Samidy
cb7141341a use bun for everything 2026-03-12 09:31:02 +03:00
Samidy
46d09af6d7 outdated github links 2026-03-12 09:27:58 +03:00
Samidy
dfa6e40385 we dont even have tests 2026-03-12 09:27:27 +03:00
Samidy
b7c57a06fe outdated 2026-03-12 09:27:13 +03:00
dependabot[bot]
5dca0421c0
chore(deps): bump tar and npm
Removes [tar](https://github.com/isaacs/node-tar). It's no longer used after updating ancestor dependency [npm](https://github.com/npm/cli). These dependencies need to be updated together.


Removes `tar`

Updates `npm` from 11.11.0 to 11.11.1
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v11.11.0...v11.11.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 
  dependency-type: indirect
- dependency-name: npm
  dependency-version: 11.11.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-12 06:18:39 +00:00
Samidy
51b88cc5e8 cdn to package for am-lyrics 2026-03-12 09:00:27 +03:00
Samidy
7fc685d8dc eh js update the vers to what we have locally 2026-03-11 05:06:22 +03:00
Daniel
de472c5891
Merge remote-tracking branch 'upstream' into taglib-wasm 2026-03-09 02:43:12 +00:00
Daniel
efa3521aff
feat(taglib): refactor and improve metadata handling, worker integration, and code quality
- Refactor metadata handling to use fetchTagLib and addMetadataWithTagLib for improved loading and worker-based processing
- Update prefetchMetadataObjects and addMetadataToAudio for simplified and more robust metadata extraction
- Add taglib.worker.ts for audio metadata processing in a worker
- Implement getMetadataWithTagLib function
- Auto-fix linting issues and remove unnecessary debugger statements
2026-03-09 00:35:20 +00:00