BimmerGestalt / AAIdrive

Implementations of some Android Auto features as unofficial IDrive apps
MIT License
541 stars 90 forks source link

Ignore unplayable songs when fetching playlists from spotify #579

Closed NavjotPanesar closed 2 years ago

NavjotPanesar commented 2 years ago

Associated issue: https://github.com/BimmerGestalt/AAIdrive/issues/291

codecov-commenter commented 2 years ago

Codecov Report

Merging #579 (f0f146e) into main (5d5d9f9) will decrease coverage by 7.82%. The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #579      +/-   ##
============================================
- Coverage     49.42%   41.60%   -7.83%     
+ Complexity     1789     1421     -368     
============================================
  Files           249      242       -7     
  Lines         11792    11355     -437     
  Branches       2331     2266      -65     
============================================
- Hits           5828     4724    -1104     
- Misses         4826     5634     +808     
+ Partials       1138      997     -141     
Impacted Files Coverage Δ
...n/androidautoidrive/music/spotify/SpotifyWebApi.kt 32.46% <0.00%> (+1.73%) :arrow_up:
...autoidrive/phoneui/SpotifyAuthorizationActivity.kt 0.00% <0.00%> (ø)
...droidautoidrive/phoneui/viewmodels/MapPageModel.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...idautoidrive/phoneui/fragments/MapsPageFragment.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...dautoidrive/phoneui/fragments/MusicPageFragment.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...dautoidrive/phoneui/viewmodels/SupportPageModel.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...autoidrive/phoneui/fragments/CarSummaryFragment.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...utoidrive/phoneui/fragments/SupportPageFragment.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...toidrive/phoneui/fragments/CalendarPageFragment.kt 0.00% <0.00%> (-100.00%) :arrow_down:
...toidrive/phoneui/fragments/OverviewPageFragment.kt 0.00% <0.00%> (-100.00%) :arrow_down:
... and 86 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5d5d9f9...f0f146e. Read the comment docs.

hufman commented 2 years ago

This is wonderful, it looks so elegant! I'll have to try it out when I get back to my development system :) Thank you so much!

hufman commented 2 years ago

Thank you so much!

NavjotPanesar commented 2 years ago

thank you for building this in the first place! It's really upgraded the experience of using my car on a daily basis. looking forward to help out where I can.

NavjotPanesar commented 2 years ago

@hufman just wondering what the nightly builds process is like, will the build that is hyperlinked in the readme be updated tonight off of main ?

hufman commented 2 years ago

That "nightly build" is technically updated as soon as this build step finishes. It takes about 30 minutes so I call it nightly, but this fix is already included in the current build :)

hufman commented 2 years ago

Also, I pushed this fix to the beta channel in the Play Store!