diff --git a/main.go b/main.go index e5f90c7..fe9b783 100644 --- a/main.go +++ b/main.go @@ -1036,8 +1036,9 @@ func getTemplateContent(name string) string { createChart(); +

Generate a Torrent List

-

Want to help out with the seeding? You can generate a torrent list of torrents to seed based on size and type preferences. The generated list will be in the format of your choice (XML, TXT, or JSON), and will try to include torrents that currently need the most seeders (i.e. the ones with the fewest seeders).

+

Want to help out with the seeding? You can generate a list of torrents to seed based on size and type preferences. The generated list will be in the format of your choice (XML, TXT, or JSON), and will try to include torrents that currently need the most seeders (i.e. the ones with the fewest seeders). Enter the amount of TB you are able to seed, select the type and format from the drop-down menus, and click the 'generate' button. You will be given a list of torrents in the desired format.

@@ -1067,10 +1068,11 @@ func getTemplateContent(name string) string {
+
{{range .}}

{{.TopLevelGroupName}}

{{.GroupName}}

- +
@@ -1108,7 +1110,7 @@ func getTemplateContent(name string) string { "fullList": header + `

{{.GroupName}} - Full List

-
Torrent Name Date Added
+
@@ -1143,7 +1145,7 @@ func getTemplateContent(name string) string { "stats": header + `

Torrent Stats: {{.DisplayName}}

-
Torrent Name Date Added
+
@@ -1179,10 +1181,10 @@ var suggestedMax = Math.ceil(maxYValue / 10) * 10 + 10; new Chart(ctx, { type: 'line', data: { - labels: seederData.map(d => d.date), + labels: seederData.map((d) => d.date), datasets: [{ label: 'Average Daily Seeders', - data: seederData.map(d => d.seeders), + data: seederData.map((d) => d.seeders), borderColor: 'rgb(75, 192, 192)', tension: 0.1 }]
Property Value