aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Common
AgeCommit message (Collapse)Author
2020-04-26Merge pull request #2990 from mark-monteiro/create-missing-foldersv10.5.5Joshua M. Boniface
Create Missing Data Folders (cherry picked from commit 00d8983d7cec0594efac8d85a927dba3c3391bdf) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
2020-03-05Add tests for alpha numeric sortingBond_009
2020-02-12Enable documentation warnings for fully documented filesMark Monteiro
2020-02-10add-some-xml-documentationMark Monteiro
2020-01-28Update depsBond_009
2020-01-10Merge branch 'master' into warn12Bond_009
2019-12-22Preformance!!!Bond_009
2019-12-22Fix exceptions while scanningBond_009
Fixes these exceptions: ``` [2019-12-22 20:48:14.779 +01:00] [ERR] Error in WaitForExit System.InvalidOperationException: No process is associated with this object. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.GetWaitState() at System.Diagnostics.Process.WaitForExitCore(Int32 milliseconds) at System.Diagnostics.Process.WaitForExit(Int32 milliseconds) at Emby.Server.Implementations.Diagnostics.CommonProcess.WaitForExit(Int32 timeMs) in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 100 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 785 [2019-12-22 20:48:14.790 +01:00] [INF] Killing ffmpeg process [2019-12-22 20:48:14.795 +01:00] [ERR] Error killing process System.InvalidOperationException: No process is associated with this object. at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.EnsureState(State state) at System.Diagnostics.Process.Kill() at Emby.Server.Implementations.Diagnostics.CommonProcess.Kill() in /home/pi/dev/jellyfin/Emby.Server.Implementations/Diagnostics/CommonProcess.cs:line 95 at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.StopProcess(ProcessWrapper process, Int32 waitTimeMs) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 799 [2019-12-22 20:48:14.808 +01:00] [ERR] Error in "ffprobe" System.Text.Json.JsonException: The JSON value could not be converted to System.String. Path: $.streams[0].start_pts | LineNumber: 32 | BytePositionInLine: 26. ---> System.InvalidOperationException: Cannot get the value of a token type 'Number' as a string. at System.Text.Json.Utf8JsonReader.GetString() at System.Text.Json.Serialization.Converters.JsonConverterString.Read(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options) at System.Text.Json.JsonPropertyInfoNotNullable`4.OnRead(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.JsonPropertyInfo.Read(JsonTokenType tokenType, ReadStack& state, Utf8JsonReader& reader) at System.Text.Json.JsonSerializer.HandleValue(JsonTokenType tokenType, JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& state) at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack) --- End of inner exception stack trace --- at System.Text.Json.ThrowHelper.ReThrowWithPath(ReadStack& readStack, Utf8JsonReader& reader, Exception ex) at System.Text.Json.JsonSerializer.ReadCore(JsonSerializerOptions options, Utf8JsonReader& reader, ReadStack& readStack) at System.Text.Json.JsonSerializer.ReadCore(JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& readStack) at System.Text.Json.JsonSerializer.ReadAsync[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options, CancellationToken cancellationToken) at MediaBrowser.MediaEncoding.Encoder.MediaEncoder.GetMediaInfoInternal(String inputPath, String primaryPath, MediaProtocol protocol, Boolean extractChapters, String probeSizeArgument, Boolean isAudio, Nullable`1 videoType, Boolean forceEnableLogging, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs:line 399 at MediaBrowser.Providers.MediaInfo.FFProbeVideoInfo.ProbeVideo[T](T item, MetadataRefreshOptions options, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/MediaInfo/FFProbeVideoInfo.cs:line 122 at MediaBrowser.Providers.Manager.MetadataService`2.RunCustomProvider(ICustomMetadataProvider`1 provider, TItemType item, String logName, MetadataRefreshOptions options, RefreshResult refreshResult, CancellationToken cancellationToken) in /home/pi/dev/jellyfin/MediaBrowser.Providers/Manager/MetadataService.cs:line 815 ```
2019-12-19Apply suggestions from code reviewBond-009
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-12-11More warnings (removed)Bond_009
2019-12-06Merge remote-tracking branch 'upstream/master' into randomBond-009
2019-12-05Merge pull request #2098 from Bond-009/config2Vasily
Fix GetTranscodePath function and cache path update logline
2019-12-05Merge pull request #2050 from Bond-009/nullrefdkanada
Fix possible nullref when updating packages
2019-12-04Fix GetTranscodePath function and cache path update loglineBond_009
* GetTranscodePath returned an empty string after the option was left blank in the web UI * Unified the log style for all paths
2019-11-28Minor improvements to network codeBond-009
2019-11-24Merge pull request #1991 from Bond-009/transtempJoshua M. Boniface
Don't append transcodes to transcoding temp path
2019-11-24Update MediaBrowser.Common/Configuration/EncodingConfigurationExtensions.csBond-009
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2019-11-24Fix possible nullref when updating packagesBond_009
2019-11-23Merge pull request #1926 from Bond-009/authdkanada
Add clearer exceptions, warnings and docs
2019-11-21Don't append transcodes to transcoding temp pathBond-009
2019-11-09Fix typos in docsBond_009
2019-11-07Doc improvementsBond-009
2019-11-07Merge branch 'master' into installationmanagerBond-009
2019-11-02Merge pull request #1915 from Bond-009/hexdkanada
Rewrite hex encoder/decoder
2019-11-01Improve IInstallationManager interfaceBond_009
2019-11-01Update deps and add MultiThreading analyzerBond_009
2019-11-01Multiplication is faster than bit shiftingBond_009
2019-11-01Make decode even fasterBond_009
2019-11-01Rewrite hex encoder/decoderBond_009
2019-10-29More warning fixesBond_009
2019-10-20Merge pull request #1898 from Bond-009/jsonfixJoshua M. Boniface
Fix Json serialization error
2019-10-20Add clearer exceptions, warnings and docsBond_009
2019-10-20Don't shuffle some types by defaultBond_009
2019-10-16Merge pull request #1871 from Bond-009/docVasily
Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.Photos
2019-10-15Fix Json serialization errorBond_009
2019-10-09Enable `TreatWarningsAsErrors` for MediaBrowser.Common and Emby.PhotosBond_009
Adds `#pragma warning disable CS1591` to all files in MediaBrowser.Common containing undocumented members.
2019-10-08Use System.Text.Json apiBond_009
2019-09-23Fix multiple mistakes and warningsBond_009
2019-09-17Remove legacy auth code (#1677)Bond-009
* Remove legacy auth code * Adds tests so we don't break PasswordHash (again) * Clean up interfaces * Remove duplicate code * Use auto properties * static using * Don't use 'this' * Fix build
2019-09-02Fix warnings, improve performance (#1665)Bond-009
* Fix warnings, improve performance `QueryResult.Items` is now a `IReadOnlyList` so we don't need to allocate a new `Array` when we have a `List` (and `Items` shouldn't need to be mutable anyway) * Update Providers .csproj to latest C# * Remove extra newline from DtoService.cs * Remove extra newline from UserLibraryService.cs
2019-08-16Fix build for .Net Core 2.xBond_009
2019-08-15Merge pull request #1614 from Bond-009/docs2dkanada
Document all public/internal members of Emby.Drawing
2019-08-11Document all public/internal members of Emby.DrawingBond_009
Forces all new public/internal members to be documented. Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11Minor improvementsBond_009
2019-08-11Check checksum for plugin downloadsBond_009
* Compare the MD5 checksum when downloading plugins * Reduced log spam due to http requests * Removed 'GetTempFileResponse' function from HttpClientManager * Fixed caching for HttpClientManager
2019-08-11Merge pull request #1462 from Bond-009/installationmanagerdkanada
Improvements to InstallationManager
2019-08-09Fix more warningsBond_009
2019-07-25Remove IpAddressInfo and IpEndPointInfo classesBond_009
2019-07-24Merge pull request #1560 from jellyfin/release-10.3.zBond-009
Backmerge for 10.3.7
2019-07-14Merge pull request #1538 from joshuaboniface/epgJoshua M. Boniface
Try to fix XmlTvListingsProvider