Skip to content

Commit

Permalink
Merge pull request #163 from txoof/I162_permissions
Browse files Browse the repository at this point in the history
0.5.7.0 Update
  • Loading branch information
txoof authored Aug 2, 2024
2 parents 89fdeef + bdb441a commit 280c7f0
Show file tree
Hide file tree
Showing 19 changed files with 909 additions and 207 deletions.
30 changes: 29 additions & 1 deletion documentation/Plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,32 @@ All plugins are configured through the `paperpi.ini` files. For a single-user co





[start: basic_clock]: #
### [basic_clock](../paperpi/plugins/basic_clock/README.md)
![basic_clock sample image](../paperpi/plugins/basic_clock/basic_clock.layout-L-sample.png)

[end: basic_clock]: #



[start: dec_binary_clock]: #

### [dec_binary_clock](../paperpi/plugins/dec_binary_clock/README.md)

![dec_binary_clock sample image](../paperpi/plugins/dec_binary_clock/dec_binary_clock.layout-L-sample.png)



[end: dec_binary_clock]: #

[start: debugging]: #
### [debugging](../paperpi/plugins/debugging/README.md)
![debugging sample image](../paperpi/plugins/debugging/debugging.layout-L-sample.png)

[end: debugging]: #

[start: default]: #
### [default](../paperpi/plugins/default/README.md)
![default sample image](../paperpi/plugins/default/default.layout-L-sample.png)
Expand Down Expand Up @@ -93,12 +107,13 @@ All plugins are configured through the `paperpi.ini` files. For a single-user co

[end: system_info]: #



[start: word_clock]: #
### [word_clock](../paperpi/plugins/word_clock/README.md) <font color="red">R</font><font color="green">G</font><font color="blue">B</font>
![word_clock sample image](../paperpi/plugins/word_clock/word_clock.layout-L-sample.png)

[end: word_clock]: #

[start: xkcd_comic]: #
### [xkcd_comic](../paperpi/plugins/xkcd_comic/README.md)
![xkcd_comic sample image](../paperpi/plugins/xkcd_comic/xkcd_comic.layout-L-sample.png)
Expand All @@ -111,6 +126,19 @@ All plugins are configured through the `paperpi.ini` files. For a single-user co



















Expand Down
2 changes: 1 addition & 1 deletion install/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function copy_files {
echo "Installing files to $INSTALLPATH"
rsync -a --exclude-from=$EXCLUDE --include-from=$INCLUDE $LOCALPATH $rsyncPath
# cp $SCRIPT_DIR/../Pipfile $INSTALLPATH
chown -R paperpi:paperpi $INSTALLPATH
# chown -R paperpi:paperpi $INSTALLPATH
fi
}

Expand Down
174 changes: 8 additions & 166 deletions paperpi/config/paperpi.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mirror = False
color = False
# Disable screen wipe at shutdown (Default: True)
# This setting will leave the last image on the screen at shutdown
no_wipe = False
no_wipe = True
# plugin timeout - amount of time in seconds to wait for a hung plugin to complete execution
plugin_timeout = 30

Expand Down Expand Up @@ -53,172 +53,14 @@ refresh_rate = 30
min_display_time = 60
max_priority = 2**15

[xPlugin: Basic Clock]
layout = layout
plugin = basic_clock
refresh_rate = 30
min_display_time = 50
max_priority = 2

[xPlugin: decimal binary clock]
layout = layout
plugin = dec_bin_clock
refresh_rate = 30
[xPlugin: Debugging 50]
layout = debugging_basic
plugin = debugging
min_display_time = 50
max_priority = 2

[xPlugin: default fallback plugin]
layout = layout
plugin = default
refresh_rate = 30
min_display_time = 60
max_priority = 2**15

[xPlugin: A Demo Plugin]
# this is a sample config users can use to help setup the plugin
# default layout
layout = layout
# the literal name of your module
plugin = demo_plugin
# recommended display time
min_display_time = 30
# maximum priority in display loop
max_priority = 1
# your name
your_name = Slartybartfast
# your favorite color
your_color = chartreuse

[xPlugin: Librespot]
layout = layout
plugin = librespot_client
refresh_rate = 10
max_priority = 0
min_display_time = 15
# name of librespot player - use ("*"" to track any and all spotify players)
player_name = LibreSpot-Spotify
# time in seconds before plugin is removed from the display loop
idle_timeout = 10
# port to search for librespot (if unset, defaults to 24879)
port = 24879

