{"id":18048306,"url":"https://github.com/relintai/rpi_player","last_synced_at":"2025-04-05T05:16:24.445Z","repository":{"id":107319092,"uuid":"374138083","full_name":"Relintai/rpi_player","owner":"Relintai","description":null,"archived":false,"fork":false,"pushed_at":"2021-06-20T10:08:26.000Z","size":1178,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T13:14:06.957Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/Relintai.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":"2021-06-05T14:43:04.000Z","updated_at":"2021-06-20T10:08:28.000Z","dependencies_parsed_at":"2023-07-02T09:22:45.632Z","dependency_job_id":null,"html_url":"https://github.com/Relintai/rpi_player","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/Relintai%2Frpi_player","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Relintai%2Frpi_player/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Relintai%2Frpi_player/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Relintai%2Frpi_player/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Relintai","download_url":"https://codeload.github.com/Relintai/rpi_player/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289432,"owners_count":20914464,"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-30T20:12:23.036Z","updated_at":"2025-04-05T05:16:24.416Z","avatar_url":"https://github.com/Relintai.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RPI player\n\nWill be a simple media player frontend for raspberry pis based on SDL2. Think like oldschool mp4 players.\n\nThe idea is to make it super simple and efficient so that it can be used on a pi zero with small lcd screens.\n\n## Compilation\n\nWill only work on linux! Works on the rasberry pi.\n\n### Dependencies\n\nArch/Manjaro:\n\n``` \npacman -S --needed scons pkgconf gcc yasm libevent\n```\n\nDebian/Raspian:\n\n```\nsudo apt-get install build-essential scons pkg-config libudev-dev yasm libevent libevent-dev\n```\n\nOptionally if you install MariaDB/MySQL and/or PostgreSQL the compile system should pick it up. Make sure to get a version\nwhoch contains the development headers (A bunch of .h files).\n\n### Initial setup\n\nclone this repo, then call `scons`, it will clone rcpp cms into a new engine directory. Run this every time you update the project.\nYou don't have to run it before / between builds.\n\n```\n# git clone https://github.com/Relintai/rcpp_sample_simple_data_collector_app.git rcpp_sample_simple_data_collector_app\n# cd school_industrial_comm_2021\n# scons\n```\n\nNow you can build the project like: `scons bl`.  ([b]uild [l]inux)\n\nAdding -jX to the build command will run the build on that many threads. Like: `scons bl -j4`.\n\n```\n# scons bl -j4\n- or -\n# ./build.sh\n```\nNow you can run it.\n\nFirst run migrations, this will create the necessary database tables:\n\n```\n# ./engine/bin/server m\n- or -\n# ./migrate.sh\n```\n\nNow you can start the server:\n\n```\n# ./engine/bin/server\n- or -\n# ./run.sh\n```\n\nMake sure to run it from the project's directory, as it needs data files.\n\nNow just open http://127.0.0.1:8080\n\nYou can push floats to the \"a/b\" MQTT topics, and the new values will be save in the `database.sqlite` file, and will appear\nin your browser.\n\nIf you have mosqitto installed you can use the `publish_random_data.py` or `publish_data.sh` scripts to automatically\npush things into the proper MQTT topic.\n\n## Structure\n\nThe main Application implementation is `app/ic_application.h`.\n\nThe `main.cpp` contains the initialization code for the framework.\n\nThe `content/www` folder is the wwwroot.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelintai%2Frpi_player","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frelintai%2Frpi_player","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frelintai%2Frpi_player/lists"}