Commit graph

5208 commits

Author SHA1 Message Date
Tim Eisele dc27d8f9cd
Refactor URI overrides (#10051) 2023-10-11 00:02:37 +02:00
Cody Robibero 6bd6fb6e0a Merge branch 'master' into chromecast-config
# Conflicts:
#	Emby.Server.Implementations/ApplicationHost.cs
2023-10-10 15:59:34 -06:00
Cody Robibero 2920611ffc Convert string MediaType to enum MediaType 2023-10-10 15:57:15 -06:00
Bond-009 fc1f0a31a1
Merge pull request #10337 from barronpm/system-manager 2023-10-10 13:12:43 +02:00
herby2212 e8a05ad996 optimize checkForInactiveStreams logic 2023-10-09 19:15:25 +02:00
tellmeY18 8466e53b8f Translated using Weblate (Malayalam)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ml/
2023-10-08 21:25:33 -04:00
Bond-009 406c5df8a3
Merge pull request #10345 from Bond-009/getperson 2023-10-08 14:07:38 +02:00
Bond-009 0b31997b2f
Merge pull request #10348 from Bond-009/strings 2023-10-08 14:07:30 +02:00
herby2212 994619afb2 fix formatting for build process 2023-10-08 13:49:35 +02:00
Stepan Goremykin fdef9356b9 Use null propagation 2023-10-08 01:25:37 +02:00
Stepan Goremykin 212976277d Remove redundant ToString call for value types 2023-10-08 01:17:32 +02:00
Stepan Goremykin f84469d500 Remove redundant using directives 2023-10-08 00:50:02 +02:00
Stepan Goremykin 47254d6a22 Remove conditional access when it is known to be not null 2023-10-08 00:46:15 +02:00
Stepan Goremykin 526f9a825c Make files readonly 2023-10-08 00:40:58 +02:00
Stepan Goremykin 2360d28cbb Fix possible double dispose 2023-10-08 00:31:46 +02:00
Stepan Goremykin 8ea812b65d Reduce string literal length by using verbatim string 2023-10-08 00:26:12 +02:00
Stepan Goremykin a37dc3da96 Use async overload 2023-10-08 00:17:48 +02:00
Stepan Goremykin 73309f2649 Pass cancellation token 2023-10-07 23:50:45 +02:00
Stepan Goremykin 8925390ad4 Remove redundant cast 2023-10-07 23:42:15 +02:00
Stepan Goremykin a3d3ec7e0b Remove redundant SuppressFinalize call 2023-10-07 23:41:45 +02:00
herby2212 db5c2f738e integrate development from v1 2023-10-07 21:18:21 +02:00
herby2212 56aa37a314 Switch to named placeholders 2023-10-07 20:52:16 +02:00
[ ] e9e1fd214b Translated using Weblate (Pirate (pr))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pr/
2023-10-06 03:31:35 -04:00
Bond_009 b176beb88e Reduce string allocations
Some simple changes to reduce the number of allocated strings
2023-10-06 01:04:25 +02:00
Bond_009 852f1dc0c1 Don't create non existent persons in LibraryManager.GetPerson
return null instead.

GetStudio, GetGenre, GetMusicGenre, GetYear, GetArtist still create a new one
when the requested one doesn't exist

Fixes #3901
2023-10-05 23:16:17 +02:00
Patrick Barron 6f7413812f Add SystemManager service 2023-10-04 14:40:00 -04:00
Artnal c9ce246c17 Translated using Weblate (French)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fr/
2023-10-04 11:31:33 -04:00
Piranha 35e09cf203 Translated using Weblate (Spanish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/es/
2023-10-04 11:31:33 -04:00
Bond-009 c124d02501
Merge pull request #10331 from barronpm/minor-cleanup 2023-10-04 15:02:21 +02:00
Claus Vium 467aa40d21
Merge pull request #10222 from Bond-009/photos 2023-10-03 19:23:35 +02:00
Patrick Barron 12b51cf2ba Reduce nesting in SessionManager.OnPlaybackStopped 2023-10-03 10:31:55 -04:00
Patrick Barron 78e00578c2 Use DI for IFileSystem 2023-10-03 10:25:14 -04:00
Bond-009 caaf8f026e
Merge pull request #10323 from hagaygo/master 2023-10-03 11:05:20 +02:00
Bond-009 14b06ecbe2
Merge pull request #10261 from barronpm/ihostlifetime 2023-10-03 11:05:10 +02:00
Bond-009 1514b5d052
Merge pull request #10219 from Bond-009/zfs 2023-10-03 11:04:38 +02:00
Patrick Barron ab0790271a
Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2023-10-02 16:54:19 -04:00
Patrick Barron f746db9a54 Re-add shutdown/restart methods 2023-10-02 15:55:26 -04:00
officialdanielamani 5153e9259b Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2023-10-02 10:09:33 -04:00
Oliver Bastholm 6f464a3ac6 Translated using Weblate (Danish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/da/
2023-10-02 10:09:32 -04:00
Hagay Goshen 34c4c9f034 allow repeated same tv guide m3u channels , issue 6527 2023-10-02 13:48:32 +03:00
Patrick Barron 59ec06c35c Clear active sessions on application stopping 2023-09-29 12:43:49 -04:00
Anand CU ea56b3edb7 Translated using Weblate (Kannada)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/kn/
2023-09-28 14:41:12 -04:00
Bond_009 cc15ea7f65 Ignore .zfs folder
Maybe helps with #10215 ?
2023-09-27 20:35:00 +02:00
Bond_009 57891e7639 PhotoResolver: change how generated images are detected
Backdrops/fanart are generated as (backdrop)|(fanart)[0-9]*.extension

Fixes #7830
2023-09-27 17:20:55 +02:00
trailfullideal b17ee80652 Translated using Weblate (Cherokee)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/chr/
2023-09-25 11:40:58 -04:00
trailfullideal 3229d3ba02 Translated using Weblate (Assamese)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/as/
2023-09-24 11:18:33 -04:00
trailfullideal 79976b6b48 Translated using Weblate (Zulu)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/zu/
2023-09-24 11:18:33 -04:00
trailfullideal 0eddc3e6ad Added translation using Weblate (Cherokee) 2023-09-24 11:18:33 -04:00
Cody Robibero ba7e3bfd82 Migrate to customizable cast receiver config 2023-09-23 11:04:53 -06:00
Patrick Barron 493de3297a Use IHostLifetime to handle restarting and shutting down 2023-09-23 11:57:38 -04:00
Cody Robibero 7958a2fd15
Merge pull request #10218 from Bond-009/librarymonitor 2023-09-22 09:06:34 -06:00
Cody Robibero 3a2799e61b
Merge pull request #10234 from Shadowghost/cleanup-playlists-task 2023-09-22 06:55:11 -06:00
Bond_009 b8f42573c4 Address review comments 2023-09-18 20:50:05 +02:00
Tim Eisele 151d678b0e
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-18 19:13:33 +02:00
atomicmind 043fc387e0 Translated using Weblate (Slovenian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/sl/
2023-09-18 07:40:54 -04:00
Tim Eisele bce45992d9
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-17 16:35:41 +02:00
Tim Eisele 61a49e94c4
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-17 14:13:25 +02:00
Tim Eisele fccea4625d
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionAndPlaylistPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-09-17 14:13:19 +02:00
Tycho Brouwer db83bed9da Translated using Weblate (Dutch)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/nl/
2023-09-16 19:40:55 -04:00
Shadowghost 783bb8a8cb Apply review suggestions 2023-09-16 17:05:54 +02:00
Shadowghost f7720e7c99 Extend collections cleanup task to include playlists too 2023-09-16 15:09:19 +02:00
Bond_009 767a42fbdb Minor LibraryMonitor improvements
* Enable nullable
* Add a fast return to ReportFileSystemChanged when path should be ignored
* Use Span overloads of Path.* functions where possible
* IFileSystem: remove NormalizePath as Path.TrimEndingDirectorySeparator already checks if it's a root path
2023-09-13 17:30:50 +02:00
Bond-009 3087881d93
Merge pull request #10056 from Bond-009/nullable2 2023-09-12 11:09:20 +02:00
Claus Vium ec1149eac5
Merge pull request #10200 from thornbill/next-up-continue
Add option to include resumable items in next up requests
2023-09-11 20:03:58 +02:00
Bill Thornton 9ea46b9e17 Remove existing sessions for a user on the same device on login 2023-09-11 10:49:01 -04:00
Bill Thornton 9c64f94458 Add option to include resumable items in next up requests 2023-09-06 00:35:32 -04:00
Bill Thornton aea57c1a4a Remove unused variable 2023-09-06 00:06:08 -04:00
Bill Thornton 8d6e7d893b Remove one session per device id limitation 2023-09-05 16:49:28 -04:00
Lukáš Kucharczyk 5c5daac98c Translated using Weblate (Czech)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/cs/
2023-09-05 02:40:48 -04:00
Nick 5a860710a8 Make TrickplayManifest dictionary key a string rather than Guid 2023-09-04 12:30:20 -07:00
Slug-Cat 25bc4b875c Translated using Weblate (Pirate (pr))
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/pr/
2023-09-03 01:40:49 -04:00
queeup da6a3c2bd3 Translated using Weblate (Turkish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/tr/
2023-09-01 10:40:48 -04:00
Daniel Martin Gonzalez 1aa0ce961b
Add new Spain content rating ERI
Add the content rating ERI to Spain list used in some providers and channels as Specially Recommended for Toddlers.
2023-08-29 11:22:55 +02:00
Bond-009 c7ca416206
Merge pull request #10138 from cvium/sqlite_client_poc 2023-08-28 11:54:35 +02:00
Bond-009 3b07d73d40
Merge pull request #10154 from goremykin/multiple-enumerations 2023-08-27 10:17:30 +02:00
NickSkier 1f083c0de2 Translated using Weblate (Russian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ru/
2023-08-26 11:44:18 -04:00
Stepan Goremykin 0ed2aa6f06 Fix a few multiple enumerations 2023-08-26 16:57:27 +02:00
cvium 4fa7672d75 fix todos and add graylog back 2023-08-25 19:49:14 +02:00
cvium 9a246166b0 move a computation out of transaction and skip season updates if name matches 2023-08-23 12:15:21 +02:00
Bond_009 18a311d32f == null -> is null 2023-08-22 21:14:54 +02:00
cvium cb48fe02c2 remove nullable enable 2023-08-22 20:12:16 +02:00
Bond_009 d92e9ae85e Enable nullable for more files and add tests
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters
Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
2023-08-22 18:11:34 +02:00
cvium 05e40ecb93 review comments 2023-08-22 08:31:34 +02:00
cvium 0d3d9490e5 remove unused deps 2023-08-22 07:27:21 +02:00
cvium d1190c5215 fix userdata table not being committed 2023-08-21 22:12:08 +02:00
cvium a061e8f8e4 fix bad merge 2023-08-21 21:54:56 +02:00
cvium c24571b5b8 Merge branch 'master' into sqlite_client_poc
# Conflicts:
#	Emby.Server.Implementations/Data/SqliteItemRepository.cs
2023-08-21 21:53:26 +02:00
cvium e7016e38b8 remove readonly 2023-08-21 21:49:39 +02:00
cvium 791413a50f open before changing pragmas 2023-08-21 21:38:16 +02:00
cvium cf04b43fa4 simplify extension methods 2023-08-21 21:37:18 +02:00
cvium fb511dbae2 rename variable and fix crash 2023-08-21 20:34:50 +02:00
Bond-009 84643e328d
Reduce the amount of allocations in GetWhereClauses (#10114) 2023-08-21 18:38:32 +02:00
cvium 061d79c113 remove runintransaction 2023-08-21 14:12:49 +02:00
cvium 0867812c1f more using 2023-08-21 12:46:30 +02:00
cvium f2d7842563 add missing using 2023-08-21 12:29:20 +02:00
cvium 493229cc15 fix guid blobs 2023-08-21 12:27:07 +02:00
cvium 613f4296e3 loading works 2023-08-21 12:13:32 +02:00
Muhammad Wafi Bin Arzu 388420faa2 Translated using Weblate (Malay)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ms/
2023-08-20 15:40:43 -04:00
0TTA 24201ef2e9 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2023-08-20 15:40:43 -04:00
Bond-009 260680d727
Merge pull request #10122 from cvium/remove_unnecessary_memorycache 2023-08-20 20:06:21 +02:00
cvium 2e32e335ac refactor: use ConcurrentDictionary when IMemoryCache isn't needed 2023-08-18 14:00:56 +02:00
TelepathicWalrus 4c7fb8f452
Album gain (#10085)
* Add LUFSAlbum DTO

* Get loudest track for smallest gain

* Move gain search to musicalbum
use baseitem LUFS for album

* Use .Max for enumerable

* Update DTO to be consistent with other DTOs

* Remove albumlufs,
Move dto for all types
2023-08-18 10:25:56 +02:00
Bond-009 da030ed589
Merge pull request #10117 from Elu43/master
Fix French parental rating system
2023-08-18 10:25:06 +02:00
Samuel Bartík 71e4ea1314
Add Slovak parental ratings 2023-08-17 01:07:14 +02:00
Elu43 769953ad55
Update fr.csv 2023-08-16 15:33:58 +02:00
Bond-009 623027315b
Merge pull request #10029 from tallbl0nde/fix-multi-disc-album-art-extraction 2023-08-01 20:27:18 +02:00
Bond-009 07727e1d63
Merge pull request #9875 from Shadowghost/fixes 2023-08-01 20:26:21 +02:00
Bond_009 5677566a41 Enable nullable for more files 2023-07-29 21:35:38 +02:00
Shadowghost 4bb17039d7 Apply review suggestions 2023-07-29 13:50:55 +02:00
Shadowghost 048cb208b2
Fix Australian parental rating system (#10006) 2023-07-28 22:55:54 -06:00
tallbl0nde b8e5afbc10
Enable recursive query in BaseFolderImageProvider
Fixes album art not being extracted for multi-disc albums
2023-07-21 19:16:01 +09:30
Bond-009 db347eb7d8
Merge pull request #9992 from Blackskyliner/patch-1 2023-07-20 23:55:03 +02:00
Jothi Prasath fbe8388f82 Translated using Weblate (Tamil)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ta/
2023-07-17 09:41:52 -04:00
Yaron Shahrabani a17f8c56b6 Translated using Weblate (Hebrew)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/he/
2023-07-17 09:41:52 -04:00
Osa 4d2e612693 Translated using Weblate (Arabic)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ar/
2023-07-13 17:54:56 -04:00
Christoph Landsdorf bfc0056426
Add TinyMediaManager compatibility for german parental rating
This commit adds the format which gets written by
 the tool TinyMediaManager which can be used to
 manage large media databases comfortably.

TMM writes wither multiple Codes and/or space
 divided german FSK codes, but can't be configured
 to only use the number or the slash delimited variant.

After this change the parental control for Libraries
 managed with TMM and presented/loaded into Jellyfin
 should work again.
2023-07-12 20:32:43 +02:00
Aran Chananar 1ea8150b0c Translated using Weblate (Thai)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/th/
2023-07-10 01:41:49 -04:00
Shadowghost 05d98fe24c Enforce permissions on websocket connections 2023-07-07 08:50:37 +02:00
Shadowghost 958f8f71e8 Add wrapper object for authentication event information 2023-07-07 08:50:37 +02:00
Bond-009 5b711f38d1
Merge pull request #9958 from Shadowghost/networking-fixex 2023-07-06 19:56:17 +02:00
Bond-009 b95fa294c9
Merge pull request #9799 from Bond-009/genregex 2023-07-06 19:56:00 +02:00
Balázs Meskó fd56296270 Translated using Weblate (Hungarian)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/hu/
2023-07-06 09:41:47 -04:00
Oskari Lavinto 3ab8235358 Translated using Weblate (Finnish)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/fi/
2023-07-04 00:41:47 -04:00
Shadowghost e56275fb46 Extract networking constants 2023-07-03 22:04:59 +02:00
Joshua M. Boniface 93b400343e
Merge pull request #8147 from Shadowghost/network-rewrite 2023-07-03 13:16:21 -04:00
Shadowghost e233a3b074 Apply review suggestions 2023-07-03 15:59:39 +02:00
Shadowghost 32ac3b580c Rename additional values in NetworkConfiguration and add migration for all changed values 2023-07-03 14:03:33 +02:00
Claus Vium 10fde0a2c1
Merge pull request #8914 from bradbeattie/augmented-tag-searching
Augment tag searching to consider individual ItemValues instead of the delimited tags field
2023-07-03 08:51:46 +02:00
Cody Robibero 52252fcd55
Fix sending websocket messages (#9948) 2023-07-02 16:14:44 -06:00
Claus Vium 80f1f5e00d
Merge pull request #9219 from ProfessionalismIsMyMiddleName/master
Add a way to handle more invalid characters when sanitizing a filename
2023-07-01 19:39:38 +02:00
Claus Vium bfb7c60f72
Merge pull request #9447 from Bond-009/disablerealtimemonitor
Disable real time monitoring by default
2023-07-01 19:33:53 +02:00
Ronan Charles-Lorel 4dc87a6f93
Align indentation on bottom brace of new list
Should stop error SA1137 in debug build
2023-07-01 03:37:18 +02:00
Ronan Charles-Lorel c21140eeb5
Formatting
Fixes debug build?

Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-07-01 03:24:19 +02:00
Ronan Charles-Lorel 07c142d5bd
Moving invalid chars list at class level with a better name 2023-06-29 16:04:45 +02:00
Ronan Charles-Lorel 46763b7661
Remove call to Path.GetInvalidFileNameChars
Superseded by a static char list to avoid platform-dependent issues
2023-06-29 15:21:39 +02:00
Ronan Charles-Lorel e108183b13
Merge branch 'jellyfin:master' into master 2023-06-29 15:08:52 +02:00
Cody Robibero b5bbb98175
Fix Websocket OpenApi (#9935)
* Further split inbound and outbound messages

* Fix datatype for inbound start messages

* fixes from review
2023-06-29 05:44:36 -06:00
Nick 6d9e43cfe0 Merge branch 'master' into trickplay 2023-06-28 21:43:23 -07:00
Joshua M. Boniface 76939bbd9b
Merge pull request #9231 from JPVenson/bugfix/1907_CleanupCollections 2023-06-28 17:44:11 -04:00
Bond_009 b5f0760db8 Use RegexGenerator where possible 2023-06-28 17:07:57 +02:00
Bond-009 f954dc5c96
Do HEAD request to get content type instead of checking for extension (#8823) 2023-06-27 21:36:39 -06:00
Cody Robibero cc82ca189f suggestions from review 2023-06-27 21:19:15 -06:00
Shadowghost a6e9824e8a Merge branch 'master' into network-rewrite 2023-06-27 16:15:57 +02:00
JPVenson 0f60ec3013
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
2023-06-27 16:05:07 +02:00
Nick fc61933748 Minor code changes 2023-06-26 22:04:39 -07:00
Nick ab20ceaad6 Migrate to trickplay table to EF. Rename vars/methods/members to have consistent use of tile and thumbnail 2023-06-26 17:40:10 -07:00
Sushil Shrestha 45ed1d9f88 Translated using Weblate (Nepali)
Translation: Jellyfin/Jellyfin
Translate-URL: https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/ne/
2023-06-24 11:41:43 -04:00
Nick d7fd54197c Task localization 2023-06-22 16:23:52 -07:00
nicknsy d84370a6f7 Make trickplay response ids have no dashes 2023-06-22 16:23:51 -07:00
nicknsy ca7d1a1300 Trickplay generation, manager, storage 2023-06-22 16:19:59 -07:00