{"id":13732734,"url":"https://github.com/0nse/now_playing","last_synced_at":"2025-05-08T08:32:12.213Z","repository":{"id":80529854,"uuid":"80955375","full_name":"0nse/now_playing","owner":"0nse","description":":musical_note: Output the currently scrobbling song","archived":false,"fork":false,"pushed_at":"2017-02-04T23:28:52.000Z","size":173,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-15T01:32:58.594Z","etag":null,"topics":["i3bar","i3blocks","last-fm","lastfm","lemonbar","polybar"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0nse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-02-04T23:23:40.000Z","updated_at":"2024-10-19T08:46:11.000Z","dependencies_parsed_at":"2024-01-06T12:18:57.996Z","dependency_job_id":"4425e7d4-958c-4c80-9eb0-323f126ff633","html_url":"https://github.com/0nse/now_playing","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/0nse%2Fnow_playing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0nse%2Fnow_playing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0nse%2Fnow_playing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0nse%2Fnow_playing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0nse","download_url":"https://codeload.github.com/0nse/now_playing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253029155,"owners_count":21843032,"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":["i3bar","i3blocks","last-fm","lastfm","lemonbar","polybar"],"created_at":"2024-08-03T03:00:33.133Z","updated_at":"2025-05-08T08:32:11.654Z","avatar_url":"https://github.com/0nse.png","language":"Python","funding_links":[],"categories":["Plugins"],"sub_categories":[],"readme":"# Now Playing\n\nNow Playing is a Python 3 script that queries Last.FM for the song you are\ncurrently scrobbling. Its output can be used to determine what you are currently\nlistening disregarding of your used service or device.\n\nYou will have to set your [API key](www.last.fm/api/account/create) and user\nname in the `data/data.json` file. After that, simply execute the script.\n\n## Usage with polybar\n\nYou can use this script to display your playing music in a status bar such as\n[polybar](https://github.com/jaagr/polybar).\n[![polybar using the Now Playing script](polybar.png)](polybar.png)\n\nThe following code shows an example for integrating this script with polybar as\nshown in the screenshot above.\n```ini\n[module/now_playing]\ntype = custom/script\n\nexec = \"python $HOME/.scripts/now_playing.py\"\n\ntail = true\n\nformat = \u003clabel\u003e\nformat-prefix = \" \"\nformat-prefix-foreground = ${colors.foreground}\n\nlabel = %output:0:50%\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0nse%2Fnow_playing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0nse%2Fnow_playing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0nse%2Fnow_playing/lists"}