{"id":13512289,"url":"https://github.com/clockworkpi/launcher","last_synced_at":"2025-03-30T22:32:26.302Z","repository":{"id":48784927,"uuid":"134852241","full_name":"clockworkpi/launcher","owner":"clockworkpi","description":"The launcher for GameShell","archived":false,"fork":false,"pushed_at":"2023-01-03T13:06:04.000Z","size":51734,"stargazers_count":333,"open_issues_count":34,"forks_count":79,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-01T14:37:23.330Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clockworkpi.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}},"created_at":"2018-05-25T12:17:13.000Z","updated_at":"2024-10-29T23:03:01.000Z","dependencies_parsed_at":"2023-02-01T06:16:06.277Z","dependency_job_id":null,"html_url":"https://github.com/clockworkpi/launcher","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockworkpi%2Flauncher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockworkpi%2Flauncher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockworkpi%2Flauncher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clockworkpi%2Flauncher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clockworkpi","download_url":"https://codeload.github.com/clockworkpi/launcher/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390883,"owners_count":20769475,"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-08-01T03:01:41.506Z","updated_at":"2025-03-30T22:32:21.293Z","avatar_url":"https://github.com/clockworkpi.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# GameShell launcher\nThis is the launcher for GameShell based on 320x240 resolution and D-Pad layout.\n![Screenshot](https://github.com/clockworkpi/GameShellDocs/blob/master/screenshot.png)\n\n# Create the necessary user and group\n* User name: cpi\n* Password: cpi\n* Group ID: 31415 with group name: cpifav\n\n```\nsudo adduser cpi  \nsudo groupadd cpifav -g 31415  \nsudo adduser cpi cpifav  \n```\n\n# Directory structure\n```\n/home/cpi/\n├── apps\n│   ├── emulators\n│   └── launcher \u003c-Here we are\n│       ├── Menu\n│       ├── sys.py\n│       └── truetype\n├── games\n│   ├── FreeDM\n│   ├── MAME\n│   └── nxengine\n└── music\n```\n## Create the necessary directories\n```\nmkdir -p /home/cpi/apps/emulators  \nmkdir -p /home/cpi/games  \nmkdir -p /home/cpi/music  \n```\n\n# Dependent packages\n* validators, numpy, requests, python-mpd2, beeprint, python-pycurl, python-alsaaudio, python-pygame, python-gobject, python-xlib, python-wicd\n* wicd (For Wi-Fi)\n* mpd (For music player)\n\n## Install dependent packages\n```\nsudo apt-get -y install mpd ncmpcpp git libuser\nsudo apt-get -y install python-wicd  wicd wicd-curses python-pycurl python-alsaaudio python-pygame python-gobject python-xlib   \n\nsudo apt-get -y install python-pip   \nsudo pip install validators numpy requests python-mpd2 beeprint\n```\n\n### With pip install and virtualenv\n\n```\nmkvirtualenv launcher\npip install -r requirements.txt\n```\n\n# Create “.mpd_cpi.conf” config\n\nvim ~/.mpd_cpi.conf\n\n```\nmusic_directory    \"/home/cpi/music\"\nplaylist_directory    \"/home/cpi/music/playlists\"\ndb_file    \"/home/cpi/music/tag_cache\"\nlog_file    \"/tmp/mpd.log\"\npid_file    \"/tmp/mpd.pid\"\nstate_file    \"/home/cpi/music/mpd_state\"\nsticker_file    \"/home/cpi/music/sticker.sql\"\nuser    \"cpi\"\nbind_to_address    \"/tmp/mpd.socket\"\nauto_update    \"yes\"\nauto_update_depth    \"3\" \ninput {\n    plugin \"curl\"\n}\n\naudio_output {\n    type    \"alsa\"\n    name    \"My ALSA Device\"\n}\n\naudio_output {\n    type    \"fifo\"\n    name    \"my_fifo\"\n    path    \"/tmp/mpd.fifo\"\n    format    \"44100:16:2\"\n}\n\nfilesystem_charset    \"UTF-8\"\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclockworkpi%2Flauncher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclockworkpi%2Flauncher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclockworkpi%2Flauncher/lists"}