![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
Calibre web book download/read stats
I have setup a central calibre server and about 10 users are using over the web on desktop and android browsers. Is there a way to see the stats of book downloads and book reads that they are doing using their browsers?
Thanks |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,946
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Preferences: Sharing over the Net: View Server Logs (button on the right)
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
Thanks much,
I am not using GUI. The calibre-server starts on boot. Is there a way to check these logs using command-line or in a file? |
![]() |
![]() |
![]() |
#4 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,662
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,254
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you control the location of the log files by command line optiotns to calibre-server. See
calibre-server --help |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
Thanks Kovid. Used the option.
However, the name of the book is not being logged when I open it. Only ID is showing up. Trying to mine the logs. |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,254
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You can convert the id to a name by using the calibredb command line tool. Note that you should do that on a different computer than the one running the server as you cant run both the server and the calibredb tool on the same library at the same time.
Or alternately you can use the JSON endpoint of the server to itself to convert the id to a name. |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
can you please point me to the JSON endpoint of the server. Can I modify this without source code?
|
![]() |
![]() |
![]() |
#9 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,254
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you dont need to modify anything, if you want to get the metadata for a book from a book id, use
http://localhost:8080/ajax/book/123 replace 123 with the actual book id. And if you have setup password protection, either supply a username and password, or use the option in the content server preferences to allow local programs full access. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Jul 2015
Device: Kindle
|
I wanted to see if I can edit a html or a JSON file to log the book name instead of the ID. Thanks.
|
![]() |
![]() |
![]() |
Tags |
calibre web server update |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre 3.4 web interface - read books | CrustyCurmudgeon | Library Management | 16 | 08-05-2017 04:14 AM |
Calibre server 3.0 - Cant read books on web reader | eridani | Calibre | 2 | 06-16-2017 03:27 PM |
modifying reading stats (number of books read and hours read)? | psy65 | Kobo Developer's Corner | 10 | 10-14-2016 03:06 AM |
Reading life stats, viewable on the web? | paulsalter | Kobo Reader | 2 | 12-09-2014 04:14 AM |
Calibre Web Interface - Add MetaData pre-Download? | Fmstrat | Calibre | 9 | 01-13-2012 08:58 AM |