Commit graph

2356 commits

Author SHA1 Message Date
Harry
64fd42ebf4
Merge branch 'advplyr:master' into auto-generate-chapters-from-timestamps 2026-04-21 20:04:24 +01:00
advplyr
b7e8a0474a Update bulk download endpoint ensure items are from the same library requested 2026-04-19 16:20:31 -05:00
advplyr
39adefb632 Update backup load & upload to remove tempfile on failed backups, validate details filesize & close zip
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-04-18 17:03:37 -05:00
advplyr
24cab79c66 Update filesystem/pathexists endpoint to use existing isSameOrSubPath func 2026-04-18 16:24:48 -05:00
advplyr
b27f21fd95 Update podcastUtils to sanitize episode subtitle from rss feed
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-04-17 16:59:22 -05:00
advplyr
09fa0b38f5 Update podcast create path validation & fix relPath 2026-04-17 16:51:22 -05:00
advplyr
455e605162 Update author & library item image endpoints to clamp width/height query params 2026-04-17 16:30:08 -05:00
advplyr
88667d00a1
Merge pull request #5115 from rktjmp/fix-mka-opus-desktop-streaming
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
Force AAC transcode when streaming mka+opus to desktop client
2026-04-10 16:54:18 -05:00
advplyr
94c426bd97 Update comments on matroska 2026-04-10 16:42:39 -05:00
mikiher
fda1a6ea9b Fix item_removed payload to include libraryId 2026-03-31 22:02:52 +03:00
advplyr
ab3bd6f4a1 Update JS docs 2026-03-30 16:22:27 -05:00
mikiher
093124aac6 Emit proper author_updated/added events when updating book media 2026-03-30 22:02:56 +03:00
advplyr
5de92d08f9 Fix share playback session not including coverAspectRatio
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-03-29 15:36:07 -05:00
Harry
cbbe85c35e
Merge branch 'advplyr:master' into auto-generate-chapters-from-timestamps 2026-03-20 17:25:04 +00:00
advplyr
3faa6f3e7d Update playlist create/update endpoint to strip all html tags 2026-03-19 16:57:22 -05:00
advplyr
9821c31f8e Update collection create/update endpoints to strip html tags from collection name 2026-03-19 16:53:21 -05:00
advplyr
4bdd76d94c Update podcast episode update endpoint to sanitize subtitle
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Run Component Tests / Run Component Tests (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-03-18 17:01:19 -05:00
advplyr
874e9e1856 Update API Key jwtAuthCheck to check user active status 2026-03-18 16:17:45 -05:00
Harry Rose
7f88d4b036 Early out if the description doesn't contain and timestamps 2026-03-17 19:44:46 +00:00
Harry Rose
8710816a6f Remove autoGenerateChapters flag, migration and version bump 2026-03-17 19:01:59 +00:00
Harry Rose
0227302fc0 Handle chapters names that are very long, add examples to tests 2026-03-17 18:52:56 +00:00
Harry Rose
6e05484307 Handle podcasts which use html lists and also have html tags in the chapter titles 2026-03-16 20:59:00 +00:00
Harry Rose
4907e70a48 - Add new migration to add an autoGenerateChapters column in the Podcasts table
- Bump minor version (I wasn't sure if this was needed for the migration)
- Feature is now controlled by the field in the podcast database object
- Move parsing code and tests to existing utils/parsers/ dir
- Add more test cases
2026-03-16 18:58:15 +00:00
Harry Rose
12b04faed2 Fix typo 2026-03-13 20:14:14 +00:00
Harry Rose
1e19bf3031 Merge branch 'auto-generate-chapters-from-timestamps' of https://github.com/harryr0se/audiobookshelf into auto-generate-chapters-from-timestamps 2026-03-13 20:13:46 +00:00
Harry Rose
32ea3e08d6 Update logging to use info for key logs, also use [PodcastEpisode] prefix to match other logs 2026-03-13 20:11:03 +00:00
Harry
bccf94689d
Merge branch 'advplyr:master' into auto-generate-chapters-from-timestamps 2026-03-13 19:08:25 +00:00
advplyr
a47c869d0b Update migration file to v2.33.0 2026-03-12 16:45:08 -05:00
advplyr
eb0383d37a
Merge pull request #5073 from kevingatera/perf/minimal-upstream-patchset
Improve personalized/discover query performance and cache invalidation behavior
2026-03-12 16:38:26 -05:00
advplyr
e66ffb9c23 Add indexes to MediaProgress and BookSeries models 2026-03-12 16:37:59 -05:00
advplyr
972193b193 Update server settings authLoginCustomMessage to sanitize on save and load
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Run Component Tests / Run Component Tests (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-03-11 17:18:05 -05:00
advplyr
690a7e0da9 Update session DeviceInfo with sanitize on clientDeviceInfo 2026-03-11 17:03:07 -05:00
Harry Rose
b3ba764d11 Add tests 2026-03-11 17:22:56 +00:00
Harry Rose
9d4a2a8a59 Improve chapter generation code and extract it into its own function 2026-03-11 17:22:23 +00:00
Harry Rose
bb7fcc1420 Only use projects logger 2026-03-10 21:07:26 +00:00
Harry Rose
256c341f06 Update updating of end values to use new chaptersToPush temp array 2026-03-10 20:59:25 +00:00
Harry Rose
b4b126e39f Add chapter title scraping and improve error logging 2026-03-10 20:43:57 +00:00
Harry Rose
e8d65ceb88 Commit first implementation of timestamp to chapter generation 2026-03-10 20:13:40 +00:00
Oliver Marriott
d9355ac3aa Force AAC transcode when streaming mka+opus to desktop client
Matroska audio containers (aka mka files) with Opus codec streams inside
were unplayable on the desktop client because hls.js was unable to
decode the stream, resulting in an infinitely "spinning" play button.

When configuring a stream, we now check for the opus codec and force AAC
transcoding.

Matroska containers support other codecs besides Opus, eg: mp3, which do
not require transcoding and work fine before this patch, which is why we
check for opus in codecsToForceAAC instead of AudioMimeType.MKA in
mimeTypesToForceAAC.

The AudioMimeType.OPUS mimetype is already marked as requiring
transcoding but since its inside a container this check does not
evaluate to true, we must check the codec explicitly.
2026-03-11 00:35:12 +11:00
advplyr
e5b7aea46c
Merge pull request #5063 from mandreko/idor-fixes
IDOR fixes
2026-03-08 17:26:03 -05:00
advplyr
c156b063f5
Merge pull request #5036 from kctdfh/Slightly-better-subtitle-parsing-logic
Improved subtitle parsing to account for bare colon in title
2026-03-08 17:12:55 -05:00
Kevin Gatera
c0319ebbac Adjust discover/search changes for API compatibility 2026-02-23 19:22:45 -05:00
advplyr
6e0da3bf7a Fix updating author name merging with same name authors in a different library #4628
Some checks are pending
CodeQL / Analyze (push) Waiting to run
Build and Push Docker Image / build (push) Waiting to run
Integration Test / build and test (push) Waiting to run
Run Unit Tests / Run Unit Tests (push) Waiting to run
2026-02-21 16:00:38 -06:00
Kevin Gatera
f1a2e56054 Add database indexes for discover query performance 2026-02-19 20:11:49 -05:00
Kevin Gatera
d2915e689f Speed up personalized shelves and reduce search payload size 2026-02-19 20:11:38 -05:00
Kevin Gatera
05d9ab81f9 Improve API cache invalidation for high-churn models 2026-02-19 20:11:24 -05:00
Matt Andreko
ade1752e97
Fix IDOR bugs 2026-02-15 22:01:36 -05:00
advplyr
fa5fa7b788 Fix server crash on /me/progress/:libraryItemId/:episodeId? when episodeId is not passed in for a podcast library item #5058
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2026-02-14 17:17:12 -06:00
Khashayar Toodehfallah
c15cb48def Improved subtitle parsing to account for bare colon in title 2026-02-06 14:31:09 -05:00
advplyr
122fc34a75 Fix server crash filtering by decade with collapsed series
Some checks failed
CodeQL / Analyze (push) Has been cancelled
Build and Push Docker Image / build (push) Has been cancelled
Integration Test / build and test (push) Has been cancelled
Run Unit Tests / Run Unit Tests (push) Has been cancelled
2025-12-24 17:07:05 -06:00