Skip to content

Conversation

@davidomarf
Copy link
Owner

Description

This adds a working workflow for the CSV File upload functionality.
After uploading the CSV, it'll:

  • read the filename, and guess the username,
  • create the scrobbles list

Then it'll compare the user playcount, and the scrobbles list size. If they don't match, it'll calculate the number of pages left to complete the list and update it in the app. Allowing the user to re-download an up-to-date CSV.

Motivation and Context

Prevent stressing the last.fm API.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Code maintainance (non-breaking change that makes existing code better)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have updated the changelog accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@vercel
Copy link

vercel bot commented Aug 22, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lastats-fm ✅ Ready (Inspect) Visit Preview Aug 22, 2022 at 2:21AM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant