Skip to content

feature request: auto refresh (5s) button #616

@diamondburned

Description

@diamondburned

This is quite a small feature request, but it would be nice if the page had an auto-refresh (5s) button so that the page updates itself with minimal effort.

One scenario where this would be useful would be during long library scans.

Implementation details/ideas

To implement this without JavaScript, a link like this can be added:

<a href="?refresh=1">auto-refresh (5s)</a>

Then as Go template:

{{ if .Form.Get "refresh" | eq "1" -}}
  <meta http-equiv="refresh" content="5" >
{{- end }}

(disclaimer: I have not read the code.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions