Closed JarbasAl closed 1 month ago
[!WARNING]
Rate limit exceeded
@github-actions[bot] has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 22 minutes and 20 seconds before requesting another review.
How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. We recommend that you space out your commits to avoid hitting the rate limit.How do rate limits work?
CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.Commits
Files that changed from the base of the PR and between 2e8c9b3caa91020691ab9fcc6fe58dc51dc881ed and a4ef625a02f051eaae639ef84845f302ab76f4db.
The changes involve replacing the PluginStream
class with the MediaEntry
class in the search_youtube
method, modifying how video results are processed and represented. Additionally, the minimum version requirement for the tutubo
package in requirements.txt
has been updated from 0.0.2
to 2.0.2
, indicating a significant dependency upgrade.
File | Change Summary |
---|---|
__init__.py |
Replaced PluginStream with MediaEntry in search_youtube method; updated import statements accordingly. |
requirements.txt |
Updated tutubo version from >=0.0.2 to >=2.0.2 . |
sequenceDiagram
participant User
participant YourClassName
participant MediaEntry
User->>YourClassName: search_youtube(phrase, media_type)
YourClassName->>MediaEntry: Create MediaEntry instances
MediaEntry-->>YourClassName: Return MediaEntry
YourClassName-->>User: Yield MediaEntry results
🐇
In the code where streams did flow,
A new entry hops, with a vibrant glow.
From Plugin to Media, a leap so bright,
Upgrading the tunes in the pale moonlight.
With tutubo's magic, we dance and play,
Hooray for the changes, hip-hip-hooray!
🎶
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
since MPV and some other audio plugins can handle urls directly, dont require the plugin
if plugin installed it will still extract the stream, otherwise assume the audio plugin can handle it
bump tutubo
Summary by CodeRabbit
New Features
MediaEntry
class, enhancing the structure and properties of video results from YouTube searches.Bug Fixes
tutubo
package by raising the minimum version requirement to2.0.2
, ensuring access to new features and fixes.