Róbert Örn Ketilsson
ef3868ff50
Backport pull request #9178 from jellyfin/release-10.8.z
...
Escape the path to pass as a command line argument
Original-merge: 09f1c7f535
Merged-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
Backported-by: crobibero <cody@robibe.ro>
2 years ago
Bond_009
b366dc2e6e
Use ArgumentException.ThrowIfNullOrEmpty
2 years ago
Bond_009
c7d50d640e
Replace == null with is null
2 years ago
Bond_009
a9a5fcde81
Use ArgumentNullException.ThrowIfNull helper method
...
Did a simple search/replace on the whole repo (except the RSSDP project)
This reduces LOC and should improve performance (methods containing a throw statement don't get inlined)
```
if \((\w+) == null\)
\s+\{
\s+throw new ArgumentNullException\((.*)\);
\s+\}
```
```
ArgumentNullException.ThrowIfNull($1);
```
2 years ago
Nils Fürniß
d7d36a102a
Fix releasing lock
3 years ago
Nils Fürniß
b4bb82b6d7
Improve code
3 years ago
Nils Fürniß
6904edf68c
add extracting attachments from external subs
3 years ago
Nils Fürniß
ab40554759
add extracting attachments for ffmpeg to burn subs
3 years ago
Cody Robibero
7bfc6b5679
Remove more warnings
3 years ago
Bond_009
1d19a5be61
Fix some warnings
...
down to 580
3 years ago
Bond_009
e3dac4fda2
Use async FileStreams where it makes sense
3 years ago
Bond_009
26d7fc8280
Enable nullable reference types for MediaBrowser.MediaEncoding.Subtitles
4 years ago
Joshua M. Boniface
a6199f821b
Merge pull request #4169 from stanionascu/bdiso-playback
...
Playback (direct-stream/transcode) of BDISO/BDAV containers
4 years ago
crobibero
e82829c444
Fix nullability errors in MediaBrowser.MediaEncoding
4 years ago
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.
4 years ago
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.
4 years ago
Bond_009
ab2147751f
Make MediaBrowser.MediaEncoding warnings free
4 years ago
Bond-009
18efa25a6f
Enable TreatWarningsAsErrors for MediaBrowser.MediaEncoding
4 years ago
telans
3d9049ef08
fix SA1508
4 years ago
crobibero
44957c5a9a
Use typed logger where possible
5 years ago
Mark Monteiro
4113288278
Fix style issues
5 years ago
Mark Monteiro
7152b55747
Use a separate line for each property initializer
5 years ago
Mark Monteiro
e0f40f57d8
Merge remote-tracking branch 'upstream/master' into remove-common-process
5 years ago
Mark Monteiro
0e195d2e49
Add missing call to ConfigureAwait()
5 years ago
Mark Monteiro
d705931e81
Dispose of process correctly in AttachmentExtractor
5 years ago
Mark Monteiro
48bbcbb426
Use WaitForExitAsync extension method in AttachmentExtractor
5 years ago
Bond_009
e9d1eabd53
Remove unused usings
5 years ago
Bond_009
0d6a4c2909
Fix build
5 years ago
Bond_009
a253fa616d
Fix build and address comments
5 years ago
Andrew Mahone
dee247453e
Throw InvalidOperationException when attachment extraction exits abnormally or doesn't produce output.
5 years ago
Andrew Mahone
7ea05bb86b
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
79858eb26c
Remove use of ProcessFactory, as well as arbitrary timeout in AttachmentExtractor.
5 years ago
Andrew Mahone
3a9bf84e3b
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
1eb3df1d6c
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting / style
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
380d023351
Merge branch 'media-attachments' of github.com:Unhelpful/jellyfin into media-attachments
5 years ago
Andrew Mahone
2f728fd2a1
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
2338a53229
Don't user ILoggerFactory.
5 years ago
Andrew Mahone
492bbc9e13
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
String -> string
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
92aae268a3
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
c09eb34708
Check for attachment file before trying to remove it during cleanup.
5 years ago
Andrew Mahone
4f3b883155
Clean up handling of missing source/attachment in AttachmentExtractor.
5 years ago
Andrew Mahone
349310787c
Update MediaBrowser.MediaEncoding/Attachments/AttachmentExtractor.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
5 years ago
Andrew Mahone
28a6718d8e
Return path of extracted attachment, which is always a file, instead of AttachmentInfo with path and protocol.
5 years ago
Andrew Mahone
04a96788f9
Convert exceptions for missing MediaSource or MediaAttachment to ResourceNotFoundException with appropriate message.
5 years ago
Andrew Mahone
154fb1fe9b
AttachmentExtractor code cleanup.
5 years ago
Andrew Mahone
c7d303a6ae
MediaExtractor logging cleanup.
5 years ago
Andrew Mahone
9eef5f860d
AttachmentExtractor logging cleanup.
5 years ago
Andrew Mahone
e9c893f07e
Fail attachment extraction on non-zero exit code.
5 years ago
Andrew Mahone
12f752d8b1
FFMPEG extractor for attachments.
5 years ago