advplyr
f4497acd48
Remove API routes for removing all items and purging media progress
2023-07-09 14:07:30 -05:00
advplyr
f73a0cce72
Update Dockerfile for sqlite3, update models for cascade delete, fix backup schedule
2023-07-09 11:39:15 -05:00
advplyr
254ba1f089
Migrate backups manager
2023-07-08 14:40:49 -05:00
advplyr
0a179e4eed
Update author and series to include libraryId
2023-07-08 10:07:57 -05:00
advplyr
0ac63b2678
Update Series and Author model to be library specific
2023-07-08 09:57:32 -05:00
advplyr
1d13d0a553
Merge master
2023-07-08 08:25:33 -05:00
advplyr
e378b79fbc
Fix:Access series that are in multiple libraries and user does not have access to all #1899 , new libraries/series endpoint
2023-07-07 17:59:17 -05:00
advplyr
b5d4c11f6f
Fix RSS feeds to use slug instead of id
2023-07-06 17:07:10 -05:00
advplyr
cf7fd315b6
Init sqlite take 2
2023-07-04 18:14:44 -05:00
advplyr
bdbc5e3161
Add:Library setting to hide single book series #1433
2023-06-29 17:55:17 -05:00
advplyr
bb9013541b
Update:Get all users api endpoint to include latest session, display device info on users table #724
2023-06-28 17:57:46 -05:00
advplyr
aeba7674f8
Add new api route for downloading backup, remove static metadata route
2023-06-27 16:41:32 -05:00
advplyr
d0bce2949e
Add:FFProbe api endpoint
2023-06-25 16:16:11 -05:00
advplyr
014fc45c15
Add:Audiobooks only library settings, supplementary ebooks #1664
2023-06-10 12:46:57 -05:00
advplyr
c382f07b05
Fix:Close player resetting progress #1807
2023-05-30 16:08:30 -05:00
advplyr
05ce9c6eda
Add:Email smtp config & send ebooks to devices #1474
2023-05-29 17:38:38 -05:00
advplyr
15aaf2863c
Add:OPML Export #1260
2023-05-28 15:10:34 -05:00
advplyr
019063e6f4
Update:New API routes for library files and downloads
2023-05-28 12:34:22 -05:00
advplyr
4f75a89633
Update:New EBook API endpoint
2023-05-28 10:47:28 -05:00
advplyr
f16e312319
Fix:Series api check user has access to library
2023-05-28 08:51:34 -05:00
advplyr
9712bdf5f0
Update:Check if directory already exists before upload #1497
2023-05-27 16:00:34 -05:00
advplyr
b52e240025
Add:Batch re-scan #1754
2023-05-27 14:51:03 -05:00
advplyr
9f6bfeb839
Fix:Removing media progress that was started local
2023-05-20 15:19:09 -05:00
advplyr
bac09de23d
Fix:getNarrators API endpoint check narrators are strings #1770
2023-05-12 18:22:09 -05:00
advplyr
eb7f66c89e
Add:Narrators page #860 #1139
2023-04-30 14:11:54 -05:00
advplyr
a5627a1b52
Add:Search for narrators #1495
2023-04-24 18:25:30 -05:00
advplyr
e271e89835
Author API requests to use region from library provider
2023-04-16 15:53:46 -05:00
advplyr
179f11f55d
Add:Delete library items from file system #1439
2023-04-14 16:44:41 -05:00
advplyr
5a21e63d0b
Add:Delete library files, condense item options in more menu #1439
2023-04-13 18:03:39 -05:00
Divyang Joshi
122ec140e8
Add sortBy Last Book Added and Updated to series
2023-04-11 23:18:25 -04:00
advplyr
718890cfad
Add:Download button to download full library item #580
2023-04-09 17:05:35 -05:00
advplyr
22b8622c67
Fix:Crash for invalid payload to update cover endpoint #1644
2023-04-09 15:01:14 -05:00
advplyr
5e5b674c17
Add:Remove all chapters button in chapter editor #1603
2023-04-09 12:47:36 -05:00
advplyr
25ca950dd0
Update listening sessions per device and show open sessions
2023-04-08 18:01:24 -05:00
advplyr
d7f18bdd8b
Remove deprecated user settings
2023-04-03 17:41:03 -05:00
advplyr
05b102722b
Remove unused ebook routes
2023-04-03 17:33:02 -05:00
advplyr
034b8956a2
Add:Batch embed metadata and queue system for metadata embedding #700
2023-04-02 16:13:18 -05:00
advplyr
575a162f8b
Update:API endpoint for get all users to use minimal payload
2023-03-29 14:56:50 -05:00
advplyr
a99257e758
Fix getAllLibraryItemsInProgress route
2023-03-25 14:07:35 -05:00
Vincent Schmandt
4d29ebd647
Save Locations locally, add separate progress tracker
2023-03-23 08:45:00 +01:00
advplyr
785942b94f
Update:Series books page fallback to sort by title/collapsed series name when no sequence #1503
2023-03-05 14:48:20 -06:00
advplyr
aef2c52630
Merge pull request #1581 from mfcar/improvePodcastEditing
...
Improve podcast editing
2023-03-05 12:28:12 -06:00
advplyr
dccad3055b
Remove library item listener from edit episode modal
2023-03-05 12:28:20 -06:00
advplyr
022bf9d0ef
Show current episode download on init and download queue page updates
2023-03-05 10:35:34 -06:00
mfcar
72396c5a98
Add Prev/Next buttons on podcast editing
2023-03-04 19:04:55 +00:00
mfcar
34ac972130
Add download queue
2023-02-27 02:56:07 +00:00
advplyr
caacf461ab
Open rss feed metadataDetails optional
2023-02-25 08:53:09 -06:00
mfcar
0d3e6b1d0a
Add rss details configuration
2023-02-25 13:20:26 +00:00
mfcar
08d7a9aa14
Add size stats
2023-02-19 21:39:28 +00:00
advplyr
8b5d05739f
Fix:Adding new podcast when folder already exists #1462
2023-02-11 15:25:54 -06:00
advplyr
8f8d6f81ab
Fix:Upload API endpoint crashing on invalid request with no files #1473
2023-02-10 17:25:19 -06:00
advplyr
f9e6655359
Update:API endpoint for syncing multiple local sessions. New API endpoint to get current user. Deprecate /me/sync-local-progress endpoint
2023-02-05 16:52:17 -06:00
advplyr
b957e1a36b
Update:API endpoints for library and library item scan updated to POST requests
2023-02-03 17:50:42 -06:00
advplyr
337cf90c4b
Add debug logs to playback sessions
2023-02-02 16:24:34 -06:00
advplyr
d8753aafb9
Fix:Series collapse series filter out empty sequences #1450
2023-01-31 15:53:04 -06:00
advplyr
f83dd29213
Update:syncLocalMediaProgress API response payload
2023-01-28 14:46:01 -06:00
Lars Kiesow
08250e266e
Implement X-Accel Redirect
...
This patch implements [X-Accel](https://www.nginx.com/resources/wiki/start/topics/examples/x-accel/ )
redirect headers as an optional way for offloading static file delivery
from Express to Nginx, which is far better optimized for static file
delivery.
This provides a really easy to configure way for getting a huge
performance boost over delivering all files through Audiobookshelf.
How it works
------------
The way this works is basically that Audiobookshelf gets an HTTP request
for delivering a static file (let's say an audiobook). It will first
check the user is authorized and then convert the API path to a local
file path.
Now, instead of reading and delivering the file, Audiobookshelf will
return just the HTTP header with an additional `X-Accel-Redirect`
pointing to the file location on the file syste.
This header is picked up by Nginx which will then deliver the file.
Configuration
-------------
The configuration for this is very simple. You need to run Nginx as
reverse proxy and it must have access to your Audiobookshelf data
folder.
You then configure Audiobookshelf to use X-Accel by setting
`USE_X_ACCEL=/protected`. The path is the internal redirect path used by
Nginx.
In the Nginx configuration you then configure this location and map it
to the storage area to serve like this:
```
location /protected/ {
internal;
alias /;
}
```
That's all.
Impact
------
I just did a very simple performance test, downloading a 1170620819
bytes large audiobook file from another machine on the same network
like this, using `time -p` to measure how log the process took:
```sh
URL='https://url to audiobook…'
for i in `seq 1 50`
do
echo "$i"
curl -s -o /dev/null "${URL}"
done
```
This sequential test with 50 iterations and without x-accel resulted in:
```
real 413.42
user 197.11
sys 82.04
```
That is an average download speed of about 1080 MBit/s.
With X-Accel enabled, serving the files through Nginx, the same test
yielded the following results:
```
real 200.37
user 86.95
sys 29.79
```
That is an average download speed of about 2229 MBit/s, more than
doubling the previous speed.
I have also run the same test with 4 parallel processes and 25 downloads
each. Without x-accel, that test resulted in:
```
real 364.89
user 273.09
sys 112.75
```
That is an average speed of about 2448 MBit/s.
With X-Accel enabled, the parallel test also shows a significant
speedup:
```
real 167.19
user 195.62
sys 78.61
```
That is an average speed of about 5342 MBit/s.
While doing that, I also peaked at the system load which was a bit lower
when using X-Accel. Even though the system was delivering far more data.
But I just looked at the `load1` values and did not build a proper test
for that. That means, I cant provide any definitive data.
Supported Media
---------------
The current implementation works for audio files and book covers. There
are other media files which would benefit from this mechanism like feed
covers or author pictures.
But that's something for a future developer ;-)
2023-01-23 00:02:27 +01:00
advplyr
5a26704c32
Add:Option to disable backup of audio files in embed metadata tool #1370
2023-01-07 15:16:52 -06:00
advplyr
2cd9079692
Add MusicBrainz provider
2023-01-07 13:05:33 -06:00
advplyr
9a85ad1f6b
Fix:Check if Windows before cleaning file path for POSIX separators #1254
2023-01-05 17:45:27 -06:00
advplyr
49c581ed35
Add:Podcast option to quick match all unmatched episodes
2023-01-04 18:13:46 -06:00
advplyr
1609f1a499
Add:Global library search also searches on podcast episode titles #1363
2023-01-04 17:43:15 -06:00
advplyr
d6da161b13
Music albums grouping and page
2023-01-02 18:02:04 -06:00
advplyr
44363f05ac
Start of new epub reader
2023-01-01 18:09:00 -06:00
advplyr
70ba2f7850
Add:RSS feed for series & cleanup empty series from db #1265
2022-12-31 16:58:19 -06:00
advplyr
d8ee61bfab
Update:Personalized API endpoint include query string to add rssFeed to entities
2022-12-31 14:31:38 -06:00
advplyr
c6763dee2d
Remove invalid RSS feeds on init and remove feeds when associated entity is removed
2022-12-31 14:08:34 -06:00
advplyr
0e6b0d3eff
Update:Remove RSS feeds from login response payload and include feeds from library items request
2022-12-31 10:59:12 -06:00
advplyr
8bbfee334c
Update:Show RSS feed icon on collection card & update API endpoint for fetching collections
2022-12-31 10:33:38 -06:00
advplyr
315c83e4c3
RSS feed for collection to update when any item in the collection is updated #606
2022-12-28 18:08:03 -06:00
advplyr
308ccf470f
Add:Open RSS feed for collection #606 #1265
2022-12-27 18:03:31 -06:00
advplyr
061695f922
Add:API endpoint for opening RSS feed for collection #606 #1265
2022-12-26 17:48:39 -06:00
advplyr
e803dcd325
Update:RSS feed API routes
2022-12-26 16:58:36 -06:00
advplyr
45c9038954
Fix:Manually updating author image path & realtime update author image #1317
2022-12-26 15:45:42 -06:00
advplyr
8acf962864
Update:Remove relImagePath from Author entity
2022-12-26 15:29:45 -06:00
advplyr
e4c20d677c
Update server/controllers/SeriesController.js
...
Co-authored-by: Paul Nettleton <paulnett7@hotmail.com>
2022-12-23 07:33:33 -06:00
Paul Nettleton
2cba83f1dd
Server socket event fixes
2022-12-22 16:26:11 -06:00
advplyr
3e15e09c07
Fix:Get libraries endpoint #1296
2022-12-19 17:46:32 -06:00
advplyr
616ffb8f79
Add:M4b tool configurable options bitrate/channels/codec #1029 #1257
2022-12-19 17:13:04 -06:00
advplyr
e1397a6dda
Update:Author cover image API endpoint to get raw cover image #1291
2022-12-19 15:06:43 -06:00
advplyr
4971787482
Add:Manage genres #1163
2022-12-18 14:52:53 -06:00
advplyr
4d93e39fa9
Add:Item metadata utils config page for managing tags #1163
2022-12-18 14:17:52 -06:00
advplyr
5165f11460
Add:Create playlist from a collection #1226
2022-12-17 17:31:19 -06:00
advplyr
49a69193d8
Comments where user settings needs to be removed
2022-12-17 14:52:10 -06:00
advplyr
2d9035d90b
Update get tags route and revert podcast/books search route
2022-12-12 17:45:51 -06:00
advplyr
0ae853c119
Update library items batch get route
2022-12-12 17:36:53 -06:00
advplyr
eede2bbd46
Update for filesystem and libraries api update and revert personalized shelves route
2022-12-12 17:29:56 -06:00
advplyr
5c31687a0f
Merge branch 'master' into server/respond-with-objects
2022-12-12 17:20:14 -06:00
advplyr
67db41a525
Update:Get item cover API endpoint to allow for returning the raw cover image
2022-12-04 16:23:15 -06:00
advplyr
0e292c64c4
Update:Only emit library socket events to users with access to lib
2022-11-30 17:32:59 -06:00
Paul Nettleton
c9ab2a242d
Update MiscController.js to respond with objects
...
Changes:
- `getAllTags` (GET /api/tags)
2022-11-29 12:26:59 -06:00
Paul Nettleton
13532cba14
Update SearchController.js to respond with objects
...
Changes:
- `findCovers` (GET /api/search/covers)
- `findBooks` (GET /api/search/books)
- `findPodcasts` (GET /api/search/podcast)
2022-11-29 12:23:02 -06:00
Paul Nettleton
3fb2bd3362
Update SeriesController.js to respond with objects
...
Changes:
- `search` (GET /api/series/search)
2022-11-29 12:08:40 -06:00
Paul Nettleton
e80c3a1c5a
Update AuthorController.js to respond with objects
...
Changes:
- `search` (GET /api/authors/search)
2022-11-29 12:04:45 -06:00
Paul Nettleton
e04d26307e
Update FileSystemController.js to respond with objects
...
Changes:
- `getPaths` (GET /api/filesystem)
2022-11-29 11:55:22 -06:00
Paul Nettleton
b8f74e1c98
Update CollectionController.js to respond with objects
...
Changes:
- `findAll` (GET /api/collections)
2022-11-29 11:48:21 -06:00
Paul Nettleton
0851050392
Update UserController.js to respond with objects
...
Changes:
- `findAll` (GET /api/users)
2022-11-29 11:43:39 -06:00
Paul Nettleton
b84882d9d1
Update LibraryItemController.js to respond with objects
...
Changes:
- `batchGet` (POST /api/items/batch/get)
2022-11-29 11:37:45 -06:00
Paul Nettleton
cd37a7618e
Update LibraryController.js to respond with objects
...
Changes:
- `findAll` (GET /api/libraries)
- `getLibraryUserPersonalizedOptimal` (GET /api/libraries/<ID>/personalized)
- `getAuthors` (GET /api/libraries/<ID>/authors)
- `reorder` (POST /api/libraries/order)
2022-11-29 11:30:25 -06:00
advplyr
d41366a417
Fix:Playlist API endpoint permissions
2022-11-28 16:29:04 -06:00