Skip to content

Conversation

@tsirysndr
Copy link
Owner

No description provided.

@tsirysndr tsirysndr self-assigned this Oct 25, 2025
@tsirysndr tsirysndr added the enhancement New feature or request label Oct 25, 2025
- Added LastFmClient to fetch user info and recent/loved tracks.
- Created SpotifyClient and TidalClient for handling Spotify and Tidal tokens.
- Introduced sync module with commands to start synchronization services.
- Updated database schema to store session keys and user information for Last.fm.
- Implemented decryption for tokens using AES-256 CTR.
- Added repository functions to list tokens from the database.
- Created types for Last.fm API responses including user, track, album, and loved tracks.
- Integrated Redis for caching and improved data fetching from Last.fm, Spotify, and Tidal.
- Enhanced error handling and logging throughout the synchronization process.
- Added tidalId and spotifyId fields to albums, artists, and tracks schemas.
- Improved formatting of primary key definition in albums, artists, and tracks.
- Updated Spotify login to include user-library-read scope.

feat: Enhance Spotify and Tidal client functionality

- Implemented access token retrieval for Spotify and Tidal clients.
- Added methods to fetch user saved tracks and user tracks from Tidal.
- Included detailed track and album information retrieval from Tidal API.

fix: Adjust LastFM and Spotify user limits

- Increased MAX_USERS limit from 100 to 500 in LastFM and Spotify sync processes.

feat: Introduce JWT token generation and decoding

- Added token module for generating and decoding JWT tokens.
- Implemented tests for token generation and decoding functionality.

feat: Expand Tidal and Spotify types

- Created new types for handling Spotify and Tidal responses, including albums, artists, and tracks.
- Added necessary modules for external URLs and IDs in Spotify types.
- Established relationships and include structures for Tidal types.

chore: Update journal with new version tags

- Added new version tags to the journal for tracking changes.
… and scrobble schemas

- Added tidalId, spotifyId, and appleMusicId fields to artist, album, song, and scrobble JSON schemas.
- Introduced roles field in artist schema to specify artist roles.
- Included ISRC field in song and scrobble schemas for international standard recording code.
- Updated corresponding PKL definitions and TypeScript interfaces to reflect these changes.
- Ensured all relevant files and services are updated to handle new fields.
…n tidal_accounts, tidal_tokens, tracks, user_albums, user_artists, user_playlists, user_tracks, users, and webscrobblers tables. Added lastfmLink to tracks schema.

Enhance Spotify client to randomly select tokens to avoid rate limiting and implement search functionality for tracks and artists.

Add new track repository for managing track metadata updates and retrieval.

Implement Rocksky API integration for scrobbling and saving tracks.

Introduce search functionality to find tracks in the database and Spotify.

Update Spotify and Tidal metadata handling in sync processes.

Add new Xata models for albums, artists, and tracks to facilitate data management.
- Introduced a new `Cache` struct for Redis integration.
- Added rate limiting to `LastFmClient`, `SpotifyClient`, and `TidalClient` using the `governor` crate.
- Updated dependencies in `Cargo.toml` for `governor` and `nonzero_ext`.
- Removed unused Redis client parameter from `start` functions in `lastfm`, `spotify`, and `tidal` modules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants