This repository has been archived by the owner on May 20, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathstats.html
160 lines (140 loc) · 6.28 KB
/
stats.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<html>
<head>
<title>Transmogrify for Plex stats</title>
<link rel="stylesheet" type="text/css" href="css/stats.css">
<link rel="stylesheet" type="text/css" href="css/c3.css">
<script src="utils.js"></script>
<script src="promise.min.js"></script>
<script src="d3.min.js" charset="utf-8"></script>
<script src="c3.min.js"></script>
<script src="stats_charts.js"></script>
<script src="stats.js"></script>
</head>
<body>
<nav>
<ul>
<li><a id="active-server-name" href="#"></a>
<ul id="server-choices">
</ul>
</li>
</ul>
<span id="server-updated"></span>
</nav>
<div id="loading-indicator">calculating server stats...<img src="resources/loading_stats.gif"/></div>
<div class="error-message" id="server-error-indicator">error: couldn't reach server</div>
<div class="error-message" id="token-error-indicator">make sure you have opened Plex/Web</div>
<div id="movies-container">
<div class="heading" id="movies-heading">Movies</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movies by year</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="movie-year-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movie genres</div>
<div class="chart-title-right">movie ratings</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="movie-genre-chart"></div>
<div class="chart chart-right" id="movie-rating-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movies added over time</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="movie-date-added-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">movie content ratings</div>
<div class="chart-title-right">video resolutions</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="movie-content-rating-chart"></div>
<div class="chart chart-right" id="movie-resolution-chart"></div>
</div>
</div>
</div>
<div id="shows-container">
<div class="heading" id="shows-heading">TV Shows</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">shows by year first aired</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="show-year-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">show genres</div>
<div class="chart-title-right">show ratings</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="show-genre-chart"></div>
<div class="chart chart-right" id="show-rating-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">episodes added over time</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="show-date-added-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">show content ratings</div>
<div class="chart-title-right">video resolutions</div>
</div>
<div class="chart-container">
<div class="chart chart-left" id="show-content-rating-chart"></div>
<div class="chart chart-right" id="show-resolution-chart"></div>
</div>
</div>
</div>
<div id="music-container">
<div class="heading" id="music-heading">Music</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">albums by year</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="music-year-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">album genres</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="album-genre-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">music added over time</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="music-date-added-chart"></div>
</div>
</div>
<div class="row-container">
<div class="chart-title-container">
<div class="chart-title-left">average song bitrate</div>
</div>
<div class="chart-container">
<div class="chart chart-center" id="music-bitrate-chart"></div>
</div>
</div>
</div>
</body>
</html>