Skip to content

Commit

Permalink
Add music tracking using YoutubeMusic (#1133)
Browse files Browse the repository at this point in the history
* build(backend): add rustypipe deps

* feat(backend): start adding new source and lot

* feat(migrations): start adding new columns for youtube music

* feat(backend): add music fields

* fix(services/integration): return result correctly

* feat(backend): start working on new provider

* chore(frontend): start adding for youtube music

* feat(backend): allow changing music preferences

* fix(utils/common): add lot mapping for music

* chore(frontend): add new lot

* feat(providers): get youtube music search working

* feat(providers): allow getting music details

* feat(providers): get recommendations for music

* chore(services/miscellaneous): get correct service for metadata details

* feat(backend): save music specifics

* feat(frontend): display music details

* feat(backend): store youtube music album details

* feat(frontend): display overview of metadata group

* fix(providers): get correct album id

* feat: allow searching from youtube music albums

* refactor(backend): change name of struct

* feat(backend): store metadata group extra information

* feat(backend): remove stuff for metadata group

* feat(backend): store source url in the metadata itself

* feat(providers): select biggest images

* feat(backend): add source url to metadata group table

* chore(frontend): adapt to new gql schema

* fix(providers): get correct youtube music album id

* feat(backend): start storing person source url in database

* chore(frontend): adapt to new gql schema

* chore(frontend): add ytmusic as people search source

* feat(providers): support artist search for youtube music

* feat(providers): support artist details

* chore(backend): apply clippy lints

* feat(providers): get all related tracks to a yt-music artist

* refactor(backend): make the images field nullable for metadata group

* feat(backend): return more music specifics

* feat(frontend): display more music specifics

* refactor(models/media): add skip serializing none to models

* chore(backend): remove useless column in table

* chore(backend): changes for big merge

* refactor(backend): extract cache service to variable

* chore(models/dependent): change the order of declarations

* refactor(backend): use types wherever possible

* refactor(backend): move server key validation into core details

* ci: Run CI

* refactor(backend): change return signature of function

* fix(backend): parse responses correctly

* ci: double quote stuff

* ci: Run CI

* ci: install needed deps

* ci: Run CI

* ci: fix install correct dep

* ci: Run CI

* ci: remove another double quote

* ci: Run CI

* ci: bring back old command

* ci: Run CI
  • Loading branch information
IgnisDa authored Dec 15, 2024
1 parent 5230642 commit 0118b8f
Show file tree
Hide file tree
Showing 67 changed files with 1,432 additions and 941 deletions.
202 changes: 197 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ regex = "=1.11.1"
rust_decimal = "=1.36.0"
rust_decimal_macros = "=1.36.0"
rust_iso3166 = "=0.1.13"
rustypipe = "0.7.2"
schematic = { version = "=0.17.7", features = [
"config",
"env",
Expand Down
8 changes: 0 additions & 8 deletions apps/backend/src/job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,8 @@ pub async fn run_background_jobs(
pub async fn run_frequent_jobs(
_information: ScheduledJob,
fitness_service: Data<Arc<FitnessService>>,
misc_service: Data<Arc<MiscellaneousService>>,
integration_service: Data<Arc<IntegrationService>>,
) -> Result<(), Error> {
misc_service
.perform_server_key_validation()
.await
.trace_ok();
integration_service
.yank_integrations_data()
.await
Expand Down Expand Up @@ -153,9 +148,6 @@ pub async fn perform_application_job(
.await
.is_ok()
}
ApplicationJob::PerformServerKeyValidation => {
misc_service.perform_server_key_validation().await.is_ok()
}
ApplicationJob::HandleEntityAddedToCollectionEvent(collection_to_entity_id) => {
integration_service
.handle_entity_added_to_collection_event(collection_to_entity_id)
Expand Down
Loading

0 comments on commit 0118b8f

Please sign in to comment.