{"id":31943164,"url":"https://github.com/prplecake/media-server-scripts","last_synced_at":"2025-10-25T21:10:54.179Z","repository":{"id":115774987,"uuid":"445278762","full_name":"prplecake/media-server-scripts","owner":"prplecake","description":"Scripts to aid the administration of a media server","archived":false,"fork":false,"pushed_at":"2023-09-25T22:09:26.000Z","size":22,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-05-01T17:41:35.323Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/prplecake.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}},"created_at":"2022-01-06T18:56:20.000Z","updated_at":"2022-03-20T22:53:49.000Z","dependencies_parsed_at":"2023-07-04T02:53:08.332Z","dependency_job_id":null,"html_url":"https://github.com/prplecake/media-server-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prplecake/media-server-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fmedia-server-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fmedia-server-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fmedia-server-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fmedia-server-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prplecake","download_url":"https://codeload.github.com/prplecake/media-server-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prplecake%2Fmedia-server-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018556,"owners_count":26086404,"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-14T02:00:06.444Z","response_time":60,"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":"2025-10-14T09:49:21.582Z","updated_at":"2025-10-14T09:49:27.836Z","avatar_url":"https://github.com/prplecake.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# media-server-scripts\n\nThese scripts aid in the administration of a media server, most were\nwritten with Plex in mind. Some scripts are intended for seedboxes, and\nthe others are intended for the media server itself.\n\n## amc.sh\n\nThis script automates organizing media once it's downloaded. This script\nis called by `lftp_sync` after it's done.\n\nIt sources a `.env` file for a `$PLEX_MEDIA_DIR` variable.\n\n```bash\necho \"PLEX_MEDIA_DIR=/mnt/Media\" \u003e .env\n```\n\n## lftp_sync\n\nThis script automates downloading files from a remote server, like a\nseedbox. It depends on lftp and requires configuration to suit your\nsituation.\n\nMy seedbox is configured in `~/.ssh/config`, so lftp can use pubkey\nauthentication.\n\nOn the remote side (on the seedbox itself), my rtorrent config creates a\nhardlink to a separate directory that lftp pulls from. **As a result,\nthe unmodified `lftp_sync` REMOVES SOURCE DIRECTORIES.**\n\nI run `lftp_sync` every five minutes with a cronjob.\n\n```text\n*/5 * * * * ~/lftp_sync\n```\n\n## update_plex\n\nThis script simply updates Plex. It requires a single argument that is\nthe URL to download the Plex update.\n\nBy default it downloads the `linux-x86_64` build for Debian.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprplecake%2Fmedia-server-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprplecake%2Fmedia-server-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprplecake%2Fmedia-server-scripts/lists"}