Commit Graph

25187 Commits

Author SHA1 Message Date
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
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
Cody Robibero e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07: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
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
Patrick Barron c23a038ba8 Remove unnecessary allocations in TunerHostManager 2024-01-15 09:37:03 -05: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
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
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
Achim Walz 56eea08176 Translated using Weblate (German)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/de/
2024-01-10 13:30:28 -05:00
Bond-009 faccf26ab9
Merge pull request #10836 from jellyfin/renovate/dotnet-monorepo
chore(deps): update dotnet monorepo to v8.0.1
2024-01-09 23:02:11 +01:00
Patrick Barron 41de6d1741 Move StreamHelper to LiveTv project 2024-01-09 11:57:55 -05:00
renovate[bot] c8e979cdd6
chore(deps): update dotnet monorepo to v8.0.1 2024-01-09 16:46:30 +00:00
Patrick Barron c964ea23bf Move RecordingNotifier to LiveTv project 2024-01-09 10:16:58 -05:00
Patrick Barron 126aa9c893 Move channels to LiveTv project 2024-01-09 10:16:58 -05:00
Patrick Barron c1a3084312 Move LiveTv to separate project 2024-01-09 10:16:56 -05:00
Patrick Barron 7eba162879 Move LiveTv tests to separate project 2024-01-09 09:47:07 -05:00
Patrick Barron 051fa04a80 Move GetRecordingStreamMediaSources to IMediaSourceManager 2024-01-09 09:47:07 -05:00
Vasyl Belynets 2f1b7d0988 Translated using Weblate (Ukrainian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/
2024-01-08 16:30:28 -05:00
Andrejs a152b71b25 Translated using Weblate (Latvian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/lv/
2024-01-08 16:30:28 -05:00
Kent 08d773d119 Translated using Weblate (Norwegian Nynorsk)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nn/
2024-01-08 16:30:28 -05:00
renovate[bot] fa03ed4f56
chore(deps): update github/codeql-action action to v3.23.0 (#10832)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-08 10:11:08 -07:00
Bond-009 89a0739d98
Merge pull request #10823 from crobibero/date-time-utc
Specify DateTimeKind when pulling a DateTime out of the database
2024-01-07 13:44:04 +01:00
Bond-009 71ae715b3b
Merge pull request #10822 from crobibero/service-unavailable
Respond with Service Unavailable if not in correct network
2024-01-07 13:39:26 +01:00
Cody Robibero fa0413d6e4 Use StatusCodes which is already an int 2024-01-06 15:24:17 -07:00
Cody Robibero f2b01f66e8 Specify DateTimeKind when pulling a DateTime out of the database 2024-01-06 15:01:54 -07:00
Cody Robibero adb0837dc2 Respond with Service Unavailable if not in correct network 2024-01-06 14:43:19 -07:00
Mohamed Akram f49de51225
Detect audio spatial format (#9996)
* Detect audio spatial format

* Update MediaBrowser.Model/Entities/MediaStream.cs

* Update MediaStream.cs

---------

Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-01-06 14:11:08 -07:00
TelepathicWalrus 7b5c41c2a5
Add option to use replaygain tags for audio (#10566)
* Add option to use replaygain tags for audio

* Change regex to be specific

* Use ffprobe for faster metadata grabs

* Change regex to .Match
2024-01-06 13:59:56 -07:00
Dave Senn 615089228a
Add nuget.config file to fix NU1507 by only allowing nuget.org as package source. see: https://learn.microsoft.com/en-us/nuget/consume-packages/package-source-mapping and https://github.com/dotnet/sdk/issues/25379 (#10396) 2024-01-06 13:44:10 -07:00
Patrick Barron 04dddd3a7b
Remove UserManager Cache (#10781)
* Remove redundant user cache

* Use DI for IPasswordResetProvider and IAuthenticationProvider
2024-01-06 13:43:48 -07:00
JPVenson 5ff7c17daf
Feature/enable gh codespaces (#10324)
* Added BindAll network Manager

* Updated docs

* Update ApplicationHost.cs

resolved merge conflicts

* Fixed merge issues

* Updated Dev container to dotnet

* Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>

* Updates container to include dependencies

* Resolved merge conflicts

* Updated container config to automate setup more

* Updated readme

* Enabled auto loading of extensions

* fixed recommended list not parsable

* Removed obsolete code

* Reverted change to virtualize GetAllBindInterfaces

* Updated Readme

* Update devcontainer.json

---------

Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-01-06 13:35:15 -07:00