Erwin de Haan
a430568082
Unwrapped `OpenRead` and `CopyFile`
6 years ago
Erwin de Haan
d7c6d16250
Unwrapped CreateDirectory and DeleteDirectory
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Tthecreator
0b80902cc8
Set EnableRaisingEvents correctly for SubtitleEncoder
6 years ago
Andrew Rabert
d16f38dbe1
Merge pull request #623 from wtayl0r/inject-logger-factories
...
Replaced injections of ILogger with ILoggerFactory
6 years ago
Andrew Rabert
a1fcf4ea0d
Merge pull request #613 from MatMaul/mediaencoding-dev
...
Update MediaEncoding
6 years ago
Mathieu Velten
da16de48aa
Revert back to 10e57ce8d21b4516733894075001819f3cd6db6b for MediaEncoding
...
Remove some duplicate code that were causing warnings
6 years ago
William Taylor
65cd3ed597
Replaced injections of ILogger with ILoggerFactory
...
This makes resolving dependencies from the container much easier as
you cannot resolve with primitives parameters in a way that is any
more readable.
The aim of this commit is to change as little as possible with the end
result, loggers that were newed up for the parent object were given the same
name. Objects that used the base or app loggers, were given a new logger with
an appropriate name.
Also removed some unused dependencies.
6 years ago
Claus Vium
e8cf72e925
Change CanExtractSubtitles to true to allow conversion during direct streaming
6 years ago
Andrew Rabert
3a6624f701
Merge pull request #629 from cvium/fix_subtitleencoder
...
Fix subtitle converter misinterpreting 0 valued endTimeTicks
6 years ago
Claus Vium
2b47006662
Remove unneeded variable
6 years ago
Claus Vium
2dc14aa85d
Remove CodePages from csproj
6 years ago
Claus Vium
26e20d1cd5
Fix subtitle converter misinterpreting 0 valued endTimeTicks
6 years ago
cvium
790266d314
Add package ref for codepages
6 years ago
cvium
b35dcbb9f0
Remove MediaBrowser.Text since it violates licenses and is overall hacky
6 years ago
Erwin de Haan
c5430f86b0
Fixed csproj and xml identation.
6 years ago
Erwin de Haan
38f96af079
Reformat JustAMan review pt2 changes
...
Refs #575
6 years ago
Erwin de Haan
e867446437
ReSharper format: conform inline 'out' parameters.
6 years ago
Erwin de Haan
65bd052f3e
ReSharper conform to 'var' settings
6 years ago
Erwin de Haan
a36658f6f0
ReSharper Reformat: Properties to expression bodied form.
6 years ago
Erwin de Haan
9fa60ec934
Find+Sed BOM removal all toher files, except test files.
6 years ago
Erwin de Haan
089ad8e7c2
Find+Sed BOM removal *.xml,*.csproj,*,json,*.sln,*.txt
6 years ago
Erwin de Haan
8f41ba4d3a
Find+Sed BOM removal *.cs: MediaBrowser.LocalMetadata-MediaBrowser.Model
6 years ago
Erwin de Haan
742bef5b5f
EditorConfig reformat: Non-CS files.
6 years ago
Erwin de Haan
f2e50f50bd
Visual Studio Reformat: MediaBrowser.MediaEncoding
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
6 years ago
Andrew Rabert
e5c2dbdf23
Merge pull request #540 from joshuaboniface/api-keys
...
Update Emby API keys to our own
6 years ago
Joshua M. Boniface
15c89d281e
Merge pull request #506 from hawken93/linting
...
Removing tabs and trailing whitespace
6 years ago
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.
6 years ago
Anthony Lavado
5900ab8c68
Update OpenSubtitles User Agent to our own
6 years ago
Bond_009
f520ddc966
Remove useless properties from IEnvironmentInfo
6 years ago
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Andrew Rabert
237187bfc0
Merge pull request #456 from Bond-009/subencoder
...
SubtitleEncoder: stop using tuples for clarity
6 years ago
Anthony Lavado
0a715f9196
Merge pull request #435 from Bond-009/ffmpeglogs
...
Reduce log spam from ffmpeg info
6 years ago
Bond_009
73fd0cd8c6
SubtitleEncoder: stop using tuples for clarity
...
* Replace Tuples with a ValueTuple or a struct
6 years ago
Bond_009
abddc4786c
Reduce log spam from ffmpeg info
6 years ago
Bond_009
59d8d9a82c
Fix nullrefexception in SubtitleEncoder
6 years ago
Anthony Lavado
a06a5c8d18
Merge branch 'dev' into project-updates
6 years ago
Bond_009
ec47c5b0f7
Remove unused FontConfigLoader
6 years ago
Bond_009
f3030812ea
Use static regex
6 years ago
Bond_009
d6f3ca859e
Change regex to multiline
...
ex: https://regex101.com/r/bn9IOy/12
6 years ago
Bond_009
c05e8088d6
Remove extra capture group from regex
...
https://regex101.com/r/bn9IOy/11/
6 years ago
Bond_009
12c43cd769
Use regex to check if ffmpeg output contains codec
...
Demo of the regex: https://regex101.com/r/bn9IOy/10/
6 years ago
Bond_009
0042b96c80
Use ValueTuple and Linq
6 years ago
Bond_009
96ad22a009
Reduce log spam and clean up EncoderValidator
6 years ago
Anthony Lavado
87812d1e7f
Fix spacing to C#/Visual Studio standards
...
- This is a fix automatically applied by Visual Studio
6 years ago
Bond_009
c99b45dbe0
Remove some warnings
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0c1b9d3bff
Rebase
6 years ago
Bond_009
b0ca979bed
MediaBrowser.MediaEncoding use same layout/style as other csprojs
6 years ago