{"id":15657592,"url":"https://github.com/codl/autoplay","last_synced_at":"2025-10-24T06:03:01.453Z","repository":{"id":138204210,"uuid":"815830","full_name":"codl/autoplay","owner":"codl","description":"A learning playlist autofiller for MPD","archived":false,"fork":false,"pushed_at":"2017-02-15T16:21:27.000Z","size":71,"stargazers_count":25,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-30T16:42:02.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2010-08-03T23:29:51.000Z","updated_at":"2023-10-14T23:05:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"3e05d424-276d-4037-976e-47e0760fb714","html_url":"https://github.com/codl/autoplay","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/codl/autoplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fautoplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fautoplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fautoplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fautoplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codl","download_url":"https://codeload.github.com/codl/autoplay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codl%2Fautoplay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280748848,"owners_count":26383955,"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","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-10-03T13:08:39.771Z","updated_at":"2025-10-24T06:03:01.422Z","avatar_url":"https://github.com/codl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"autoplay\n========\n\na daemon that keeps your [MPD][] playlist filled with the music you actually listen to.\n\n[MPD]: http://mpd.wikia.com (Music Player Daemon)\n\nRequirements\n------------\n\n* python 3.x\n* python-mpd2\n\nIf you have pip installed, a simple `pip install -r requirements.txt` should do the job.\n\nUsage\n-----\n\n```\nautoplay.py [command]\ncommand can be one of :\n  radio [on|off|toggle]     : switches between radio mode and stat collection only\n  trigger [number]          : sets how many tracks must be in the playlist at all times\n  info [filename]           : gives some info on the specified track, or the currently playing track\n\n  start\n  stop (synonym: kill)\n  loglevel [debug|info|notice|warning|error]\n  help\n  version\n```\n\nTo have autoplay start automatically, you may add `autoplay.py start \u003e /dev/null \u0026` to your `.profile` or `.bash_profile`.\n\nInstallation\n------------\n\nMake sure you have all dependencies installed, then put `autoplay.py` anywhere in your `$PATH`.\n\nConfiguration\n-------------\n\nAutoplay will connect to the server according to environment variables `MPD_HOST` and `MPD_PORT`.\nThe defaults are :\n\n```sh\nMPD_HOST=\"127.0.0.1\"\nMPD_PORT=\"6600\"\n```\n\nA password can be used by using the syntax `MPD_HOST=\"password@host\"`.\n\nIf the variable `MPD_MUSIC_DIR` is set, Autoplay will use it to flag symlinks or hardlinks as duplicates.\n\nHow it works\n------------\n\nAutoplay gives each song a *karma* rating based on how often it adds that song, and how often that song is played.\n\nUsually, bad songs have karma under 0.25, *meh* songs have karma between 0.25 and 0.60, and good songs are over 0.60. A song that is often added by the user to the playlist will have a karma over 1.\n\nWhen a song is played, there is a *cooldown time* (default 12h) during which autoplay cannot add it. This way, the same songs cannot be spammed over and over.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodl%2Fautoplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodl%2Fautoplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodl%2Fautoplay/lists"}