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

Play mp3 from folder on demand #34

Open
2 of 4 tasks
DGrothe-PhD opened this issue Sep 30, 2024 · 2 comments
Open
2 of 4 tasks

Play mp3 from folder on demand #34

DGrothe-PhD opened this issue Sep 30, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@DGrothe-PhD
Copy link
Owner

DGrothe-PhD commented Sep 30, 2024

A user wants to play mp3 files with notes, pre-recorded address cards, exercise guidance, whatever.

Recipe:

  • Have a folder for mp3 files
  • Put files in
  • list files on demand, read out their names/"track and album info" and numbers
  • let user type a number and play file with that number
@DGrothe-PhD DGrothe-PhD added the enhancement New feature or request label Sep 30, 2024
@DGrothe-PhD
Copy link
Owner Author

import time
from just_playback import Playback
#--
playback = Playback()
playback.load_file("assets/test.mp3")
playback.seek(15)
playback.play()
time.sleep(11)
playback.stop()

Nice.

@DGrothe-PhD
Copy link
Owner Author

@DGrothe-PhD DGrothe-PhD self-assigned this Oct 17, 2024
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
Status: Backlog
Development

No branches or pull requests

1 participant