Comments (7)
Some more thoughts, since I worked a little with the code in the meantime...
-
I think it makes sense to have a config parameter for the amount of time, the sender and caption is shown. Maybe there can be three options like 0,1,2 meaning not shown, full time and half time of the slideshow-interval.
BTW: @LukeSkywalker92 , is there a fallback in the case that a user forgets one of the parameters in the config? Maybe we should implement that the TeleFrame uses the config.example.js values in case of undefined parameters.
Related question: I once tried to "deactivate" the voice reply action by removing the parameters from the config file. However, this gave errors on long-press. Is there a proper way to deactivate this feature? -
I solved that. I had to uncomment the
config_hdmi_boost=4
line in/boot/config.txt
. Seems to be related to the RPi 3A+, if I'm the only one with this issue.
from teleframe.
Config parameter for the amount of time and #69 was implemented in feature/caption-sender-fullscreen.
config.js
...
interval: 10 * 1000,
showCaption: true,
// To output sender caption, use the entire screen
useFullscreenForCaptionAndSender: true,
// Defines the percentage of the duration of <interval> to show sender and caption.
// minimum value: 10 = fade out after 10% of <interval>
// maximum value: 100 = full time. sender and caption does not fade out
senderAndCaptionDuration: 50,
...
But the release has to wait until we have #66 finished.
from teleframe.
Nice implementation, thank you!
What is the status of #35 and #53? Also postponed until #66 is decided?
from teleframe.
IMO it is better to integrate the waiting PR's only after changing the configuration handling. Especially #35 will only work if the configuration is to be changed by external commands.
from teleframe.
Sure, I agree. Too bad that Christmas is that early this year :P
from teleframe.
There are seven days left. I am optimistic that we will be able to do a few more things 😏
from teleframe.
from teleframe.
Related Issues (20)
- Default touch gestures on Waveshare 10.1 display HOT 1
- Installation problems caused by non compatible versions of node/npm
- keys a,l,k,left,right not working in other apps when TeleFrame is running
- Telefram stratet nicht HOT 5
- Allow (encrypted!) messages from Signal
- Text messages possible? HOT 1
- Message that the teleframe is powered on and ready to receive new pictures
- Charging State / Battery State
- turnOffHour HOT 1
- ToggleMonitor, TurnOnHour and TurnOffHour in 7" touch monitor with Raspi 4 not working HOT 2
- How to modify required settings? HOT 2
- White screen between image changes HOT 3
- stuck at splash screen "TeleFrame" HOT 9
- Reboot fails HOT 23
- No Image delete in bot mode HOT 2
- TeleFrame funktioniert nach Neustart nicht mehr HOT 1
- Automatic install & run issues with Raspberry Pi Os Bullseye HOT 3
- Black screen with logo on Debian HOT 3
- Depreciation warnings on npm install
- Not working in newer Electron versions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teleframe.