Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 08-05-2021, 01:35 AM   #1
0x6c616d70
HP: 9%
0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
Active Photo Album

This is a striped down version of a personal project.
I use it as a dashboard (it can easily be modified to be so thanks to pillow(python), but I'm releasing this for a more popular use case.

How it works:
There are three distinct kindle states that this app distinguishes
  1. Screensaver layer is ON & Screen power is OFF = Screensaver
  2. Screensaver layer is ON & Screen power is ON = Lock screen
  3. Screensaver layer is OFF & Screen power is ON = Active use
It takes advantage of the 2nd state, a state that doesn't automatically freeze or close the app, and displays a composite images to the screen at set intervals. This will continue indefinitely, until you switch to another state or the battery dies.

The script in the "extensions/screengen" folder restarts it if it somehow closes, and opens it after reboot.

There's really not much to say about it... you can add your own modules/data to the display using pillow.

Requirements:
  • Jailbreak
  • Python 3
  • KUAL
  • Linkss(recommended)

Install and Start:
  • Copy paste to root directory or "/mnt/us"
  • Run through KUAL
  • Go to screensaver then lock screen

Update:
  • Overwrite the python(.py) files in "screengen" folder

Configure:
  • Go to screengen folder or "/mnt/us/screengen"
  • Edit config.py
  • Under "# Settings" you have several options for configuration
  • Alter task_one_timer to change image cycle frequency
  • Alter task_two_timer to change data and screen refresh frequency
  • Remember to add images with descriptive names to the "photos" folder


Note:
The program itself seems stable enough for release, but I'm still on the process of making the code look cleaner, and making it easier to add modules.

You may have to disable this on KUAL and Reboot to disable, this is easy to patch up in code but...

Special Credits:
  • Jailbreak Community - I'm not sure who specifically to credit for this, but without it, this wouldn't be viable in the first place
  • NiLuJe - For building the tools necessary to run this Python, fbink, and linkss
  • Peterson - For the Online Screensaver whose SH code I borrowed and which served as as an inspiration for this project
Attached Files
File Type: zip 0.9.6.zip (717.8 KB, 37 views)
File Type: zip 0.10.0.zip (708.7 KB, 29 views)
File Type: zip 0.12.zip (718.7 KB, 0 views)

Last edited by 0x6c616d70; 09-15-2021 at 08:37 AM.
0x6c616d70 is offline   Reply With Quote
Old 08-05-2021, 02:32 AM   #2
0x6c616d70
HP: 9%
0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.0x6c616d70 ought to be getting tired of karma fortunes by now.
 
Posts: 62
Karma: 2225752
Join Date: Jun 2021
Location: Philippines
Device: Paperwhite 4
REMEMBER:
  • Download only the latest version (I'm just leaving the rest up because I like seeing the numbers)
  • Edit the settings in config.py, disable the modules you don't like
  • Resize your photos ahead of time otherwise the script will stretch or squish it

Known Issues
  • Runs concurrent with KOReader - uses the same kindle state

Update Log:
Code:
0.9.4 - initial release
0.9.5 & 0.9.6 - quick fix
0.10.0 - added a large clock with day date month
0.12.0 - fixed text alignment, and some refactoring

Last edited by 0x6c616d70; 09-15-2021 at 08:40 AM.
0x6c616d70 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Book covers/ jackets into an album for displaying on e-photo frame cclambie Calibre 1 01-09-2016 02:15 AM
add photo album to your fixed layout epub 3 book ??!! ali_86 ePub 1 12-14-2012 11:16 AM
Add photo album to your KOBO cameraman61 Kobo Reader 3 12-05-2010 08:12 PM
TIP: Use ImpGlue to quickly and easily produce a Photo Album (For REB 1200) nrapallo IMP 4 04-27-2008 07:42 PM


All times are GMT -4. The time now is 10:17 PM.


MobileRead.com is a privately owned, operated and funded community.