- Status Closed
- Percent Complete
- Task Type Patches
- Category Plugins
- Assigned To No-one
- Operating System All players
- Severity Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#5653 - Increase disk spindown time in JPEG-viewer
While in most situations a short spindown time of the harddrive is better, it is in my opinion not good in the JPEG-viever plugin. I use the default spindown time of 5 seconds and if use the slideshow feature (with the default speed) the harddrive will always spin down a moment before the next Picture loads, this is very annoying (because of the clicking and the longer time the loading screen is shown), propably increases the powerconsumption and i could imagine that it stresses the hardware more then necessary. The same situation happens in manual mode when i look at a pictue too long (more then 5 seconds).
What i would like to see is an additional option in the menu of the JPEG-viewer that allows to set a different spindown time than the system setting:
Disk spindown ⇒ Increase spindown time [0..60,always]
The setting should be remembered by the JPEG-viewer (the slideshow timeout should be remembered too).
2006-10-21 14:48
Reason for closing: Accepted
Additional comments about closing: Warning: Undefined array key "typography" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 371 Warning: Undefined array key "camelcase" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parserutils.php on line 407
Didn\'t use supplied patch but got
some inspiration from it ;)
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
How about simply making the JPEG-viewer set the spindown to min(slideshow-delay + 1, some_sensible_constant)? This won’t work when browsing regular images of course, but at least it’d avoid having to have this configuration setting inside the jpeg viewer.
I wouldn’t want spindown times to grow big when setting bigger slideshow times. So why not set spindown time to 0 in slideshow mode and have it spin down immediately after loading.
IMHO setting the spindown time to 0 (btw, the min spindown time is 3 sec) isn’t a good idea. That means 100 spin up/spindown cycles for a slideshow of 100 pictures, and i don’t think the hard disk drives in the players will like it…
OTOH it will be worse if you drop the unit with disk spinning while looking at some pictures …
I know what you mean, it’s just that keeping the drive spinning will eat battery big time, so maybe it needs both: if slideshow time > n seconds shut down disk immediately, else keep it running
could you cache more than one picture at a time/would this help?
I just tried to look into this, but unfortunately it appears to be impossible to set the spindown time from within a plugin.
(I think the function I need is ata_spindown )
I don’t know if there’s another way to edit the spindown time…
I’ve added ata_spindown to plugin.h, and I’ve changed jpeg.c to use it.
When slideshow is enabled, and the player would spindown for less than 10 seconds between pictures, then the spindowntime is set to the slideshowtime + 2 seconds.
When slideshow is enabled, but the slideshow time is more than 10 seconds longer than the current spindown time, then the spindown time is set to minimum (3 seconds) since else it would spindown after a while anyway. It is only set to 3 seconds if no mp3 is playing though.
In all other cases, the spindown time is restored to the user setting.