{"id":16521526,"url":"https://github.com/cyphunk/op1vacation","last_synced_at":"2025-10-09T05:10:15.371Z","repository":{"id":136152343,"uuid":"97497754","full_name":"cyphunk/op1vacation","owner":"cyphunk","description":"Backup albums,tracks,samples from Teenage Engineering OP-1 to Raspberry Pi Zero","archived":false,"fork":false,"pushed_at":"2017-08-26T10:25:33.000Z","size":770,"stargazers_count":28,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T17:14:29.011Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cyphunk.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-17T16:31:27.000Z","updated_at":"2025-03-19T01:35:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"325d2ecb-b675-4d4c-8421-3805ddb94a14","html_url":"https://github.com/cyphunk/op1vacation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cyphunk/op1vacation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyphunk%2Fop1vacation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyphunk%2Fop1vacation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyphunk%2Fop1vacation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyphunk%2Fop1vacation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cyphunk","download_url":"https://codeload.github.com/cyphunk/op1vacation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cyphunk%2Fop1vacation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000742,"owners_count":26082933,"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-09T02:00:07.460Z","response_time":59,"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":"2024-10-11T16:56:45.175Z","updated_at":"2025-10-09T05:10:15.366Z","avatar_url":"https://github.com/cyphunk.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OP1vacation\n\n![marx was right](./.marxwasright.jpg)\n\nThis is just a simple script to copy new album tracks, samples, files from\nTeenage Engineering's OP-1 over to a Raspberry Pi Zero. Motivation was to have a\nmethod to offload albums and samples from the OP-1 while on vacation, without\nhaving to lug around a laptop. You might be able to do the same with a\nsmartphone that supports USB OTG but I do not have such a thing. So...\n\n**Warning: This is not the most stable of systems for keeping files. Use at your\nown risk**\n\n\n## Use\n\nConnect USB battery to Raspberry Pi, setup OP-1 into disk mode and connect it\nto the USB of the Raspberry Pi. New files will be copied from OP-1 to SD card of\nRaspberry Pi into a directory based on the date set on the OP-1 using the format\n``\"YYMMDD_HHMMSS\"``. Copy could take up to 4 minutes.\n\nWhen copy is complete the **end copy** ACT LED sequence will loop. See code for\ndetails.\n\n\n## Setup\n\nLogin to your Raspberry Pi and copy the ``sync.sh`` script and configure it to\nrun as root upon each boot:\n\n    wget https://raw.githubusercontent.com/cyphunk/op1vacation/master/sync.sh -O /home/pi/sync.sh\n    sudo su\n    echo \"/home/pi/sync.sh \u0026\" \u003e\u003e /etc/rc.local\n\n\n## Options\n\n### Test locally\n\nOn linux systems executing ``sync.sh`` and connecting a OP-1 should also work.\n\n### Use 3rd FAT partition\n\nNew files can be access on the SD card by placing the SD card into a reader on\na Linux system. However, if you add a 3rd fat partition to the Raspberry Pi SD\ncard you can also access the files in OSX systems. To facilitate this option\nthe script will copy all new OP1 files to the 3rd partition if it exists.\n\n### Run action after copy\n\nIf the ``afterallcopied.sh`` script is found it will be run after files have\nbeen copied. The current script attempts to remove silence at end of albums and\ntapes to reduce size, and then transcodes new album tracks into mp3's.\n\n\n## License\n\nLicense: Non-White-Heterosexual-Male\n\nIf you are not a white heterosexual male you are permitted to copy, sell and use\nthis work in any manner you choose without need to include any attribution you\ndo not see fit. You are asked as a courtesy to retain this license in any\nderivatives but you are not required. If you are a white heterosexual male you\nare provided the same permissions (reuse, modification, resale) but are\nrequired to include this license in any documentation and any public facing\nderivative. You are also required to include attribution to the original author\nor to an author responsible for redistribution of a derivative.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyphunk%2Fop1vacation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcyphunk%2Fop1vacation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcyphunk%2Fop1vacation/lists"}