{"id":20215912,"url":"https://github.com/pkarpovich/content-collector","last_synced_at":"2026-05-31T01:31:16.225Z","repository":{"id":164978642,"uuid":"612763401","full_name":"pkarpovich/content-collector","owner":"pkarpovich","description":"Local Apple TV content aggregator: Easily collect, store, and manage media playback data from your Apple TV in a centralized database","archived":false,"fork":false,"pushed_at":"2024-04-25T05:34:36.000Z","size":20,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T22:16:47.484Z","etag":null,"topics":["appletv","content-collector"],"latest_commit_sha":null,"homepage":"","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/pkarpovich.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":"2023-03-11T22:35:36.000Z","updated_at":"2023-06-02T10:20:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"810af453-6dcc-49c7-b3e3-b481f684d527","html_url":"https://github.com/pkarpovich/content-collector","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/pkarpovich%2Fcontent-collector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Fcontent-collector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Fcontent-collector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pkarpovich%2Fcontent-collector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pkarpovich","download_url":"https://codeload.github.com/pkarpovich/content-collector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241652964,"owners_count":19997578,"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":["appletv","content-collector"],"created_at":"2024-11-14T06:25:24.467Z","updated_at":"2026-05-31T01:31:16.166Z","avatar_url":"https://github.com/pkarpovich.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Content collector\n\n## Description\nThis is a simple application that collects playing content from local Apple TV and stores it in a database\n\n## Environment Variables\n* `ATV_NAME` - Name of the Apple TV\n* `ATV_ID` - ID of the Apple TV\n* `ATV_AIR_PLAY_CREDENTIALS` - AirPlay credentials of the Apple TV\n* `ATV_COMPANION_CREDENTIALS` - Companion credentials of the Apple TV\n* `ATV_RAOP_CREDENTIALS` - RAOP credentials of the Apple TV\n* `DATABASE_PATH` - Path to the database file\n* `SLEEP_TIMEOUT` - Time to sleep between each collect in seconds\n\n## Commands\n* `make backup` - Make a backup of the database\n* `make redeploy` - Redeploy the application\n\n## Backups\nThis application data could be backup by restic. To do so, you need to setup repository:\n```bash\nrestic init -r /path/to/repo\n```\nSet environment variables for repository:\n```bash\nexport RESTIC_PASSWORD=your_password\nexport RESTIC_REPOSITORY=/path/to/repo\n```\nMake a backup file executable:\n```bash\nchmod +x backup.sh\n```\nSchedule a backup with cron if needed:\n```bash\ncrontab -e\n\n0 0 * * * /path/to/backup.sh\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkarpovich%2Fcontent-collector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpkarpovich%2Fcontent-collector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpkarpovich%2Fcontent-collector/lists"}