{"id":36790692,"url":"https://github.com/csmith/bass","last_synced_at":"2026-01-12T13:25:20.193Z","repository":{"id":323032047,"uuid":"1060432328","full_name":"csmith/bass","owner":"csmith","description":"Tool to create random playlists on a subsonic server","archived":false,"fork":false,"pushed_at":"2025-11-07T16:49:05.000Z","size":16,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-07T18:26:44.170Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/csmith.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-19T22:53:35.000Z","updated_at":"2025-11-07T16:49:02.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/csmith/bass","commit_stats":null,"previous_names":["csmith/bass"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/csmith/bass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fbass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fbass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fbass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fbass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/csmith","download_url":"https://codeload.github.com/csmith/bass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/csmith%2Fbass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338998,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T12:22:26.515Z","status":"ssl_error","status_checked_at":"2026-01-12T12:22:10.856Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-12T13:25:19.903Z","updated_at":"2026-01-12T13:25:20.114Z","avatar_url":"https://github.com/csmith.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BASS - Batch Audio Selection for Subsonic\n\nBASS is a tool to automatically generate playlists for a Subsonic server,\nsuch as [Navidrome](https://www.navidrome.org/).\n\nIt selects tracks randomly, but weighted according to their rating, play\nhistory, and so on.\n\nYou configure BASS using flags or environment vars:\n\n| Flag                     | Env var                  | Description                                                                                                                         |\n|--------------------------|--------------------------|-------------------------------------------------------------------------------------------------------------------------------------|\n| subsonic-server          | SUBSONIC_SERVER          | Base URL for the server, e.g. https://music.example.com/                                                                            |\n| subsonic-user            | SUBSONIC_USER            | Username for the subsonic server, may be blank if auth is not required                                                              |\n| subsonic-pass            | SUBSONIC_PASS            | Password for the subsonic server, may be blank if auth is not required                                                              |\n| run-at                   | RUN_AT                   | Time to run playlist generation. If not specified, runs immediately. Must be a full time including timezone (e.g. `03:00:00+02:00`) |\n| playlist-name            | PLAYLIST_NAME            | Name of the playlist to create/update (default: \"Daily Mix\")                                                                        |\n| target-length            | TARGET_LENGTH            | Total length of tracks to add to the playlist (default: 18 hours)                                                                   |\n| weight-starred           | WEIGHT_STARRED           | How to weight starred (loved) tracks (default: 20)                                                                                  |\n| weight-rated-1           | WEIGHT_RATED_1           | How to weight tracks rated 1/5 (default: 0)                                                                                         |\n| weight-rated-2           | WEIGHT_RATED_2           | How to weight tracks rated 2/5 (default: 0.5)                                                                                       |\n| weight-rated-3           | WEIGHT_RATED_3           | How to weight tracks rated 3/5 (default: 1)                                                                                         |\n| weight-rated-4           | WEIGHT_RATED_4           | How to weight tracks rated 4/5 (default: 5)                                                                                         |\n| weight-rated-5           | WEIGHT_RATED_5           | How to weight tracks rated 5/5 (default: 10)                                                                                        |\n| weight-never-played      | WEIGHT_NEVER_PLAYED      | How to weight tracks with a play count of zero (default: 5)                                                                         |\n| weight-rarely-played     | WEIGHT_RARELY_PLAYED     | How to weight tracks with a play count under half the average (default: 3)                                                          |\n| weight-frequently-played | WEIGHT_FREQUENTLY_PLAYED | How to weight tracks with a play count over double the average (default: 1)                                                         |\n| weight-same-album        | WEIGHT_SAME_ALBUM        | How to weight tracks from the same album as the previous song (default: 20)                                                         |\n| weight-same-artist       | WEIGHT_SAME_ARTIST       | How to weight tracks from the same artist as the previous song (default: 15)                                                        |\n| weight-same-genre        | WEIGHT_SAME_GENRE        | How to weight tracks from the same genre as the previous song (default: 10)                                                         |\n| weight-early-track       | WEIGHT_EARLY_TRACK       | How to weight tracks at positions 1-3 on an album (default: 10)                                                                     |\n| weight-middle-track      | WEIGHT_MIDDLE_TRACK      | How to weight tracks at positions 4-6 on an album (default: 5)                                                                      |\n| weight-late-track        | WEIGHT_LATE_TRACK        | How to weight tracks at positions 7-10 on an album (default: 1)                                                                     |\n| weight-extended-track    | WEIGHT_EXTENDED_TRACK    | How to weight tracks at positions 11+ on an album (default: 0.75)                                                                   |\n| weight-duplicate         | WEIGHT_DUPLICATE         | How to weight tracks that have already been picked (default: 0)                                                                     |\n| log.level                | LOG_LEVEL                | Minimum level of logs which should be displayed (default: INFO; alternatives: WARN, ERROR, DEBUG)                                   |\n| log.format               | LOG_FORMAT               | Format for logs (default: text; alternatives: json)                                                                                 |\n\n## Weighting algorithm\n\nEach track starts with a weight of `1.0`, which is then multiplied by five\ncomponents:\n\n- The score from the track rating (starred, rated 1-5)\n- The score from the play count (never played, rarely played, frequently played)\n- The score from matching the last song (album, artist, genre)\n- The score from being a duplicate\n- The score from the track position on the album (early, middle, late, extended)\n\nThe first listed weight wins within each section (e.g., if a song is both\nstarred and rated 5, its \"track rating\" score will be the starred weight).\n\nA weight of `1.0` makes no change, a weight of `0.0` excludes the track\nentirely, and higher weights make it more likely to be picked.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsmith%2Fbass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcsmith%2Fbass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcsmith%2Fbass/lists"}