Netflix-style TV interface for cineby.gd with full remote control support
npm install tizenbrew-cineby-tvA TizenBrew NPM module that transforms cineby.gd into a Netflix-style TV interface with full remote control support.
1. Install the module:
``bash`
npm install tizenbrew-cineby-tv
2. Configure TizenBrew:
- Add the module to your TizenBrew configuration
- The module will automatically load when visiting cineby.gd
3. Launch cineby.gd on your TV:
- Open TizenBrew
- Navigate to Cineby TV
- The Netflix-style interface will automatically activate
The module can be customized by editing index.js:
`javascript`
var CONFIG = {
viewports: [1920, 1280], // Supported viewport sizes
focusColor: '#E50914', // Focus border color (Netflix red)
focusSize: '4px', // Focus border size
focusAnimation: true, // Enable focus animation
fontSizeMultiplier: 1.2, // Font size multiplier
cardPadding: '16px', // Spacing between cards
hideSelectors: [...], // Elements to hide
focusableSelectors: [...] // Selectable elements
};
1. Style Injection
- Netflix-style CSS with red focus borders
- TV-optimized typography and spacing
- Hide desktop elements
2. Spatial Navigation Engine
- Scans for focusable elements (links, buttons, cards)
- Calculates distances for directional movement
- Falls back to linear navigation when needed
3. Remote Control Mapping
- Maps TV remote keys to navigation actions
- Prevents default browser behavior for arrow keys
- Handles Tizen-specific key codes (10009)
4. Viewport Management
- Forces TV-compatible viewport sizes
- Prevents desktop layout activation
- Responsive to window changes
cineby-tv/
āāā package.json # Module metadata
āāā index.js # Main modification script
āāā README.md # This file
``Contributions welcome! Please:
1. Keep code ES5-compatible
2. Test on Tizen 3.0+
3. Follow the existing code style
4. Test with remote control
MIT License - Feel free to use and modify!
- Developed for TizenBrew
- Inspired by Netflix's TV interface
- Built for cineby.gd
For issues and questions:
- Check the TizenBrew documentation
- Review the console for error messages
- Test on multiple Tizen TV models
---
Enjoy streaming with a Netflix-style experience on your Tizen TV! š¬šŗ