{"id":51130769,"url":"https://github.com/anders94/eyezo-tvos","last_synced_at":"2026-06-25T12:01:27.794Z","repository":{"id":358348140,"uuid":"1240992902","full_name":"anders94/eyezo-tvos","owner":"anders94","description":"A lightweight tvOS app for browsing and playing videos from video-server.","archived":false,"fork":false,"pushed_at":"2026-06-17T19:05:56.000Z","size":28793,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-17T21:06:49.877Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/anders94.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-16T20:37:48.000Z","updated_at":"2026-06-17T19:06:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/anders94/eyezo-tvos","commit_stats":null,"previous_names":["anders94/video-client-tvos","anders94/eyezo-tvos"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anders94/eyezo-tvos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Feyezo-tvos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Feyezo-tvos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Feyezo-tvos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Feyezo-tvos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anders94","download_url":"https://codeload.github.com/anders94/eyezo-tvos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anders94%2Feyezo-tvos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34773843,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-25T02:00:05.521Z","response_time":101,"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":"2026-06-25T12:01:27.015Z","updated_at":"2026-06-25T12:01:27.776Z","avatar_url":"https://github.com/anders94.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EyeZo for tvOS\n\nA lightweight tvOS app for browsing and playing videos from [eyezo-server](https://github.com/anders94/eyezo-server). Features a grid-based UI optimized for TV viewing with standard SwiftUI components and AVPlayerViewController.\n\n## Features\n\n- **Server Configuration**: User-configurable server URL with validation\n- **Grid Layout**: Netflix-style grid browsing optimized for TV\n- **Directory Navigation**: Browse hierarchical folder structures\n- **Video Playback**: Full-screen native video player with standard controls\n- **Thumbnail Previews**: Async thumbnail loading from server\n- **Focus Navigation**: Native tvOS focus engine support\n- **Watch Progress**: Automatic resume playback and progress tracking\n\n## Architecture\n\n- **Platform**: tvOS 15.0+\n- **Language**: Swift 5.0\n- **Framework**: SwiftUI\n- **Pattern**: MVVM\n- **Dependencies**: Zero external dependencies (Apple frameworks only)\n\n## Building the Project\n\n1. **Open the Xcode Project**:\n   - Navigate to `EyeZo-tvOS/` folder\n   - Open `EyeZo-tvOS.xcodeproj`\n\n2. **Select Target Device**:\n   - Choose an Apple TV simulator or your physical Apple TV from the scheme selector\n\n3. **Build and Run**:\n   - Press `Cmd+R` to build and run the app\n\n## Project Structure\n\n```\nEyeZo-tvOS/\n├── EyeZo-tvOS.xcodeproj/\n└── EyeZo-tvOS/\n    ├── EyeZo-tvOSApp.swift          # App entry point\n    ├── Info.plist                    # Network security config\n    ├── Assets.xcassets/              # App icons and assets\n    ├── Models/                       # Data models\n    │   ├── VideoItem.swift\n    │   ├── DirectoryItem.swift\n    │   ├── BrowseResponse.swift\n    │   └── WatchProgress.swift\n    ├── Services/                     # Network \u0026 persistence\n    │   ├── APIService.swift\n    │   └── ServerURLManager.swift\n    ├── ViewModels/                   # Business logic\n    │   └── DirectoryViewModel.swift\n    └── Views/                        # UI components\n        ├── ServerSetupView.swift     # Server configuration\n        ├── DirectoryBrowserView.swift # Grid browser\n        └── VideoPlayerView.swift     # Video player\n```\n\n## Usage\n\n### First Launch\n\n1. App will show server setup screen\n2. Enter your video server URL (e.g., `http://192.168.1.100:3000`)\n3. Press \"Connect\" to validate and save\n\n### Browsing Videos\n\n- Use Apple TV remote directional buttons to navigate the grid\n- Press \"Select\" on a directory to navigate into it\n- Press \"Select\" on a video to start playback\n- Press \"Menu\" button to go back\n\n### Video Playback\n\n- Video plays in full-screen with standard Apple TV controls\n- Press \"Menu\" button to exit player and return to browser\n\n### Settings\n\n- Press the gear icon in the top-right to reconfigure server\n- Press the refresh icon to reload the current directory\n\n## API Requirements\n\nThe app expects a video server with these endpoints:\n\n- `GET /api/health` - Health check (returns 200)\n- `GET /api/browse` - Browse root directory\n- `GET /api/browse/{path}` - Browse subdirectory\n- `GET /api/video/{path}` - Stream video file\n- `GET /api/thumbnail/{path}` - Get video thumbnail\n\nSee the iOS app's README for more details on the expected API format.\n\n## Development\n\n### Requirements\n\n- macOS with Xcode 14.0+\n- tvOS 15.0+ SDK\n- Apple TV simulator or physical Apple TV device\n\n### Testing\n\n- **Simulator**: Use Apple TV 4K simulator in Xcode\n- **Device**: Connect Apple TV via network or USB-C (Apple TV 4K 2nd gen+)\n\n### Focus Testing\n\n- Use simulator keyboard arrows to test focus navigation\n- Verify focus effects are visible (scale, shadow)\n- Test all interactive elements are focusable\n\n## Key Differences from iOS Version\n\n### UI Adaptations\n\n- **Grid Layout**: Uses `LazyVGrid` instead of `List` for better TV experience\n- **Typography**: Larger fonts (min 28pt body text) for 10ft viewing distance\n- **Spacing**: Increased padding (60-80px) for TV safe areas\n- **Focus**: Uses `.buttonStyle(.card)` for automatic focus effects\n\n### Removed Features\n\n- **Pull-to-Refresh**: Not available on tvOS (replaced with manual refresh button)\n- **Touch Gestures**: All interaction via focus-based navigation\n\n### tvOS-Specific Features\n\n- **Focus Engine**: Automatic focus management with directional navigation\n- **Card Style**: Standard tvOS card appearance with focus effects\n- **Remote Support**: Optimized for Siri Remote and game controllers\n\n## Troubleshooting\n\n### App Won't Connect to Server\n\n- Verify server is running and accessible on local network\n- Check Info.plist has `NSAppTransportSecurity` → `NSAllowsArbitraryLoads` set to `true`\n- Ensure Apple TV and server are on same network\n- Try pinging server IP from another device\n\n### Thumbnails Not Loading\n\n- Check server returns thumbnails at `/api/thumbnail/{path}` endpoint\n- Verify thumbnail URLs are accessible\n- Check AsyncImage is receiving valid URLs\n\n### Focus Navigation Issues\n\n- Verify `.buttonStyle(.card)` is applied to focusable elements\n- Check no overlapping views blocking focus\n- Test with simulator keyboard arrows\n\n### Build Errors\n\n- Ensure all files are added to the Xcode project\n- Verify deployment target is tvOS 15.0+\n- Clean build folder (Cmd+Shift+K) and rebuild\n\n## License\n\nMIT License - See [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders94%2Feyezo-tvos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanders94%2Feyezo-tvos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanders94%2Feyezo-tvos/lists"}