Commit graph

4299 commits

Author SHA1 Message Date
Cody Robibero 6fb6b5f176
Validate item access (#11171) 2024-04-14 08:18:36 -06:00
Cody Robibero 31e0756c0c
Only update if actively refreshing (#11341) 2024-04-12 17:45:15 -06:00
Bond-009 7d28d08e08
Enable more warnings as errors (#11288) 2024-04-12 17:45:01 -06:00
Joshua M. Boniface ee1d6332ee
Merge pull request #11220 from Shadowghost/add-playlist-acl-api
Add playlist ACL endpoints
2024-04-10 12:52:01 -04:00
Bond-009 46071e4628
Merge pull request #11287 from Shadowghost/spelling
Fix some spelling mistakes
2024-04-08 16:22:03 +02:00
gnattu 6b6aab04ce
Fix apple audio codecs (#11315) 2024-04-08 07:42:47 -06:00
Shadowghost ddda30fe23 Only allow owner and admin to delete playlists 2024-04-05 21:11:09 +02:00
Shadowghost 3e0b201688 Enforce permissions 2024-04-03 16:06:20 +02:00
Shadowghost 4a9565ab52 Fix some spelling mistakes 2024-04-03 14:56:56 +02:00
Shadowghost 8cf77424f6 Apply review suggestions 2024-04-02 08:08:36 +02:00
Shadowghost c1dbb49315 Implement update endpoint 2024-04-01 20:43:05 +02:00
Shadowghost bff37ed13a Apply review suggestions 2024-04-01 19:59:48 +02:00
Niels van Velzen 904c3873fe
Remove SessionInfo.FullNowPlayingItem from API responses (#11268) 2024-03-31 14:45:59 -06:00
Claus Vium 4201079b34
fix: use a reentrant lock when accessing active connections (#11256) 2024-03-30 10:30:00 -06:00
gnattu fe88a484d1
fix: don't do empty hwupload for VT (#11235) 2024-03-30 09:25:22 -06:00
gnattu a8f1668540
fix: unset qmin and qmax for vt (#11246)
Co-authored-by: Nyanmisaka <nst799610810@gmail.com>
2024-03-30 08:53:46 -06:00
Nyanmisaka 16e72d6883
Fix the broken codecs shifting (#11243) 2024-03-28 13:57:33 -06:00
gnattu 5db0c5a0e4
fix: forward port patch for GHSA-866x-wj5j-2vf4 (#11228) 2024-03-28 09:26:14 -06:00
gnattu be21d51742
fix: move trickplay specific option into TrickplayOptions (#11229) 2024-03-28 09:26:01 -06:00
Shadowghost 56c432a843 Apply review suggestions 2024-03-26 23:45:14 +01:00
Shadowghost 88b3490d17 Add playlist ACL endpoints 2024-03-26 15:49:18 +01:00
gnattu 2e9aa146a5
fix: remove legacy codecs (#11217) 2024-03-26 04:32:06 -06:00
Cody Robibero 5437936bb9
Check all tags for allow/block (#11206) 2024-03-25 07:15:24 -06:00
gnattu b1870792b1
fix: use Metal tonemap instead of OpenCL (#11198) 2024-03-24 08:20:05 -06:00
gnattu cf16110a56
fix: map encoder preset to quality setting for VideoToolbox (#11205) 2024-03-24 08:19:48 -06:00
vedant 3bbb57eb83
Add new VideoRangeTypes to fully support DoVi on webOS (#10469) 2024-03-23 07:39:49 -06:00
Gary Wang c16135800c
feat(i18n): transliterate item name before sorting (#11172) 2024-03-22 20:59:59 -06:00
Claus Vium eae031ae5a
refactor: use Channels as queueing mechanism for periodic websocket messages (#11092) 2024-03-18 13:55:18 -06:00
Claus Vium 239727e896
fix: skip library folders that are inaccessible or empty (#9291) 2024-03-18 09:09:00 -06:00
Cody Robibero 833bc06eb4
Merge pull request #11161 from nyanmisaka/fix-segment-deletion
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2024-03-18 08:37:02 -06:00
Bond-009 f44ec318d6
Merge pull request #11163 from robert-hamilton36/lyrics
Add lyric files to supported extensions
2024-03-17 18:07:34 +01:00
Bond-009 adb08c0aaa
Merge pull request #11149 from Bond-009/nullable4
Enable nullable for more files
2024-03-17 18:00:10 +01:00
btopherjohnson 9a40a67c60
Add ability to enable/disable libraries (#11037)
Co-authored-by: Bond-009 <bond.009@outlook.com>
Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-03-17 09:50:48 -06:00
nyanmisaka ae7c0c83e9 Bump the required minimum ffmpeg version to 4.4
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17 21:30:42 +08:00
nyanmisaka 557b8f0c78 Apply suggestions from code review
Drop the unnecessary initial capacity from the list.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17 20:45:00 +08:00
nyanmisaka 47a77974b8 Apply suggestions from code review
Drop excludeFilePaths and lower the log level to debug to avoid
spamming in the log file.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-17 17:17:47 +08:00
nyanmisaka 50541aea91 Apply suggestions from code review
Add excludeFilePaths to skip segment files in which IOException occurred.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16 22:09:31 +08:00
nyanmisaka 39b953e41c Set input readrate for using SegmentDeletion with stream-copy
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16 07:35:05 +08:00
nyanmisaka 55fd6b5cb9 Add sanity check for ThrottleDelaySeconds
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16 07:35:05 +08:00
nyanmisaka eca9bf41bc Add TranscodingSegmentCleaner to replace ffmpeg's hlsenc deletion
FFmpeg deletes segments based on its own transcoding progress,
but we need to delete segments based on client download progress.
Since disk and GPU speeds vary, using hlsenc's built-in deletion
will result in premature deletion of some segments. As a consequence,
the server has to constantly respin new ffmpeg instances, resulting
in choppy video playback.

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2024-03-16 07:35:05 +08:00
robert-hamilton36 2234b5bec6 add lyric files to supportedExtensions 2024-03-16 12:14:29 +13:00
standstaff 64b7f0f721 chore: remove repetitive words
Signed-off-by: standstaff <zhengxingru@yeah.net>
2024-03-15 17:08:03 +08:00
Bond_009 651681c276 Enable nullable for more files 2024-03-13 14:56:51 +01:00
Cody Robibero a92de9b2e3
Merge pull request #11014 from gnattu/vf-videotoolbox 2024-03-09 09:19:36 -07:00
gnattu 0909ee7208 fix: convert all non-yuv420 inputs to nv12
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-09 15:16:00 +08:00
gnattu e6dee627e3 fix: force a pixel format for 10-bit inputs
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-09 14:22:27 +08:00
gnattu d10ad6c383 fix: no need to check filters prematurely
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-09 11:02:53 +08:00
gnattu 2f66871040 fix: also check if we are doing scaling
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-08 23:37:27 +08:00
gnattu f31549cc0d fix: code clean up
Co-authored-by: nyanmisaka <nst799610810@gmail.com>
Signed-off-by: gnattu <gnattuoc@me.com>
2024-03-08 23:23:24 +08:00
Cody Robibero f7f3ad9eb7
Precache livetv program images (#11083)
* Precache livetv program images

* return if cache hit

* use EnsureSuccessStatusCode

* Read proper bytes
2024-03-03 13:32:55 -07:00