Bond_009
81209258ab
ManagedFileSystem: Rewrite GetValidFilename and more improvements
4 years ago
Claus Vium
f99237cf9b
Update Emby.Server.Implementations/IO/ManagedFileSystem.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
cvium
1a3352003d
don't die on dangling symlinks
4 years ago
Bond_009
c533b20496
Remove ManagedFileSystem.IsRootPath
...
`Path.IsPathRooted` should be used instead
4 years ago
crobibero
8d902478a0
Don't skip hidden files
4 years ago
Gary Wilber
1fdeac0a7d
Ignore inaccessible files during library scans
4 years ago
crobibero
ca5c20c988
Remove IIsoMounter and IsoMounter
4 years ago
Bond_009
e653eef44f
Fix some warnings
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond_009
01e781035f
Fix warnings
4 years ago
Ken
eea142cad1
FullName property instead of ToString in Emby.Server.Implementations/IO/ManagedFileSystem.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Ken
d719ca78b4
Spacing standard on Emby.Server.Implementations/IO/ManagedFileSystem.cs
...
Co-authored-by: Cody Robibero <cody@robibe.ro>
4 years ago
Ken Brazier
6a39b1a4ca
Merge 'master' updates into 2354-soft-link-sizes
4 years ago
telans
247f9c61e6
fix SA1513/SA1516
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
telans
acd4389653
fix SA1005
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Ken Brazier
36312c92f5
2354 open soft-links to read size
5 years ago
Erik Rigtorp
f144acdc96
Use glob patterns to ignore files
5 years ago
Mark Monteiro
c2b21ce553
Register and construct ILibraryMonitor correctly
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
5 years ago
Bond_009
07cc4be6a7
Fix some warnings
...
* Add analyzers to MediaBrowser.XbmcMetadata
* Enable TreatWarningsAsErrors for MediaBrowser.XbmcMetadata
* Add analyzers to MediaBrowser.WebDashboard
* Enable TreatWarningsAsErrors for MediaBrowser.WebDashboard
* Disable SA1600 in favor of CS1591
5 years ago
Bond_009
7060934792
Fix some warnings in Emby.Server.Implementations
5 years ago
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
5 years ago
dkanada
9eac19c75a
change invariant culture to ordinal
5 years ago
dkanada
65e9a705d3
check operating system for absolute path test
5 years ago
dkanada
a8cd963d46
fix tests for absolute paths
5 years ago
Bond_009
bb236b9591
Merge branch 'master' into warn12
5 years ago
Anthony Lavado
75f19a762c
Re-order the path statement to avoid file issues
...
Fixes #31874 .
5 years ago
Bond_009
2ef4ffd698
More warnings (removed)
5 years ago
Bond_009
42ffddc269
Fix more warnings
5 years ago
Bond_009
dc662beefe
Add analysers to Emby.IsoMounting and enable TreatWarningsAsErrors
5 years ago
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
5 years ago
Bond_009
aa30227545
Improve main code flow
...
Improved the way how some parts of the code depend on eachother
Fixed some style issues
6 years ago
dkanada
b768ad978e
split the new command to more than one line
6 years ago
dkanada
4a9b349c04
only return useful drives
6 years ago
Bond_009
f911fda34f
Merge ifs
6 years ago
Bond_009
41df562419
Improve IO code
...
* Style changes
* Remove remnants of SMB support
* Use `GetInvalidFileNameChars` instead of rolling our own
* Remove possible unexpected behaviour with async file streams
* Remove some dead code
6 years ago
Bond-009
e64aaebbac
Improvements around streams
...
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
6 years ago
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
6 years ago
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
6 years ago
Vasily
13f2783a8e
Merge pull request #887 from wtayl0r/replace-primitives-with-iconfiguration
...
Replace primitive injection with IConfiguration
6 years ago
William Taylor
18ae107ce4
Removed unnecessary configuration options and reduced primitive dependencies
6 years ago
William Taylor
0d5fbcb031
Removed primitives from services in Program.cs
...
This will make it easier to move dependency registration
to a system without having to new up all the services first.
Moved the primitives to an IConfiguration which is much easier to inject.
6 years ago
Bond_009
a6a4cd5667
Removed some unused fields
6 years ago
Bond_009
70c85925af
Move some arrays to generics
6 years ago
Claus Vium
0ef2b46106
Remove custom Threading
6 years ago
Joshua M. Boniface
c4f51e16a5
Merge pull request #736 from Bond-009/startasync
...
Start startup tasks async
6 years ago
Andrew Rabert
42d5a48491
Merge pull request #788 from Bond-009/warnings
...
Fix more warnings
6 years ago
Bond_009
1385d89df6
Remove MoreLINQ
6 years ago
Bond_009
5ac6d0ae59
Fix more warnings
6 years ago
Erwin de Haan
d3afa53191
Final refactored `IFileSystem` and `ManagedFileSystem`
6 years ago
Erwin de Haan
b9a111432a
Unwrapped all /(Write|Read)All(Text|Bytes)/ functions.
6 years ago
Erwin de Haan
581a7fe078
Unwrapped `MoveDirectory`, `DirectoryExists`, `FileExists` & removed `MoveFile`
6 years ago
Erwin de Haan
3a831994f6
Unwrapped GetDirectoryName and DirectorySeperatorChar
6 years ago
Bond_009
85a58fd655
Start startup tasks async
6 years ago
Bond_009
fd7f420af2
Remove remnants of system events
6 years ago
Andrew Rabert
803bf563d7
Merge pull request #621 from Bond-009/perf
...
Minor improvements to library scan code
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
Bond_009
35d97dc949
Minor improvements to library scan code
6 years ago
Erwin de Haan
9d0a08571e
Merge branch 'dev' into reformat
6 years ago
Joshua M. Boniface
f8dd182e42
Merge pull request #562 from hawken93/misc_fix
...
Fix error with uppercase photo extension and fix typo in a log line
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
e566d9a231
Find+Sed BOM removal *.cs: BDInfo-Emby.XmlTv
6 years ago
Erwin de Haan
5b3d8a6d76
EditorConfig reformat: Emby.IsoMounting, Emby.Server.Implementations
6 years ago
Erwin de Haan
58b582bdcb
Visual Studio Reformat: Emby.Server.Implementations Part I-Lib
6 years ago
hawken
c8e3c1737a
Fix small logging typo with the "name (path) will be refreshed" message
6 years ago
Erwin de Haan
e2751d42e8
Merge branch 'dev' into code-cleanup
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
hawken
bd169e4fd4
remove trailing whitespace
6 years ago
Vasily
f93cd97f9b
Merge pull request #393 from Bond-009/removesmb
...
Remove support for opening files via SMB without mounting the share.
This doesn't mean you can't use a SMB share to host your files for Jellyfin. You will just have to mount the share using OS-level mechanisms.
6 years ago
Bond_009
a997bb609f
Remove unnecessary using statements
6 years ago
Bond_009
391b48614d
Remove FireEventIfNotNull
...
It's a pretty useless "helper" class
6 years ago
Bond_009
6a8b94b0c7
Remove SMB support
...
This doesn't mean you can't use an SMB share to store your files for
Jellyfin. You will just have to connect to it on the OS level.
6 years ago
Bond_009
32469b3f65
Remove obsolete functions
6 years ago
Bond_009
79d18cf5a5
Clean up some catch statements
6 years ago
Bond_009
ea4c914123
Fix exception logging
6 years ago
Bond_009
0f8b3c6347
Use Microsoft.Extensions.Logging abstraction
6 years ago
Bond_009
6e5d2aadaa
Remove custom ToArray extension
6 years ago
stefan
48facb797e
Update to 3.5.2 and .net core 2.1
6 years ago
Luke Pulverenti
58a7829ecd
update library changed notifier
7 years ago
Luke Pulverenti
5cb7469028
support track selection before playback
7 years ago
Luke Pulverenti
0d28929e17
update download progress reporting
7 years ago
Luke Pulverenti
983b51e083
reduce socket activity
7 years ago
Luke Pulverenti
a5b82cd2ec
remove unneeded async signatures
7 years ago
Luke Pulverenti
085470394e
update home screen sections
7 years ago
Luke Pulverenti
cdd79ec7e2
update owned items
7 years ago
Luke Pulverenti
9a5a6f569d
removed dead code
7 years ago
Luke Pulverenti
49b799adbe
3.2.30.8
7 years ago
Luke Pulverenti
12854950f2
add comment
7 years ago
Luke Pulverenti
1ad990ad72
update live tv data transfer
7 years ago
Luke Pulverenti
bd31c0175d
move LnkShortcutHandler
7 years ago
Luke Pulverenti
a57c887f7f
update components
7 years ago
Luke Pulverenti
56263a9fa2
remove unused libs
7 years ago
Luke Pulverenti
bfcd1b520f
merge common implementations and server implementations
7 years ago
Luke Pulverenti
40442f887b
consolidate emby.server.core into emby.server.implementations
7 years ago
Luke Pulverenti
27c490c152
update file refresher
7 years ago
Luke Pulverenti
1e5c3db9eb
support individual library refreshing
7 years ago