feeluown / FeelUOwn

trying to be a robust, user-friendly and hackable music player
http://feeluown.readthedocs.io
GNU General Public License v3.0
3.53k stars 598 forks source link

library: use yt-dlp as a global standby-provider #842

Closed cosven closed 3 months ago

cosven commented 3 months ago

To use this feature, you should

  1. instance yt-dlp pip install yt-dlp
  2. setup config in ~/.fuorc, for example
config.YTDL_RULES = [{'name': 'match_source',
                      'pattern': 'ytmusic',
                      'http_proxy': 'http://127.0.0.1:7890'},]
coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9650720480

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
feeluown/app/app.py 4 6 66.67%
feeluown/library/library.py 8 19 42.11%
feeluown/library/ytdl.py 11 34 32.35%
<!-- Total: 25 61 40.98% -->
Files with Coverage Reduction New Missed Lines %
feeluown/task.py 1 92.41%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 9367665860: -0.06%
Covered Lines: 9841
Relevant Lines: 17839

💛 - Coveralls
coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9691076479

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
feeluown/library/provider_protocol.py 3 4 75.0%
feeluown/app/app.py 4 6 66.67%
feeluown/library/library.py 15 32 46.88%
feeluown/library/ytdl.py 14 64 21.88%
<!-- Total: 38 108 35.19% -->
Files with Coverage Reduction New Missed Lines %
feeluown/task.py 1 92.41%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 9367665860: -0.1%
Covered Lines: 9853
Relevant Lines: 17881

💛 - Coveralls
coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 9729470175

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
feeluown/library/provider_protocol.py 3 4 75.0%
feeluown/app/app.py 4 6 66.67%
feeluown/library/library.py 15 32 46.88%
feeluown/library/ytdl.py 14 64 21.88%
<!-- Total: 38 108 35.19% -->
Files with Coverage Reduction New Missed Lines %
feeluown/task.py 1 92.41%
<!-- Total: 1 -->
Totals Coverage Status
Change from base Build 9367665860: -0.1%
Covered Lines: 9853
Relevant Lines: 17881

💛 - Coveralls