• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MiczFlor / RPi-Jukebox-RFID / 11768279903
38%
develop: 79%

Build:
Build:
LAST BUILD BRANCH: future3/fix-shutdown-timer
DEFAULT BRANCH: develop
Ran 10 Nov 2024 08:32PM UTC
Jobs 1
Files 12
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Nov 2024 08:30PM UTC coverage: 38.14% (-0.06%) from 38.2%
11768279903

Pull #2258

github

web-flow
feat: Add Idle Shutdown Timer support (#2332)

* feat: Add Idle Shutdown Timer support

This adds an optional idle shutdown timer which can be enabled
via timers.idle_shutdown.timeout_sec in the jukebox.yaml config.

The system will shut down after the given number of seconds if no
activity has been detected during that time. Activity is defined as:
- music playing
- active SSH sessions
- changes in configs or audio content.

Fixes: #1970

* refactor: Break down IdleTimer into 2 standard GenericMultiTimerClass and GenericEndlessTimerClass timers

* feat: Introducing new Timer UI, including Idle Shutdown

* refactor: Abstract into functions

* Adding Sleep timer / not functional

* Finalize Volume Fadeout Shutdown timer

* Fix flake8

* Fix more flake8s

* Fix small bugs

* Improve multitimer.py suggested by #2386

* Fix flake8

---------

Co-authored-by: pabera <1260686+pabera@users.noreply.github.com>
Pull Request #2258: Release v3.6.0

56 of 105 new or added lines in 4 files covered. (53.33%)

492 of 1290 relevant lines covered (38.14%)

1.53 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
21.57
src/jukebox/components/controls/common/evdev_listener.py
5
11.38
0.2% src/jukebox/jukebox/utils.py
43
54.74
src/jukebox/components/controls/event_devices/__init__.py
Jobs
ID Job ID Ran Files Coverage
1 11768279903.1 10 Nov 2024 08:32PM UTC 12
38.14
GitHub Action Run
Source Files on build 11768279903
  • Tree
  • List 12
  • Changed 8
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #11768279903
  • Pull Request #2258
  • PR Base - future3/main (#8728942616)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc