Commit 51d2ae1
feat(Audiobookshelf): enhance stats display and add book count (#868)
* feat(Audiobookshelf): enhance stats display and add book count
- Rename "Total Playtime" to "Playtime" for brevity
- Add book count to stats display
- Simplify time format by removing seconds
- Clean up constructor and unused code
- Update API endpoint for testing
* style: fix constructor formatting in Audiobookshelf class
* refactor: rename methods and variables to follow camelCase convention
---------
Co-authored-by: Lucas Araujo <[email protected]>1 parent 67c5d00 commit 51d2ae1
2 files changed
+33
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 9 | + | |
15 | 10 | | |
16 | 11 | | |
17 | 12 | | |
18 | 13 | | |
19 | | - | |
| 14 | + | |
20 | 15 | | |
21 | 16 | | |
22 | 17 | | |
| |||
25 | 20 | | |
26 | 21 | | |
27 | 22 | | |
28 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
29 | 32 | | |
30 | 33 | | |
31 | 34 | | |
| |||
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
38 | 57 | | |
39 | 58 | | |
40 | 59 | | |
| |||
46 | 65 | | |
47 | 66 | | |
48 | 67 | | |
49 | | - | |
50 | 68 | | |
51 | 69 | | |
52 | 70 | | |
53 | 71 | | |
54 | | - | |
55 | | - | |
| 72 | + | |
56 | 73 | | |
57 | 74 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
0 commit comments