Commit graph

25363 commits

Author SHA1 Message Date
Martin Vandenbussche
e0cafe418c
Merge branch 'master' into fix-trailers_urls 2024-01-18 18:38:41 +01:00
Attila Szakacs
8fea819b51 Extract all subtitle streams simultaneously
Extracting a subtitle stream is a disk I/O bottlenecked operation as
ffmpeg has to read through the whole file, but usually there is nothing
CPU intensive to do.

If a file has multiple subtitle streams, and we want to extract more
of them, extracting them one-by-one results in reading the whole file
again and again.

However ffmpeg can extract multiple streams at once.

We can optimize this by extracting the subtitle streams all at once
when only one of them gets queried, then we will have all of them
cached for later use.

It is useful for people switching subtitles during playback.

It is even more useful for people who extract all the subtitle streams
in advance, for example with the "Subtitle Extract" plugin.
In this case we reduce the extraction time significantly based on the
number of subtitle streams in the files, which can be 5-10 in many
cases.

Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
2024-01-18 17:29:45 +01:00
Dmitry Lyzo
ba877283a1
fix: add av1 to webm
At least AV1 in WebM is supported by Chrome and Firefox.
2024-01-18 08:01:06 +03:00
Cody Robibero
2fa50cceef Use NuGetAuthenticate@1 2024-01-17 18:21:20 -07:00
Gauvino
a884b1f786
Refactor Dockerfile and build (#10603)
* Fix fedora

* Fix RID Linux

* Fix package and image versions

* Fix buildling and optimize docker images
```

* Removed find obj

* Changed curl command and added gpg

* Added to Contributors

* Removed apt-transport-https package

* Removed RASPI

* Update Intel drivers version

* Update Dockerfile for CentOS, Fedora, and portable deployments

 - Changed Jammy docker image to Built-in Jammy Microsoft .NET SDK image
 - Switched from using "Yum" to "Dnf" for CentOS and Fedora
 - Added "dnf clean all" and "rm -rf /var/cache/dnf" to the end of CentOS and Fedora Dockerfiles
 - Added "apt-get clean", "apt-get autoremove", "rm -rf /var/lib/apt/lists/*" to the end of the Debian/Ubuntu Dockerfiles
 - Added ${DOTNET_VERSION} in every Dockerfile except CentOS/Fedora
 - Removed previous warning comment for dotnet publish build in parallel
 - Arranged package installation

* Re-arranged Dockerfile package installation

* Re-align

* Remove curl

* Remove curl
2024-01-17 18:11:03 -07:00
renovate[bot]
4962eb5b43
chore(deps): update github/codeql-action action to v3.23.1 (#10880)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-17 17:48:56 -07:00
TelepathicWalrus
08592fb3fe Add ex to catch if cached mediainfo doesnt exist 2024-01-17 19:36:14 +00:00
Patrick Barron
f0a9639c17 Remove pointless code 2024-01-17 12:14:28 -05:00
Patrick Barron
75c2de110e Remove useless comment 2024-01-17 12:12:24 -05:00
Patrick Barron
5d3acd43e9 Use collection expression 2024-01-17 12:10:42 -05:00
Patrick Barron
502cbe77b2 Use Math.Clamp in GetGuideDays 2024-01-17 12:10:14 -05:00
Patrick Barron
4399b51dca Merge branch 'master' into livetv-guidemanager
# Conflicts:
#	src/Jellyfin.LiveTv/LiveTvManager.cs
2024-01-17 12:08:01 -05:00
Cody Robibero
e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
Martin Vandenbussche
27ab3ef029 Removing unnecessary array initialization 2024-01-17 16:46:04 +01:00
Patrick Barron
3e32f94fb3 Move RefreshGuideScheduledTask to Guide folder 2024-01-17 09:57:38 -05:00
Patrick Barron
59c2ae944d Add IGuideManager service 2024-01-17 09:52:11 -05:00
Bond-009
484ccf7f28
Merge pull request #10858 from barronpm/livetv-tunerhostmanager
Add ITunerHostManager service and minor LiveTv cleanup
2024-01-17 15:42:37 +01:00
Bond-009
0f26d870de
Merge pull request #10876 from Bond-009/cleanup
Fix incorrect path check in CleanupCollectionAndPlaylistPathsTask
2024-01-16 22:34:59 +01:00
Bond_009
244a739675 Fix incorrect path check in CleanupCollectionAndPlaylistPathsTask 2024-01-16 20:24:28 +01:00
Nick
bf57faff65 Translated using Weblate (Georgian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ka/
2024-01-16 11:25:24 -05:00
SuperDumbTM
d4ca845a26 Translated using Weblate (Chinese (Traditional, Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2024-01-16 11:25:24 -05:00
Martin Vandenbussche
9ff9c8f0c7
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-01-16 08:50:39 +01:00
renovate[bot]
021bfd1ecd
chore(deps): update dependency svg.skia to v1.0.0.10 (#10480)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 13:34:18 -07:00
renovate[bot]
fa9b1d5f65
chore(deps): update dependency diacritics to v3.3.27 (#10862)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 13:33:28 -07:00
renovate[bot]
70feba6540
chore(deps): update dependency xunit to v2.6.6 (#10867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-15 13:33:08 -07:00
Patrick Barron
c101d287f2 Remove unused Live TV code 2024-01-15 13:29:55 -05:00
Martin Vandenbussche
c03f5ca6c3 Updating CONTRIBUTORS.md 2024-01-15 16:23:15 +01:00
Martin Vandenbussche
7cd60aefb5 Adding support for proper trailer STRM URL format, along with the deprecated format 2024-01-15 16:19:47 +01:00
Patrick Barron
c23a038ba8 Remove unnecessary allocations in TunerHostManager 2024-01-15 09:37:03 -05:00
Mark Cilia Vincenti
ebedb06e40
Bump AsyncKeyedLock to 6.3.3 2024-01-14 21:53:15 +01:00
JPVenson
3ce16713dd
Fixed disposable not being called (#10613)
* Fixed disposable not being called

* PulledUp usage of IAsyncDisposable for sessioninfo

Co-authored-by: Patrick Barron <barronpm@gmail.com>
2024-01-14 16:50:09 +01:00
Mark Cilia Vincenti
cc42f4430f
Update MediaEncoder.cs 2024-01-14 14:16:20 +01:00
Mark Cilia Vincenti
7998e15839
Update MediaEncoder.cs 2024-01-14 14:13:17 +01:00
Mark Cilia Vincenti
420ce6a4fa
Fixed issue 2024-01-14 13:45:02 +01:00
Mark Cilia Vincenti
e47144e7c7 Updated contributors, upgraded to AsyncKeyedLocker 6.3.0 which now supports non-keyed locking using a similar interface and changed SemaphoreSlim-based locks to using AsyncNonKeyedLocker. 2024-01-14 12:11:16 +01:00
Mark Cilia Vincenti
6a257e1b40 Merge branch 'master' into AsyncKeyedLock-migration 2024-01-14 11:45:19 +01:00
SuperDumbTM
d40224128c Translated using Weblate (Chinese (Traditional, Hong Kong))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zh_Hant_HK/
2024-01-13 05:30:30 -05:00
Patrick Barron
9c2c066e6f Add ITunerHostManager service 2024-01-12 21:17:09 -05:00
Patrick Barron
449365182c Move LiveTV service registration to extension method 2024-01-12 19:18:18 -05:00
Patrick Barron
063168fc1c Move LiveTvConfigurationFactory to Configuration folder 2024-01-12 18:38:23 -05:00
Patrick Barron
ad51f4f95d Add LiveTv configuration extension 2024-01-12 18:37:14 -05:00
Bond-009
93e5135391
Merge pull request #10854 from jellyfin/renovate/ci-deps
chore(deps): update actions/upload-artifact action to v4.1.0
2024-01-12 22:37:10 +01:00
renovate[bot]
a9e0fb0322
chore(deps): update actions/upload-artifact action to v4.1.0 2024-01-12 20:17:54 +00:00
Patrick Barron
f87a5490ad Fix disposable analyzer warnings in SchedulesDirect 2024-01-12 11:35:34 -05:00
Patrick Barron
bbce1beb1d Don't re-use HttpRequestMessage on re-try in SchedulesDirect 2024-01-12 11:35:34 -05:00
Cody Robibero
82df226246
Merge pull request #10838 from barronpm/livetv-project
Move Live TV code to Jellyfin.LiveTv
2024-01-12 09:27:47 -07:00
Patrick Barron
68fd9c469f
Remove DLNA-specific DeviceProfile code (#10850)
* Remove DLNA-specific methods from DeviceProfile

* Remove DLNA-specific fields from DeviceProfile

* Remove unused DLNA models
2024-01-12 09:24:32 -07:00
renovate[bot]
ad2f38ba0b
chore(deps): update skiasharp monorepo (#10849)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 09:22:17 -07:00
Bond-009
b96ca4a775
Merge pull request #10845 from jellyfin/renovate/ci-deps
chore(deps): update actions/download-artifact action to v4.1.1
2024-01-12 15:40:12 +01:00
renovate[bot]
61f99dfffb
chore(deps): update actions/download-artifact action to v4.1.1 2024-01-10 19:50:14 +00:00