Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement naive BMM streak counting for bible study #513

Open
4 of 5 tasks
sifferhans opened this issue Jan 15, 2025 · 2 comments
Open
4 of 5 tasks

Implement naive BMM streak counting for bible study #513

sifferhans opened this issue Jan 15, 2025 · 2 comments
Assignees

Comments

@sifferhans
Copy link
Contributor

sifferhans commented Jan 15, 2025

  • investigate if we can access the npaw calculation in flutter
    not realtime, so not really relevant
  • Use updateProgress method in BccmPlaybackListener for a naive but functional implementation.
  • send to /Statistics/watched if listened > 50% and it hasn't been sent for the episode before
    • only send 2x per episode; first when going over 50%, and last when video playback is finished
  • figure out how we map track id
    we will send the episode UUID to BMM, which has the episode -> track mapping
  • if user is offline when request is sent, save it locally and try again at next app start
    • Strictly necessary?

to be implemented locally, only on mobile for now

Pull request here

@sifferhans
Copy link
Contributor Author

sifferhans commented Jan 23, 2025

PR: #523

@sifferhans
Copy link
Contributor Author

I've updated the updateProgress hook in BccmPlaybackListener to also pass along the total duration of the currently playing media item, so we can calculate the percentage played

I need the BMM endpoint to continue with this task

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

No branches or pull requests

1 participant