Commit Graph

495 Commits

Author SHA1 Message Date
Bond_009
f5ca9cbc3b Enable nullable for MediaBrowser.Providers 2021-10-26 15:49:01 +02:00
Claus Vium
768ec60e11
Merge pull request #6689 from 1337joe/expand-image-extraction 2021-10-21 23:05:32 +02:00
Joe Rogers
31baea072a
Address review comments
Clean up style
Fix references in class summaries
Combine Where+FirstOrDefault queries
Break up large method, long lines
Add validation on file extension
Apply test naming conventions
Extract mock of Movie class, comment on why not mocking interface

Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-10-20 14:10:16 +02:00
MBR-0001
ade3afad41 Add IsAutomated to SubtitleSearchRequest 2021-10-19 21:06:05 +02:00
Joe Rogers
e3eee10d05
Add image provider tests and clean up 2021-10-11 14:09:02 +02:00
Joe Rogers
8d70cc2dde
Add support for non-jpg image extractions 2021-10-11 14:09:02 +02:00
Joe Rogers
6ce8cce12c
Add handling for embedded background and logo 2021-10-11 14:09:01 +02:00
Joe Rogers
be9ed29f63
Split EmbeddedImage extracting to new provider 2021-10-11 14:09:01 +02:00
Fernando Fernández
3d0b1ccae6
Remove all unused usings 2021-09-06 21:15:30 +02:00
Bond_009
6f405dc36d Clean up VideoImageProvider 2021-09-01 18:47:24 +02:00
boolemancer
2345646ff1 Fix explicit stream selection in MediaEncoder.ExtractImageInternal 2021-08-14 02:55:51 -07:00
Rich Lander
927b003143 Fix remaining MediaBrowser.Providers warnings 2021-07-22 20:16:38 -07:00
BaronGreenback
6648b7d7da
Merge branch 'master' into comparisons 2021-06-19 15:04:30 +01:00
Bond-009
cfad97ff28
Merge pull request #6096 from cvium/saving_private_ram 2021-06-12 00:20:54 +02:00
Stan
adf406b182
Fix playback of complex BluRay ISOs (#6166) 2021-06-10 20:07:28 +02:00
cvium
0835b26889 review 2021-05-31 13:55:54 +02:00
Claus Vium
2d5ed7cb95
Apply suggestions from code review
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-28 19:01:08 +02:00
Claus Vium
b12f509de3
Merge pull request #5696 from Maxr1998/fix-music-video-metadata-probing 2021-05-27 10:20:22 +02:00
cvium
42a2cc1747 Remove some unnecessary allocations 2021-05-24 00:30:41 +02:00
cvium
81ac11828b Fix ArrayIndexOutOfBounds 2021-05-16 20:16:47 +02:00
cvium
1b49435a0e Reduce some allocations 2021-05-16 14:49:11 +02:00
BaronGreenback
e682c230bd
Merge branch 'master' into comparisons 2021-05-05 23:22:54 +01:00
BaronGreenback
2e98de9062
Code Clean up: Convert to null-coalescing operator ?? (#5845)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05 13:51:14 +02:00
BaronGreenback
f2c10471bf
Code Clean up: Use Pattern Matching (#5838)
Co-authored-by: Cody Robibero <cody@robibe.ro>
Co-authored-by: Patrick Barron <18354464+barronpm@users.noreply.github.com>
2021-05-05 13:37:36 +02:00
BaronGreenback
107412f2f2
Update FFProbeVideoInfo.cs 2021-04-19 10:23:05 +01:00
BaronGreenback
6b2b484987
Update SubtitleScheduledTask.cs 2021-04-19 10:22:32 +01:00
BaronGreenback
80877aa945 Cleaned up "value assigned is not used in any execution path" 2021-04-17 09:27:58 +01:00
Maxr1998
24ac8a1223
Improve metadata probing to better support music videos 2021-04-06 15:34:29 +02:00
Joshua M. Boniface
670f7cacc3
Merge pull request #4651 from crobibero/iso_manager
Remove IIsoMounter and IsoMounter
2020-12-04 14:53:09 -05:00
crobibero
ca5c20c988 Remove IIsoMounter and IsoMounter 2020-12-03 07:34:15 -07:00
Bond_009
e4fd61411f Minor improvements 2020-12-02 15:38:52 +01:00
Stan
3bb8884e16
Merge branch 'master' into bdiso-playback 2020-10-28 13:18:05 +01:00
Jan-Pieter Baert
6f9beef732
Fix SA1012 and SA1013 warnings 2020-10-12 19:22:33 +02:00
Stanislav Ionascu
cd4641dca0 Remove PlayableStreamFileNames as unused
Since ffmpeg can play and transcode ISO files and BDMV folders directly,
there's no use of that property.
2020-10-01 22:20:34 +02:00
Stanislav Ionascu
3ad6232973 Add probe / direct-stream / transcoding support for BluRays
This commit (and ffmpeg built with libbluray support), adds support
for playback of bluray images (bd-iso) and bluray folders.
2020-10-01 21:59:57 +02:00
Bond_009
384ab39f5b Fix some warnings 2020-09-07 13:20:39 +02:00
Bond_009
2b400c99ef Fix warnings 2020-08-19 17:50:50 +02:00
crobibero
1325815182 Remove IHttpClient from Providers 2020-08-17 13:10:02 -06:00
Bond_009
d4092846e4 Optimize Substring and StringBuilder usage 2020-07-29 13:17:01 +02:00
Bond_009
eba488a0f8 Enable TreatWarningsAsErrors in Release for MediaBrowser.Providers 2020-06-19 20:24:13 +02:00
Bond-009
9af6eda0b4
Merge pull request #3343 from telans/comment-stops
Add full stop at end of comments (SA1629)
2020-06-16 11:54:58 +02:00
telans
247f9c61e6
fix SA1513/SA1516 2020-06-16 16:11:30 +12:00
telans
9018f8d8be
Add full stop at end of comments (SA1629) 2020-06-16 10:37:52 +12:00
telans
3d9049ef08
fix SA1508 2020-06-15 10:45:55 +12:00
telans
acd4389653
fix SA1005 2020-06-15 10:41:00 +12:00
dkanada
403cd3205f
Merge pull request #3254 from crobibero/ilogger
Use typed logger where possible
2020-06-13 00:29:43 +09:00
aled
299e49f39d Fix a small number of compile warnings 2020-06-09 23:12:53 +01:00
aled
22a860a806 Fix a small number of compile warnings 2020-06-06 20:17:49 +01:00
crobibero
44957c5a9a Use typed logger where possible 2020-06-05 18:15:56 -06:00
Bond_009
6b7517e506 Fix indentation 2020-04-11 15:37:24 +02:00
Bond_009
d8a7462205 DvdLib: remove dependency on MediaBrowser.Model 2020-04-11 12:33:23 +02:00
Bond_009
3ab50f5a3f Address comments 2020-04-01 19:05:41 +02:00
Bond_009
787049f35f Merge branch 'master' into minor 2020-04-01 18:53:22 +02:00
ferferga
a9759f6a80 Rename translation keys 2020-03-29 23:46:19 +02:00
ferferga
a2a53ec879 Same with SubtitleScheduledTasks 2020-03-26 22:49:54 +01:00
Mark Monteiro
b67e9cde8c Replace ILogger with ILogger<T> wherever possible
Log entries will contain additional class context when using this interface
2020-03-03 23:07:10 +01:00
Bond_009
a07ee65365 Minor improvements 2020-02-23 10:53:51 +01:00
Bond_009
87d2479b78 Fix warnings 2020-01-31 22:26:53 +01:00
Bond_009
8a0ef41036 Minor improvements 2020-01-08 01:24:12 +09:00
dkanada
aca31457c0 merge branch master into media-attachments 2020-01-08 01:21:09 +09:00
Bond_009
cc5acf37f7 Make probesize and analyzeduration configurable and simplify circular
dependencies

Makes the probesize and analyzeduration configurable with env args.
(`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
2019-11-25 12:07:59 +01:00
Andrew Mahone
03ecf57548 Store MediaAttachments in DB. 2019-10-22 10:32:40 -04:00
Bond_009
1616f24cee Fix more warnings 2019-09-01 18:39:23 +02:00
Bond-009
6032f31aa6 Use CultureInvariant string conversion for Guids 2019-08-09 23:17:54 +02:00
Bond_009
37ea50a572 Reduce the amount of exceptions thrown 2019-03-07 21:42:56 +01:00
Joshua M. Boniface
56dcc45dc0
Merge pull request #732 from Bond-009/locale
Reworked LocalizationManager to load data async
2019-02-03 22:08:20 -05:00
dkanada
9faa68b26f update subtitle task to match the other scheduled tasks 2019-02-03 19:40:55 +09:00
Bond-009
2a1f6361a5
Merge branch 'master' into locale 2019-01-31 18:44:36 +01:00
Bond-009
1ea219bf3f
Merge branch 'master' into culture 2019-01-30 16:57:15 +01:00
Erwin de Haan
450f246f95 Unwrapped GetFileNameWithoutExtension 2019-01-28 22:10:51 +01:00
Erwin de Haan
581a7fe078 Unwrapped MoveDirectory, DirectoryExists, FileExists & removed MoveFile 2019-01-28 22:10:00 +01:00
Erwin de Haan
a430568082 Unwrapped OpenRead and CopyFile 2019-01-28 22:09:58 +01:00
Erwin de Haan
d7c6d16250 Unwrapped CreateDirectory and DeleteDirectory 2019-01-28 22:09:56 +01:00
Erwin de Haan
3a831994f6 Unwrapped GetDirectoryName and DirectorySeperatorChar 2019-01-28 22:06:34 +01:00
Bond_009
a709cbdc64 Fix more analyzer warnings 2019-01-27 12:12:44 +01:00
Bond_009
51edd5d067 Reworked LocalizationManager to load data async 2019-01-27 10:36:05 +01:00
Claus Vium
64b6cfa3dc Add Size to TypedBaseItem 2019-01-26 21:59:06 +01:00
Erwin de Haan
38f96af079 Reformat JustAMan review pt2 changes
Refs #575
2019-01-17 20:24:39 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan
a36658f6f0 ReSharper Reformat: Properties to expression bodied form. 2019-01-13 21:31:14 +01:00
Erwin de Haan
b062577d81 Find+Sed BOM removal *.cs: MediaBrowser.Providers-SocketHttpListener 2019-01-13 21:03:10 +01:00
Erwin de Haan
587bb85b41 Visual Studio Reformat: MediaBrowser.Providers 2019-01-13 20:26:31 +01:00
Erwin de Haan
e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Erwin de Haan
ec1f5dc317 Mayor code cleanup
Add Argument*Exceptions now use proper nameof operators.

Added exception messages to quite a few Argument*Exceptions.

Fixed rethorwing to be proper syntax.

Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)

Added some TODOs to log certain exceptions.

Fix sln again.

Fixed all AssemblyInfo's and added proper copyright (where I could find them)

We live in *current year*.

Fixed the use of braces.

Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.

Made more Methods that should be static static.

You can now use static to find bad functions!

Removed unused variable. And added one more proper XML comment.
2019-01-10 20:38:53 +01:00
hawken
bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
Bond_009
ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
stefan
48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti
70b0dd968f Improve support for embedded metadata; support external subtitles with strm files 2017-12-03 17:12:46 -05:00
Luke Pulverenti
5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti
7174ee66d5 allow separate image extractions for each audio book 2017-11-02 12:00:58 -04:00
Luke Pulverenti
0a0303ca64 normalize strm file contents 2017-11-01 15:50:16 -04:00
Luke Pulverenti
ac09136a3d restore GetImageSize method 2017-10-22 17:38:03 -04:00
Luke Pulverenti
0351c968c3 reduce file checks during library scan 2017-10-13 15:22:24 -04:00
Luke Pulverenti
66ad10348f update translations 2017-10-13 01:43:11 -04:00
Luke Pulverenti
cdd79ec7e2 update owned items 2017-09-18 12:52:22 -04:00
Luke Pulverenti
fe10df6935 improve queries from scheduled tasks 2017-09-09 23:18:23 -04:00
Luke Pulverenti
88bd8892c3 support .vtt subtitles 2017-09-09 14:20:12 -04:00
Luke Pulverenti
e287e3a50d remove async when there's nothing to await 2017-08-26 20:32:33 -04:00
Luke Pulverenti
749a181fac fix video images not being created 2017-08-26 15:50:02 -04:00
Luke Pulverenti
6bc2a79792 fix folder rip probe 2017-08-26 03:03:19 -04:00
Luke Pulverenti
e441e2f53d update active recordings 2017-08-24 15:52:19 -04:00
Luke Pulverenti
1ad990ad72 update live tv data transfer 2017-08-19 15:43:35 -04:00
Luke Pulverenti
e7425e6205 revert servicestack.text update 2017-08-10 14:01:31 -04:00
Luke Pulverenti
40442f887b consolidate emby.server.core into emby.server.implementations 2017-08-09 15:56:38 -04:00
Luke Pulverenti
52aeb3c40b consolidate interfaces 2017-08-07 17:06:13 -04:00
Luke Pulverenti
994720c24a deprecate hddvd videotype 2017-08-07 16:36:41 -04:00
Luke Pulverenti
27c490c152 update file refresher 2017-08-06 01:50:37 -04:00
Luke Pulverenti
db315c4e32 update media source methods 2017-08-05 15:02:33 -04:00
Luke Pulverenti
d8e2887071 update container value 2017-08-04 16:29:34 -04:00
Luke Pulverenti
b89af7af43 fixes #2121 - background roku thumbnail generation (or maybe... any scheduled task?) should be "niced" 2017-08-01 15:43:39 -04:00
Luke Pulverenti
6ff89eab78 fixes #2588 - OpenSubtitlesDownloader doesn't respect X-Ratelimit-Requests-Remaining 2017-06-22 15:14:58 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
da77b05817 update data queries 2017-05-21 03:25:49 -04:00
Luke Pulverenti
d48496b843 add new search filters 2017-05-06 15:45:23 -04:00
Luke Pulverenti
696a6b34ea improve smb support 2017-05-04 14:14:45 -04:00
Luke Pulverenti
04b6f23473 3.2.9.1 2017-03-29 02:26:48 -04:00
Luke Pulverenti
76b456d5e8 add setting to prefer filename or embedded title 2017-02-21 17:12:32 -05:00
Luke Pulverenti
c0e5494825 respect locked fields during media probe 2017-02-21 13:04:18 -05:00
Luke Pulverenti
d218dbd2a1 add cancellation to socket methods 2017-02-05 15:44:08 -05:00
Luke Pulverenti
3ff216f05a update ShortOverview 2017-01-26 15:27:12 -05:00
Luke Pulverenti
85cd90d6e6 update video osd 2017-01-09 12:05:34 -05:00
Luke Pulverenti
b738d560bf update audio metadata 2017-01-07 15:52:56 -05:00
Luke Pulverenti
853dbfc558 separate player selection into it's own script 2016-12-29 02:14:59 -05:00
Luke Pulverenti
e265d8efec fix bdinfo path 2016-12-24 02:41:25 -05:00
Luke Pulverenti
a8b340cbb2 update portable projects 2016-11-08 13:44:23 -05:00
Luke Pulverenti
3bf72b71b3 consolidate internal interfaces 2016-10-31 00:28:23 -04:00
Luke Pulverenti
ce38e98791 move common dependencies 2016-10-29 00:10:11 -04:00
Luke Pulverenti
099b4d3e5b update providers to use core interfaces 2016-10-27 14:30:20 -04:00
Luke Pulverenti
872aec9352 continue reworking provider project 2016-10-27 03:58:33 -04:00
Luke Pulverenti
3d7f75eea3 more steps to make provider project portable 2016-10-26 15:29:56 -04:00
Luke Pulverenti
ef6b90b8e6 make controller project portable 2016-10-25 15:02:04 -04:00
Luke Pulverenti
edbe28d9fc move interface to model 2016-10-23 22:45:23 -04:00
Luke Pulverenti
0f8ccfaf49 prep for portable common 2016-10-23 15:47:34 -04:00
Luke Pulverenti
07791d46a5 rework scheduled tasks in preparation of common project going portable 2016-10-23 15:14:57 -04:00
Luke Pulverenti
17e5c92549 add null check to subtitle task 2016-10-22 10:50:45 -04:00
Luke Pulverenti
5cd3276775 pass requested fields to data layer 2016-10-08 01:57:38 -04:00
Luke Pulverenti
b9cacd8076 update live streams 2016-10-05 03:15:29 -04:00
Luke Pulverenti
911d9f4598 move more metadata settings to per library 2016-10-02 00:31:47 -04:00
Luke Pulverenti
229172da50 update series recording editor 2016-09-30 14:43:59 -04:00
Luke Pulverenti
adb39f4090 update recording layouts 2016-09-26 14:59:18 -04:00
Luke Pulverenti
2bdaba633c make chapter images a per-library setting 2016-08-29 17:06:24 -04:00
Luke Pulverenti
e4851e1b25 reduce rescanning due to IsOffline 2016-08-24 02:13:15 -04:00
Luke Pulverenti
68d1b60964 stub out objects for per library settings 2016-08-13 01:49:00 -04:00
Luke Pulverenti
de0f97159b check item path for null/empty 2016-08-10 23:56:14 -04:00
Luke Pulverenti
112d5d6348 try to detect 3d type 2016-08-09 01:08:36 -04:00
Sven Van den brande
219cba7506 Removed redundant Collection Initializers
Removed Using directives that are not required
2016-07-29 21:18:03 +02:00
Luke Pulverenti
eb321dad3b fix DateModified not refreshing 2016-07-24 12:46:17 -04:00
Luke Pulverenti
1de6ce2a2b update subtitle resolver 2016-07-20 22:55:35 -04:00
Luke Pulverenti
00634b62c5 remove standard output redirect on image extractions 2016-06-30 22:35:18 -04:00
Luke Pulverenti
e78565491a fix trailer metadata 2016-05-07 17:01:21 -04:00
Luke Pulverenti
324c6dc8db update embedded metadata extraction 2016-05-01 16:56:26 -04:00
Luke Pulverenti
b0379ec7f8 improve embedded image extraction 2016-04-13 16:49:16 -04:00
Luke Pulverenti
e31aec4bc5 update metadata refresh 2016-04-08 14:32:38 -04:00
Luke Pulverenti
8e0c9c53bc add open subtitle option to only download subtitles that are a perfect match 2016-04-07 00:09:32 -04:00
Sven Van den brande
168587b2a0 Remove unused code... 2016-03-27 23:11:27 +02:00
Luke Pulverenti
b2d1c0dee3 update subtitle download setting 2016-03-19 18:31:00 -04:00
Luke Pulverenti
d683f30619 update music user data key 2016-03-13 21:34:24 -04:00
Luke Pulverenti
b52e9091bb improve support for embedded mp4 info 2016-02-24 14:29:49 -05:00
Luke Pulverenti
76eb1c46e3 support more embedded video metadata 2016-02-17 21:55:15 -05:00
Luke Pulverenti
64f522a9b7 catch BDInfo errors 2016-01-28 20:15:59 -05:00
Luke Pulverenti
0b9b62063e update IsHD 2016-01-23 13:21:46 -05:00
Luke Pulverenti
81fb823c02 record mediastream comment 2016-01-11 11:52:22 -05:00
Luke Pulverenti
7f7c847216 try to account for sloppy subtitle file naming 2015-12-26 13:35:53 -05:00
Luke Pulverenti
0540f1b492 update bdinfo 2015-12-22 12:27:04 -05:00
Luke Pulverenti
02938e7bcb update keyframe setting 2015-12-12 01:49:03 -05:00
Luke Pulverenti
c7b10864fe update dvd parsing 2015-12-03 11:50:26 -05:00
Luke Pulverenti
4ad96e4ff5 update logging levels 2015-10-04 18:04:56 -04:00
Luke Pulverenti
078277ebc2 continue file system rework 2015-10-04 00:23:11 -04:00
Luke Pulverenti
8ad702060e begin file system rework 2015-10-03 23:38:46 -04:00
Luke Pulverenti
1cf65f1a2e restore changes 2015-09-30 00:19:45 -04:00
Luke Pulverenti
8809b76a4f 3.0.5724.6 2015-09-30 00:13:48 -04:00
Luke Pulverenti
f3e9bbed23 update file system methods 2015-09-24 13:50:49 -04:00
Luke Pulverenti
7488ea8c14 update video probing 2015-09-23 00:00:30 -04:00
Luke Pulverenti
718545a79b update metadata editor 2015-09-19 22:06:56 -04:00
Luke
14de062681 update file system methods 2015-09-13 17:32:02 -04:00
Luke Pulverenti
4ca526979d 3.0.5713.4 2015-08-27 11:58:07 -04:00
Luke Pulverenti
5b21ec6747 update interval trigger 2015-08-26 21:31:54 -04:00
Luke Pulverenti
901dab5760 rework transcoding settings 2015-07-30 21:52:11 -04:00
Luke Pulverenti
b1be4939df update components 2015-07-13 17:26:11 -04:00
Luke Pulverenti
b1be09242c update people saving 2015-06-28 21:10:45 -04:00
Luke Pulverenti
b3dd4beb8a update people saving 2015-06-28 13:00:36 -04:00
Luke Pulverenti
8afd04ae37 consolidate people access 2015-06-28 12:36:25 -04:00
Luke Pulverenti
94a2cfa9f5 updated translations 2015-05-16 23:17:23 -04:00
Luke Pulverenti
1e7b3af9c2 update naming project 2015-05-10 00:29:04 -04:00
Luke Pulverenti
a38f04b1b9 added headroom scrolling 2015-05-04 10:35:38 -04:00
Luke Pulverenti
623874ec8b improve live stream pinging 2015-04-20 14:04:02 -04:00
Luke Pulverenti
c7b95a2513 3.0.5582.2 2015-04-15 23:23:13 -04:00
Luke Pulverenti
17f5ae8118 improve ffmpeg killing 2015-04-10 18:16:41 -04:00
Luke Pulverenti
2a681f205a capture key frame info 2015-04-10 15:08:09 -04:00
Luke Pulverenti
3cb2043028 added sync cpu settings 2015-04-09 13:30:18 -04:00
Luke Pulverenti
3cc0ad2a35 add notification services tab 2015-04-05 23:47:01 -04:00
Luke Pulverenti
30104bd8de probe live streams after opening 2015-04-05 11:01:57 -04:00
Luke Pulverenti
2b7a80cfb5 improve direct play of live streams 2015-04-04 15:35:29 -04:00
Luke Pulverenti
a025f4eefa sync updates 2015-03-31 12:24:16 -04:00
Luke Pulverenti
bd2ea703e3 implement modular media sources 2015-03-28 16:22:27 -04:00
Luke Pulverenti
96ec4cef77 add ArtistItems to api output 2015-03-13 13:25:28 -04:00
Luke Pulverenti
0ec38a9d40 adjust audio direct play checks 2015-03-12 21:55:22 -04:00
Luke Pulverenti
6e1178a07b improve wtv handling 2015-03-05 01:34:36 -05:00
Luke Pulverenti
e6e5d1a794 sync updates 2015-02-07 00:28:38 -05:00