Need A-B Loop Playback feature
Here’s a polished and professional English post you can use to request the A-B Loop Playback feature on the author's project (e.g., GitHub issue or discussion thread). Adjust the tone based on the project's style (formal/casual):
Feature Request: Add A-B Loop Playback Functionality (Subject: "Request: A-B Loop Playback Feature")
Hi [Author's Name/Nickname],
I’m a big fan of your [project name] player ([GitHub link])! It’s lightweight and works great for my needs. I’d like to propose adding an A-B Loop Playback feature, which would allow users to:
1.Mark a Start Point (A) and an End Point (B) in the media. 2.Automatically loop playback between A and B until disabled. Why This Feature? Useful for practicing music/speech, analyzing video segments, or reviewing specific parts repeatedly. A common feature in professional media players (e.g., VLC, Audacity). Proposed Implementation (Optional, if you have ideas) Add a button/toggle in the UI to: Set A (first click), Set B (second click), Toggle loop on/off (third click). Visual feedback showing the A/B timestamps (e.g., "Loop: 00:10 - 00:20"). Technical Notes (If you’re familiar with the codebase) Could leverage existing playback position tracking (e.g., seekTo() in your player). Needs safeguards (e.g., prevent B < A, handle edge cases like EOF). Let me know if you’d like help implementing this! I’m happy to test or contribute code if needed.
Thanks for your amazing work! 🚀
Best regards,
I've forked this feature and hope the developers will merge it. Here's the address of branch patch-1:"https://github.com/dc3000/iris/blob/patch-1/lib/pages/player/control_bar.dart"
Have you tested it? It lacks localization, and the icons are also inaccurate.
Since the code is AI-generated, I believe these changes should be relatively straightforward to implement. You can make some minor adjustments—it shouldn't be a big issue. However, I currently don't have a test environment available. Best regards,zl