spacek33z / lazy-tv Goto Github PK
View Code? Open in Web Editor NEWBig Picture TV Mode
Big Picture TV Mode
We try to be smart now and only start a game when it's not already running, but sometimes you want to even open it if it is already running.
use-case is Youtube TV.
In Windows, if you click twice on a game, it will open it in two windows.
Many solutions are provided here: https://stackoverflow.com/questions/12010103/launch-a-program-from-command-line-without-opening-a-new-window and https://superuser.com/questions/297850/is-there-a-command-line-utility-equivalent-to-wmctrl-on-windows
Maybe a notification somewhere? Or just a simple visual indicator that it is busy launching something.
It should show a warning when CPU/GPU load is high, so you can close a game or do something about it.
For a more "authentic" feel, navigating between games should have a subtle sound effect.
Preferably you would not have to fill in the title of a game each time. It could autofill and then let you edit it.
Or maybe just remove the field completely, since we don't show it anywhere anyway.
At the moment you need to upload a game poster with 400x600 dimensions, or else it looks like poo. I should offer a crop / resize feature that makes this easier.
At the moment you can only add/delete games, not edit them.
I think navigating one up with the keyboard should select the action menu. In the action menu there should be a shutdown icon. Clicking on it will show a menu where you can either choose shutdown or sleep system.
For bonus points: clicking on one of these options will give you 7 seconds to reconsider.
After focusing the game overview list, it has focus so it will try to scroll when using left and right arrows. We can easily prevent this with a event.preventDefault()
, but the gamepad library we're using makes that more difficult.
on PS4, when a game is selected for a while, it starts having subtle animations. I want something like this too.
When a game is not selected, it should be a bit smaller. When you select it, it should be the size it now has. That way you can see more clearly what game is selected. Netflix and PS4 also do this.
Depends on #1.
If a game is running, it should be possible to close it with the press of a button.
The package fkill does exactly what I have implemented now specifically for Windows, but it works for all platforms.
You should be able to re-order games (by drag-drop?).
It should be possible to start YouTube from Lazy TV.
Integration with Spotify would be a killer feature. Just showing currently playing would already be nice.
To minimize CPU/MEM usage, the task manager should stop polling tasks when the window is not in focus anyway. When the window is in focus again, we can force a task list refresh so the user quickly sees the latest data.
On the PS4 controller, it should be possible to go to the Lazy TV app when pressing on the PS4 button.
I can probably do this with DS4 tool.
It should be possible to see if a game added through Lazy TV is running. Running games should have a special mark in the interface.
I noticed that in Windows, the process in the process manager (always?) has the name of the exe that was started. So C: \Program Files\Besiege\Besiege.exe
shows up as Besiege.exe
in the process manager. We can use this information to see if a game is running.
It isn't possible to scroll horizontally.
There should be a clock, I think at the top-right is best.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.