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

[pull] master from MusicPlayerDaemon:master #16

Open
wants to merge 829 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Aug 3, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Aug 3, 2023
@pull pull bot added ⤵️ pull and removed 🔍 Ready for Review Pull Request is not reviewed yet labels Aug 3, 2023
@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Aug 3, 2023
@vizipi
Copy link

vizipi bot commented Aug 3, 2023

Pull request analysis by VIZIPI

Below you will find who is the most qualified team member to review your code.
This analysis includes his/her work on the code included in this Pull request, in addition to their experience in code affected by these changes ( partly found within the list of potential missing files below )   Feedback always welcome

Reviewers with knowledge related to these changes

Match % Person Commit Count Common Files
68.24% Max Kellermann 1010 303
11.26% Rosen Penev 24 50
2.48% Jürgen Mang 13 11
1.80% gd 6 8
1.80% Jean-Francois Dockes 1 8
1.13% Shen-Ta Hsieh 6 5

Potential missing files from this Pull request

No commonly committed files found with a 40% threashold


Committed file ranks

(click to expand)
  • 97.83%[src/input/plugins/CdioParanoiaInputPlugin.cxx]
  • 99.81%[python/build/libs.py]
  • 0.00%[src/io/UniqueFileDescriptor.hxx]
  • 62.78%[src/net/IPv4Address.hxx]
  • 0.00%[subprojects/flac.wrap]
  • 45.32%[src/util/DynamicFifoBuffer.hxx]
  • 26.00%[src/lib/curl/Global.hxx]
  • 0.00%[src/lib/zlib/Error.hxx]
  • 26.00%[src/net/Resolver.hxx]
  • 26.00%[src/util/Cast.hxx]
  • @pep8speaks
    Copy link

    pep8speaks commented Sep 26, 2023

    Hello @pull[bot]! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

    Line 16:80: E501 line too long (81 > 79 characters)
    Line 30:1: E402 module level import not at top of file

    Line 9:80: E501 line too long (80 > 79 characters)
    Line 10:47: E252 missing whitespace around parameter equals
    Line 10:48: E252 missing whitespace around parameter equals
    Line 11:31: E252 missing whitespace around parameter equals
    Line 11:32: E252 missing whitespace around parameter equals
    Line 12:34: E252 missing whitespace around parameter equals
    Line 12:35: E252 missing whitespace around parameter equals
    Line 13:62: E252 missing whitespace around parameter equals
    Line 13:63: E252 missing whitespace around parameter equals
    Line 14:31: E252 missing whitespace around parameter equals
    Line 14:32: E252 missing whitespace around parameter equals
    Line 15:30: E252 missing whitespace around parameter equals
    Line 15:31: E252 missing whitespace around parameter equals
    Line 16:27: E252 missing whitespace around parameter equals
    Line 16:28: E252 missing whitespace around parameter equals
    Line 17:52: E252 missing whitespace around parameter equals
    Line 17:53: E252 missing whitespace around parameter equals
    Line 45:80: E501 line too long (83 > 79 characters)

    Line 10:1: E302 expected 2 blank lines, found 1
    Line 17:1: E302 expected 2 blank lines, found 1
    Line 58:13: E117 over-indented (comment)
    Line 59:13: E117 over-indented (comment)
    Line 60:13: E117 over-indented
    Line 66:1: E302 expected 2 blank lines, found 1
    Line 66:77: E252 missing whitespace around parameter equals
    Line 66:78: E252 missing whitespace around parameter equals
    Line 66:80: E501 line too long (128 > 79 characters)
    Line 66:114: E252 missing whitespace around parameter equals
    Line 66:115: E252 missing whitespace around parameter equals
    Line 70:80: E501 line too long (80 > 79 characters)
    Line 108:80: E501 line too long (80 > 79 characters)
    Line 109:43: E252 missing whitespace around parameter equals
    Line 109:44: E252 missing whitespace around parameter equals
    Line 110:51: E252 missing whitespace around parameter equals
    Line 110:52: E252 missing whitespace around parameter equals
    Line 111:50: E252 missing whitespace around parameter equals
    Line 111:51: E252 missing whitespace around parameter equals

    Line 8:1: E302 expected 2 blank lines, found 1
    Line 14:1: E302 expected 2 blank lines, found 1
    Line 20:1: E302 expected 2 blank lines, found 1
    Line 24:1: E302 expected 2 blank lines, found 1
    Line 29:9: E722 do not use bare 'except'
    Line 33:1: E302 expected 2 blank lines, found 1
    Line 38:1: E302 expected 2 blank lines, found 1
    Line 41:1: E302 expected 2 blank lines, found 1
    Line 41:80: E501 line too long (92 > 79 characters)

    Line 23:80: E501 line too long (82 > 79 characters)
    Line 39:80: E501 line too long (93 > 79 characters)

    Line 8:80: E501 line too long (80 > 79 characters)
    Line 9:37: E252 missing whitespace around parameter equals
    Line 9:38: E252 missing whitespace around parameter equals
    Line 32:73: E252 missing whitespace around parameter equals
    Line 32:74: E252 missing whitespace around parameter equals
    Line 32:80: E501 line too long (87 > 79 characters)

    Line 7:1: E302 expected 2 blank lines, found 1
    Line 14:1: E302 expected 2 blank lines, found 1
    Line 56:80: E501 line too long (88 > 79 characters)
    Line 90:1: E302 expected 2 blank lines, found 1
    Line 90:77: E252 missing whitespace around parameter equals
    Line 90:78: E252 missing whitespace around parameter equals
    Line 90:80: E501 line too long (89 > 79 characters)

    Line 11:80: E501 line too long (80 > 79 characters)
    Line 12:37: E252 missing whitespace around parameter equals
    Line 12:38: E252 missing whitespace around parameter equals
    Line 12:66: E252 missing whitespace around parameter equals
    Line 12:67: E252 missing whitespace around parameter equals
    Line 13:37: E252 missing whitespace around parameter equals
    Line 13:38: E252 missing whitespace around parameter equals
    Line 14:40: E252 missing whitespace around parameter equals
    Line 14:41: E252 missing whitespace around parameter equals
    Line 16:31: E252 missing whitespace around parameter equals
    Line 16:32: E252 missing whitespace around parameter equals
    Line 57:64: E252 missing whitespace around parameter equals
    Line 57:65: E252 missing whitespace around parameter equals
    Line 78:66: E252 missing whitespace around parameter equals
    Line 78:67: E252 missing whitespace around parameter equals
    Line 78:80: E501 line too long (80 > 79 characters)

    Line 6:1: E302 expected 2 blank lines, found 1
    Line 6:80: E501 line too long (88 > 79 characters)
    Line 11:1: E302 expected 2 blank lines, found 1
    Line 11:80: E501 line too long (80 > 79 characters)

    Line 3:1: E302 expected 2 blank lines, found 1
    Line 4:21: E252 missing whitespace around parameter equals
    Line 4:22: E252 missing whitespace around parameter equals

    Line 6:1: E302 expected 2 blank lines, found 1
    Line 13:1: E305 expected 2 blank lines after class or function definition, found 1
    Line 40:1: E302 expected 2 blank lines, found 1
    Line 40:17: E203 whitespace before ':'
    Line 44:34: E261 at least two spaces before inline comment
    Line 44:80: E501 line too long (126 > 79 characters)
    Line 73:80: E501 line too long (90 > 79 characters)
    Line 84:80: E501 line too long (82 > 79 characters)
    Line 130:80: E501 line too long (87 > 79 characters)
    Line 134:1: E302 expected 2 blank lines, found 1
    Line 145:80: E501 line too long (81 > 79 characters)
    Line 146:80: E501 line too long (82 > 79 characters)
    Line 162:80: E501 line too long (81 > 79 characters)
    Line 187:80: E501 line too long (87 > 79 characters)
    Line 191:1: E305 expected 2 blank lines after class or function definition, found 1

    Line 4:1: E302 expected 2 blank lines, found 1
    Line 14:1: E302 expected 2 blank lines, found 1
    Line 20:1: E302 expected 2 blank lines, found 1
    Line 27:1: E302 expected 2 blank lines, found 1
    Line 40:1: E302 expected 2 blank lines, found 1

    Line 8:80: E501 line too long (80 > 79 characters)

    Line 32:1: E402 module level import not at top of file

    Comment last updated at 2024-03-15 17:46:08 UTC

    MaxKellermann and others added 24 commits May 6, 2024 12:54
    According to the yajl API documentation, #include lines should have
    the "yajl/" path prefix, but the actual pkg-config file contains:
    
     includedir=${dollar}{prefix}/include/yajl
    
    .. which already contains this directory name, and thus the "yajl/"
    prefix cannot work.  Unfortunately, the yajl project hasn't been
    maintained for nearly 10 years, and there's little chance this bug
    will ever be fixed.
    The Brew package of yajl is broken, it fails to build:
    
     In file included from ../src/lib/yajl/Handle.cxx:4:
     In file included from ../src/lib/yajl/Handle.hxx:6:
     /opt/homebrew/Cellar/yajl/2.1.0/include/yajl/yajl_parse.h:22:10: fatal error: 'yajl/yajl_common.h' file not found
     #include <yajl/yajl_common.h>
              ^~~~~~~~~~~~~~~~~~~~
     1 error generated.
    
    Therefore, MPD cannot support building with yajl on macOS.
    There were a few macOS related bug reports on the bug tracker which
    have been open for years without a volunteer caring for them.  The
    GitHub actions build has also been broken for a long time due to bugs
    in the ancient LLVM toolchain shipped with macOS, making macOS an
    unsuitable non-Linux target for testing MPD's portability.
    
    All of this makes macOS support an annoying liability for me.  To
    avoid more frustration, I'm hereby dropping macOS support completely
    from MPD.  Maybe this causes enough pain for a new maintainer to
    spawn, but maybe nobody cares, so... let's see.
    All Linux distributions have at least version 4, and thus I cannot
    test with older versions.
    Fixes crash bug (assertion failure) if a new "play" command is handled
    while the player thread waits for decoder startup.
    This simplifies the lifetime of the nfs_context object.
    jcorporation and others added 30 commits August 14, 2024 21:07
    Prints all available stickertypes like tagtypes for tags.
    Previously, `AND` expressions were the only filters which used `++s` instead
    of `s = StripLeft(s + 1)` making them sensitive to spacing issues. This caused
    nested AND expressions (like e.g. `(((A) AND (B)) AND (C))`) to needlessly be
    rejected with the following error message: `{find} Word expected` due to the
    fact that the inner AND expression would leave the cursor `s` at a space rather
    than the beginning of the next word (remainder was ` AND (C))` rather than
    `AND (C)`).
    
    This commit fixes this by consistently using `s = StripLeft(s + 1)` instead
    of `++s` when parsing AND expressions. Although it is not strictly necessary
    to resolve the AND nesting bug, the case of trivial AND expressions (consisting
    basically of only superfluous parentheses) is also changed to the new handling.
    This should be more robust although I expect that case to be even less common
    than the direct nesting of AND expressions.
    
    see #2100
    I pretend to know what I'm doing :-)
    The the Duplicate() method we inherited from class FileDescriptor
    returns a UniqueFileDescriptor, but we really want to return a
    UniqueSocketDescriptor.
    -1 is an illegal value and leads to CURLM_BAD_FUNCTION_ARGUMENT.  Our
    API shouldn't imply this value.
    Only relevant on Windows where socket_error_t is a `DWORD` (unsigned).
    Old: searchplaylist {NAME} {FILTER} [{START:END}]
    New: searchplaylist {NAME} {FILTER} [window {START:END}]
    
    This is more similar to the other search commands and we can reuse search specific functions in libmpdclient.
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ⤵️ pull 🔍 Ready for Review Pull Request is not reviewed yet
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.