Repository navigation
Customise home screen: Apple TV dock, TV Channels tile, clock extras,… - #35
sainjalpolys wants to merge 8 commits into
Conversation
… weather - Dock (icons layout): compact Apple TV-style brand cards with gloss, focus lift/spring, shine sweep and staggered rise-in animation - Default Home apps set to Netflix, YouTube and a TV Channels tile (switches to HDMI 2 for the cable box); new channels icon - Clock area: greeting, large time with seconds, day/date and Kochi location line; photo name shown bottom-left - Weather: live temperature + condition icon for Kochi via Open-Meteo (internet privilege + single access origin added to config.xml) - Removed Art Mode control (non-Frame TV); updated browser test counts - preview/: screenshots of each step
|
The weather location is currently hardcoded to Kochi in Also, this project is specifically for Samsung The Frame TVs, and removing Art Mode from |
- Weather location is now chosen in Settings → Weather and saved per TV (13 presets + "Weather off"); removes the hardcoded Kochi value from PLACE/forecast URL. Default remains Kochi for existing installs. - Restore the Art Mode control and show it only when the TV reports the Art app (Frame TVs); hidden on non-Frame TVs via FrameDevice.artSupported().
@skynet01 : Thanks — addressed both in 95bbcd7. Weather location is now a Settings → Weather picker saved per TV (13 presets + off), no source editing. Art Mode is restored and shown only when the TV reports the Art app, so it stays available on Frames and hides on non-Frame sets. |
The appearance detail list had no scrolling, so long option lists (the new Weather city list) ran off-screen. Bound the panel height, clip overflow and scroll the focused row into view. Short groups and the wallpaper picker are unaffected.
New Settings → Style toggle, saved per TV: - Apple (default): compact brand cards across all app displays (icons/both/text), large clock with seconds, greeting, date, location and weather, plus animations. - Normal: the classic CleanFrame dock, shelf and compact clock. Dock geometry is now per-style; Apple cards centre their content with flex so icons/both/text stay consistent. Clock-area extras are gated to the Apple style.
- Fix logo alignment: the mark keeps position:relative so the masked icon centres inside its own box (was sticking to the card's top-left in both/text) - Larger centred logos in Icons mode; balanced logo+label in Both; tidier card sizes and corner radius - Smoother dock scroll/reflow (440ms) and a gentler focus spring; softer intro
The greeting, large clock, date, location and weather now show in both Apple and Normal styles. The Style setting controls only the dock appearance (Apple brand cards vs the classic CleanFrame dock).
With more than five apps the dock used "broad" mode and stretched to the full screen width, leaving empty space. In Apple style the dock is now exactly as wide as its tiles (up to the screen shelf) and centred; it scrolls only when more apps exist than fit (e.g. over six in Both/Text).
Apply the fit-to-tiles, centred dock to the Normal style as well, replacing the broad mode that stretched the shelf across the screen for six or more apps. Both styles now scroll only when more apps exist than fit.
… weather