{"id":22784284,"url":"https://github.com/chris124567/smpd","last_synced_at":"2025-03-30T15:17:52.354Z","repository":{"id":116894125,"uuid":"243115229","full_name":"chris124567/smpd","owner":"chris124567","description":"command line music player daemon client designed for ease of use","archived":false,"fork":false,"pushed_at":"2021-07-08T03:38:35.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T16:48:11.345Z","etag":null,"topics":["c","mpd","mpd-client"],"latest_commit_sha":null,"homepage":"","language":"C","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/chris124567.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2020-02-25T22:21:29.000Z","updated_at":"2023-07-24T20:03:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"545f0298-049e-4030-b4d0-a6c6f81de207","html_url":"https://github.com/chris124567/smpd","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/chris124567%2Fsmpd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris124567%2Fsmpd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris124567%2Fsmpd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chris124567%2Fsmpd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chris124567","download_url":"https://codeload.github.com/chris124567/smpd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246334454,"owners_count":20760646,"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":["c","mpd","mpd-client"],"created_at":"2024-12-11T22:12:10.181Z","updated_at":"2025-03-30T15:17:52.346Z","avatar_url":"https://github.com/chris124567.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# smpd\nThe first actually usable command line MPD client.  Featuring tab completion and convenient searching.\n\n# Requirements:\n* mpd (tested with 0.21.5)\n* libmpdclient (tested with 2.16)\n* c compiler\n* c standard library\n\n# Install:\n`$ ./build.sh`\n\n`# ./install.sh`\n\n# Sample Usage of Most Used Features:\nCase 1:\n\n`smpd -x Ettor[TAB]`\n\n`smpd -x Ettore\\ Stratta`\n\nWould erase the current queue and then play all songs by artist Ettore Strata.\n\nCase 2:\n\n`smpd -a Lovin[TAB]`\n\n`smpd -a Loving\\ You Erik[TAB]`\n\n`smpd -a Loving\\ You Erik\\ Satie`\n\nWould add all songs titled \"Loving You\", along with all songs by \"Erik Satie\" to the current queue.\n\nNote: The tab completion works based on files in your library.  The above examples are hypothetical and assume that you have those artists and songs in your library.\n\n# Miscellaneous:\n* Written in C99\n* Compiles with maximum security features (see variable SEC in build.sh) and optimizations (CFLAGS and GCC_OPT)\n* Compiles with no warnings or errors using `-Wall -Wextra -Wshadow -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes` on gcc-8.3.0\n* Tested all options with valgrind-3.14.0 to make sure there's no memory leaks, including testing w/ errors (hope I got everything, but C inevitably introduces bugs)\n* Formatted with clang-format (see .clang-format for configuration)\n* Implemented error handling for every libmpdclient call\n* I use all of the functionality except the search/adding songs via my keyboard shortcut manager, xbindkeys.  An excerpt of my configuration can be seen in the `xbindkeys_excerpt` file.\n\n# Known Issues:\n- Tab completion when files have quotes in the name\n\n# Options (any of the following can be combined and chained)\n```-0      Tab completion generator, internal\n\n-a      Add search results(s) to queue (tab completed), takes a query\n\n-c      Clear the queue\n\n-C      Display the currently playing song\n\n-d      Delete a given position from the queue, takes a position integer\n\n-h      Print this help message\n\n-l      Loop the current song a given amount of times, takes an integer argument\n\n-L      Print all of the currently queued songs\n\n-m      Print the current songs metadata\n\n-n      Skip relatively around in the song queue, takes an integer\n\n-p      Seek to an exact position in the current song (in seconds), takes an integer argument\n\n-P      Seek relatively in the current song (in seconds), takes an integer argument\n\n-r      Toggle repeat mode\n\n-s      Search library, takes query(s)\n\n-x      Clear the queue, then search the library for a given query.  Takesquery(s)\n\nNote: -x and -a have identical behavior, except -x deletes the current queue before adding the results```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris124567%2Fsmpd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris124567%2Fsmpd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris124567%2Fsmpd/lists"}