[xPlugin: LMS - Your Player Name]
layout = layout
plugin = lms_client
player_name = Your Player Name
refresh_rate = 5
min_display_time = 30
max_priority = 0
idle_timeout = 15

[xPlugin: Weather Adis Ababa]
layout = layout
plugin = met_no
refresh_rate = 300
min_display_time = 50
max_priority = 2
location_name = Adis Ababa
lat = 9.000
lon = 38.750
# this is required by Met.no -- please use a real value
email = you@host.diamond
# Text color [RED, ORANGE, YELLOW, GREEN, BLUE, BLACK WHITE] or random
# bkground color is not supported in this plugin
# text_color = BLUE

[xPlugin: Moon Phase]
# default layout
layout = layout
plugin = moon_phase
min_display_time = 30
max_priority = 2
refresh_rate = 1200
# your email address for MET.no API access -- failure to specify may lead to a perma-ban
email = you@host.diamond
# Timezone locale name in Region/City format (see --run_plugin_func moon_phase.list_country_locales)
# Use a known city in your timezone; this is critical for calculating the moonrise time
location_name = Europe/Amsterdam
# lat/lon of your physical location (optional) (see --run_plugin_func moon_phase.get_coord)
lat = 52.3
lon = 4.9

[xPlugin: New Yorker Comic]
layout = layout
plugin = newyorker
day_range = 5 # number of past days to choose from
refresh_rate = 120
min_display_time = 60
max_priority = 2

[xPlugin: Reddit Quotes]
layout = layout
plugin = reddit_quote
refresh_rate = 100
min_display_time = 50
max_priority = 2
# maximum length of quote (in characters) including spaces, a la Twitter
max_length = 144
# Text/background color [RED, ORANGE, YELLOW, GREEN, BLUE, BLACK WHITE] or random
# bkground color is not supported in this plugin
# text_color = RED
# bkground_color = random

[xPlugin: Slideshow]
# default layout
layout = layout
plugin = slideshow
# time between choosing new image (seconds)
refresh_rate = 90
# recommended display time (seconds)
min_display_time = 50
# maximum priority in display loop
max_priority = 2
# path to image directory
image_path = /pi/documents/images
# order to pull images in: random, sequential
order = random
# frame style to use (see README)
frame = black & silver: matted

[xPlugin: System Info]
# show basic facts about the system including IP, Hostname, CPU usage, temperature and storage
# default layout
layout = layout
# the literal name of your module
plugin = system_info
# recommended display time
min_display_time = 45
# maximum priority in display loop
max_priority = 2
# storage units in decimal: [KB] KiloByte 10^3; [MB] MegaByte 10^6; [GB] GigaByte 10^12; [TB] TeraByte 10^12
storage_unit = GB
# colors for RGB screens
text_color = BLUE
bkground_color = WHITE

[xPlugin: Word Clock]
layout = layout
plugin = word_clock
refresh_rate = 125
min_display_time = 255
max_priority = 2
# Text color [RED, ORANGE, YELLOW, GREEN, BLUE, BLACK WHITE] or random
# text_color = random
# bkground_color = random

[xPlugin: XKCD Comic Plugin]
# default layout
layout = layout
plugin = xkcd_comic
refresh_rate = 1200
min_display_time = 120
# maximum x dimension of comic image
max_x = 800
# maximum y dimension of comic image
max_y = 600
# max attempts to find a suitable comic image
# 0 do not rsize small comics / 1 maximize small comics to max_x, max_y
resize = 0
max_retries = 10
max_priority = 2
title = Debugging 50
crash_rate = .5
max_priority_rate = .1
min_priority = 2

2 changes: 1 addition & 1 deletion paperpi/my_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
APP_NAME = 'PaperPi'
CONTACT='aaron.ciuffo@gmail.com'
DEVEL_NAME = f'com.txoof.{APP_NAME.lower()}'
VERSION='0.5.6.0 RGB'
VERSION='0.5.7.0 01Aug24'
URL = 'https://github.com/ txoof/PaperPi'


Expand Down
Loading

0 comments on commit 280c7f0

Please sign in to comment.