Conversation
…aring it total_time, otherwise the default minimum length is 5s instead of 5m.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughPlayback tracking now converts the configured minimum length from minutes to seconds before comparing it with playback duration in seconds. ChangesPlayback tracking
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The minimum-duration conversion matches the supported setting values; no merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Scrobbling is skipped if the media length is less than min-length (default 5m).
total_time = int(self.getTotalTime())total_time_min = int(get_setting("min-length"))if total_time <= 0 or total_time > total_time_mintotal_time is measured in seconds, but total_time_min is measured in minutes, which makes this always true, resulting in every file over 5s (including trailers) triggering a scrobble.
Summary by CodeRabbit