{"id":23861074,"url":"https://github.com/rennerdo30/casevision","last_synced_at":"2026-05-16T00:08:11.100Z","repository":{"id":270748469,"uuid":"911335830","full_name":"rennerdo30/casevision","owner":"rennerdo30","description":"Scripts to setup and remote control video ouput of a raspberry pi. Mainly used for displays in pc-cases. Only tested with Jonsbo D41","archived":false,"fork":false,"pushed_at":"2025-01-02T20:22:10.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T20:32:50.254Z","etag":null,"topics":["display","raspberry-pi","raspberry-pi-w-2","raspberrypi","vlc"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/rennerdo30.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":"2025-01-02T19:20:58.000Z","updated_at":"2025-01-02T20:22:14.000Z","dependencies_parsed_at":"2025-01-02T20:32:54.236Z","dependency_job_id":"f95f6de5-e24b-4f23-ac89-ffa3c397d10d","html_url":"https://github.com/rennerdo30/casevision","commit_stats":null,"previous_names":["rennerdo30/casevision"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennerdo30%2Fcasevision","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennerdo30%2Fcasevision/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennerdo30%2Fcasevision/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rennerdo30%2Fcasevision/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rennerdo30","download_url":"https://codeload.github.com/rennerdo30/casevision/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170055,"owners_count":19759141,"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":["display","raspberry-pi","raspberry-pi-w-2","raspberrypi","vlc"],"created_at":"2025-01-03T05:46:51.290Z","updated_at":"2026-05-16T00:08:06.077Z","avatar_url":"https://github.com/rennerdo30.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CaseVision\n\nCaseVision transforms your computer case display into a dynamic video panel. Originally designed for the Jonsbo D41 case using a Raspberry Pi Zero 2 W, this project turns the case's built-in display into a controllable media screen.\n\n![image](doc/img/webui.png)\n\n\n## Features\n\n- 🎥 Seamless video playback with hardware acceleration\n- 🌐 Web-based control interface\n- 📁 Local media file management (upload, delete, select)\n- 🔗 URL-based media playback support\n- ⚙️ Customizable VLC command-line parameters\n- 🔄 Automatic rotation support (preconfigured for Jonsbo D41)\n- 🔧 Systemd service integration for reliable operation\n\n## Hardware Requirements\n\n- (Jonsbo D41 Case)\n- Raspberry Pi Zero 2 W (recommended, tested)\n\n## Software Requirements\n\n- Raspberry Pi OS Lite 32bit (recommended)\n- Python 3.7+\n- VLC media player\n- Web browser for control interface\n\n## Quick Installation\n\n1. Run the installation script:\n```\ncurl https://raw.githubusercontent.com/rennerdo30/casevision/refs/heads/master/install.sh | bash \n```\n\nThe script will automatically:\n- Install required packages\n- Configure system settings\n- Set up services\n- Configure display rotation\n- Create required directories\n- Start the web interface\n\n## Manual Installation\n\nIf you prefer to install manually, follow these steps:\n\n1. Install required packages:\n```bash\nsudo apt-get update\nsudo apt-get install vlc-plugin-base python3-flask python3-pip git\n```\n\n2. Create application directories:\n```bash\nsudo mkdir -p /opt/casevision/{templates,videos}\nsudo chown -R $USER:$USER /opt/casevision\n```\n\n3. Copy application files:\n```bash\ncp app.py /opt/casevision/\ncp templates/index.html /opt/casevision/templates/\n```\n\n4. Configure system services:\n```bash\nsudo cp systemd/casevision-control.service /etc/systemd/system/\nsudo cp systemd/casevision-playback.service /etc/systemd/system/\nsudo systemctl daemon-reload\nsudo systemctl enable casevision-control casevision-playback\nsudo systemctl start casevision-control casevision-playback\n```\n\n## Usage\n\n1. Access the web interface at `http://[raspberry-pi-ip]:8080`\n\n2. Through the interface you can:\n   - Upload new media files\n   - Select and play existing media\n   - Play media from URLs\n   - Delete media files\n   - Modify VLC command-line parameters\n\n3. Media files are stored in `/opt/casevision/videos`\n\n## Configuration\n\n### Display Settings\nThe display is preconfigured for the Jonsbo D41 case (270-degree rotation). If needed, you can modify the rotation in `/boot/config.txt`:\n```\ndisplay_rotate=3  # 3 = 270 degrees\n```\n\n### VLC Settings\nDefault VLC settings are optimized for the case display:\n- Framebuffer output for direct rendering\n- Hardware acceleration enabled\n- Automatic video rotation\n- Loop playback enabled\n\n## Troubleshooting\n\n1. If the web interface is not accessible:\n   - Check if the service is running: `sudo systemctl status casevision-control`\n   - Verify the firewall allows port 8080\n\n2. If videos don't play:\n   - Check service status: `sudo systemctl status casevision-playback`\n   - Verify file permissions in `/opt/casevision/videos`\n   - Check system logs: `journalctl -u casevision-playback`\n\n3. Display issues:\n   - Verify HDMI connection\n   - Check rotation settings in `/boot/config.txt`\n   - Ensure display resolution is set correctly\n\n## Project Structure\n```\n/opt/casevision/\n├── app.py              # Web application\n├── templates/          # Web interface templates\n├── videos/            # Media storage\n└── vlc_config.json    # VLC configuration\n\n/etc/systemd/system/\n├── casevision-control.service\n└── casevision-playback.service\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nReleased under the MIT License. See the LICENSE file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frennerdo30%2Fcasevision","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frennerdo30%2Fcasevision","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frennerdo30%2Fcasevision/lists"}