{"id":15724484,"url":"https://github.com/knuxify/scrobble2np","last_synced_at":"2025-03-31T01:14:47.262Z","repository":{"id":139954356,"uuid":"280728748","full_name":"knuxify/scrobble2np","owner":"knuxify","description":"Small Python script that checks if you loop a song on last.fm a few times and makes a #nowplaying post on your social media accounts","archived":false,"fork":false,"pushed_at":"2020-07-21T15:19:52.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T20:55:24.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/knuxify.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-07-18T19:55:04.000Z","updated_at":"2020-07-21T15:19:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"e908d52f-7825-447b-a848-2958cfaa894d","html_url":"https://github.com/knuxify/scrobble2np","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/knuxify%2Fscrobble2np","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fscrobble2np/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fscrobble2np/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knuxify%2Fscrobble2np/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knuxify","download_url":"https://codeload.github.com/knuxify/scrobble2np/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246399798,"owners_count":20770908,"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":[],"created_at":"2024-10-03T22:16:48.904Z","updated_at":"2025-03-31T01:14:47.240Z","avatar_url":"https://github.com/knuxify.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# last.fm scrobbles -\u003e #np\n\nPython application that gets your X last scrobbles and, if they're all the same, posts the song as a #np/#nowplaying post. Currently only supports Mastodon.\n\n# Setup\n\n1. Copy the ``settings.json.example`` file to ``settings.json`` and put it in the same directory as run.py.\n2. Fill in the settings file.\n  * If you're planning to use this program as a backend for a public-facing app where everybody can add their own account, set ``\"mastodon_use_app\"`` to ``\"true\"``.\n  * If you want to run the program yourself from e.g. a cron job, rather than letting it run and handle the sleeping intervals by itself, set ``\"run_once\"`` to ``\"true\"``.\n3. Install ``mastodon.py`` with pip3.\n\nNote: settings.json must be in the same directory as the one you're running the script from. (TODO: Add an argument that will allow users to override the default settings file location.)\n\n# TODO\n\n- custom settings file location + argument parsing\n- web interface\n- better crash handlers\n- support for Twitter\n- support for albums\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknuxify%2Fscrobble2np","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknuxify%2Fscrobble2np","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknuxify%2Fscrobble2np/lists"}