{"id":19263736,"url":"https://github.com/trapd00r/beet2mpd","last_synced_at":"2025-04-21T18:31:44.861Z","repository":{"id":137107868,"uuid":"385614703","full_name":"trapd00r/beet2mpd","owner":"trapd00r","description":"beets advanced queries -\u003e mpd","archived":false,"fork":false,"pushed_at":"2024-06-08T08:06:06.000Z","size":15,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T15:11:51.678Z","etag":null,"topics":["beets","mpd"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trapd00r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"trapd00r"}},"created_at":"2021-07-13T13:32:15.000Z","updated_at":"2025-01-11T16:57:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"7e1ed881-ae57-401d-8d09-16cc94040725","html_url":"https://github.com/trapd00r/beet2mpd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2Fbeet2mpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2Fbeet2mpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2Fbeet2mpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trapd00r%2Fbeet2mpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trapd00r","download_url":"https://codeload.github.com/trapd00r/beet2mpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250111020,"owners_count":21376571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["beets","mpd"],"created_at":"2024-11-09T19:36:40.922Z","updated_at":"2025-04-21T18:31:44.854Z","avatar_url":"https://github.com/trapd00r.png","language":"Perl","funding_links":["https://github.com/sponsors/trapd00r"],"categories":[],"sub_categories":[],"readme":"# beet2mpd\n\nA bridge between beets and mpd. Lets you add songs to mpd using the\nadvanced query syntax system of beets.\n\n# SYNOPSIS\n\n    beet2mpd                             # add everything\n    beet2mpd comp:1                      # add compilations\n    beet2mpd loved:1                     # https://github.com/trapd00r/utils/blob/master/love\n    beet2mpd country:se                  # add music from sweden only\n    beet2mpd genre:game                  # add game music\n    beet2mpd mbid_trackid::^$            # add everything missing musicbrainz id\n    beet2mpd label:'Masters of Hardcore' # add everything from a record label\n    beet2mpd comments:foo                # do note the plural form!\n    beet2mpd ^genre:rap albumtype:single # single releases that's NOT rap\n    beet2mpd added:-1w..                 # add new music imported in the past week\n    beet2mpd albumdisambig:explicit      # no censored lyrics\n\n    # add official album releases\n    beet2mpd albumtype:album albumstatus:official\n\n    # add music released the day you were born\n    beet2mpd original_day:14 original_month:8 original_year:1990\n\n    # add music released this day in history\n    beet2mpd original_day:$(date +%d) original_month:$(date +%m)\n\n    # add music from year 2000-2004 that's NOT pop, rock, rap or hip-hop:\n    beet2mpd year:2000..2004 \\^genre:pop,rock,rap,hip-hop\n\n    # add music from 1999 where album name contains love, but track\n    # titles does not:\n    beet2mpd  year:1999 album:love \\^title:love\n\n    # add new music imported in the past hour\n    beet2mpd --hour 1 -v\n\n    # make a query but don't add results to mpd; simply print the results\n    # for possible piping to other applications.\n    beet2mpd artist:lindfors --no-add --nocolor --hour 4 genre:pop\n\n# OPTIONS\n\n    All boolean options are enabled with --option and yet again\n    disabled with --no-option. That is, you use the same option name but prefix\n    it with 'no-'.\n\n            --color  Enable or disable colorized output.\n            --add,   Add or print results from a query.\n            --hour   Add tracks added to beets n hour(s) ago.\n\n      -v,   --verbose   Increase the verbosity. Can be specified multiple times.\n      -h,   --help      Display this help and exit.\n\n# ENVIRONMENT\n\n**${XDG\\_MUSIC\\_DIR}** should be set to the same directory as your library in\n_beets/config.yaml_\n\nKeep in mind that beets and mpd should be in sync, or else:\n\n    {add} No such directory at Audio/MPD.pm line 156\n\nThough accounted for in the error handling, this will mean that some\nresults from a given query won't be added to the playlist.\n\n# INSTALLATION\n\n## cpanminus\n\n    $ cd beet2mpd/\n    $ cpanm .\n\n## Manual method\n\n    $ cd beet2mpd/\n    $ cpan Audio::MPD File::LsColor Try::Tiny\n    $ perl Makefile.PL\n    $ make\n    # make install\n\n# AUTHOR\n\n    Magnus Woldrich\n    CPAN ID: WOLDRICH\n    m@japh.se\n    japh@irc.libera.chat\n    http://japh.se\n    http://github.com/trapd00r\n\n# COPYRIGHT\n\nCopyright 2021,2022 Magnus Woldrich\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrapd00r%2Fbeet2mpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrapd00r%2Fbeet2mpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrapd00r%2Fbeet2mpd/lists"}