Bond_009
38dae51ccf
Minor IAsyncDisposable improvements
2020-04-15 11:05:32 +02:00
Mark Monteiro
9728aa8b0a
Merge branch 'master' into register-services-correctly
2020-04-13 17:06:24 -04:00
Mark Monteiro
6d35dd6b32
Clean up SecurityException
...
- Remove unused SecurityExceptionType
- Add missing constructor for InnerException
- Add missing documentation
2020-04-13 13:13:48 -04:00
dkanada
cb2523e2ef
merge branch master into plugin
2020-04-13 14:38:19 +09:00
Matt Lyons
b52199e9e2
Handle null outputFileExtension in GetOutputFilePath
2020-04-13 12:44:15 +10:00
Vasily
6386b9b1b9
Merge pull request #2782 from JustAMan/fix-ssa-delivery
...
Fix support for attachments with baseURL set
2020-04-12 23:37:34 +03:00
Bond-009
14674d4469
Merge pull request #2772 from barronpm/codecleanup
...
MediaBrowser.Api code cleanup
2020-04-11 19:30:23 +02:00
Mark Monteiro
1e1295bebf
Merge remote-tracking branch 'upstream/master' into register-services-correctly
2020-04-11 10:00:39 -04:00
dkanada
bd55bdb4e3
merge branch master into plugin
2020-04-11 20:10:16 +09:00
dkanada
8e9aeb84b1
remove release channel from plugin classes
2020-04-11 19:33:36 +09:00
Vasily
5b59cd2eb2
Merge pull request #2696 from mark-monteiro/fix-extras
...
Display Extras With Unknown Types
2020-04-07 23:39:31 +03:00
Bond-009
3a98ad8255
Merge pull request #2721 from PrplHaz4/patch-2
...
Separate Channels permissions from All Libraries
2020-04-07 19:10:34 +02:00
Patrick Barron
555651aae2
Fixed indentation and corrected typo
2020-04-06 23:17:49 -04:00
Vasily
5be60782ed
Fix support for attachments with baseURL set
...
* Revert "Add baseURL to attachments"
* This is properly handled by jellyfin-web#1020
2020-04-06 14:06:42 +03:00
Patrick Barron
c9da49ebaa
Implemented more suggestions
2020-04-05 23:12:25 -04:00
Patrick Barron
47ba4a84cd
Simplified more conditionals
2020-04-05 18:06:30 -04:00
Patrick Barron
81b4a4c54c
Implement various suggestions
2020-04-05 17:58:39 -04:00
Patrick Barron
e1958e3902
Miscellaneous code cleanup
2020-04-05 15:56:08 -04:00
Patrick Barron
add0a2088d
Simplified Conditionals and returns
2020-04-05 14:44:14 -04:00
Patrick Barron
80cfcf5643
Remove unnecessary casts and explicit array types
2020-04-05 13:00:35 -04:00
Patrick Barron
86c06996b1
Remove redundant name qualifiers
2020-04-05 12:48:22 -04:00
Patrick Barron
961f48f5bc
Use ? and ?? where applicable
2020-04-05 12:45:01 -04:00
Patrick Barron
6a3f9253db
Convert using statements to using declarations where applicable
2020-04-05 12:26:11 -04:00
Bond_009
30ce346f34
Enable nullabe reference types for MediaBrowser.Model
2020-04-05 18:10:56 +02:00
Patrick Barron
5966ee6d87
Convert type checks and null checks into pattern matching
2020-04-05 12:07:43 -04:00
PrplHaz4
46453549b5
Start line with Boolean
2020-04-05 07:26:21 -04:00
PrplHaz4
b05e04c0cb
Collapse IsInEnabledFolder to single expression
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-04-05 06:42:15 -04:00
Mark Monteiro
efe3ebaab8
Eliminate circular dependency between LibraryManager and ImageProcessor
2020-04-04 16:01:10 -04:00
artiume
d10ae74b38
Force Audio Transcoding for LiveTV Transcoding
...
Noticing some sync issues when transcoding livetv, the only thing I was able to do to fix it was to force the audio stream to be transcoded as well. This was how I originally wrote the code and we changed it during the review process. I am reverting it back to the original code.
2020-04-02 14:14:57 -04:00
Mark Monteiro
377f9896ce
Small fixes
2020-04-01 19:04:00 +02:00
Bond-009
ddd5d3aaec
Merge branch 'master' into usings
2020-04-01 18:51:44 +02:00
Mark Monteiro
cc8294842a
Add ExtraType.Unknown enum value and use it instead of null
2020-04-01 18:10:29 +02:00
Vasily
9aefb41512
Merge pull request #2503 from nyanmisaka/vaapi
...
Fix various bugs in HWA subtitle burn-in
2020-03-31 23:19:44 +03:00
PrplHaz4
025888204d
Fix permission setting on Channels
...
Currently, permission settings on Channels are not taken into account prior to returning `{UserName} is not permitted to access Library {ItemName}.`. Whether or not a user can see items within the Channel is solely dependent on `EnableAllFolders`, so you cannot view a plugin's Channels unless you can also see ALL libraries.
This PR enables does two things for Channel-providing Plugins:
1. Fixes functionality of "EnableAllChannels"
2. Allows users with Channel permissions to access all folders within that Channel
I'm not 100% sure on 2 but I wasn't able to see an obvious way to propagate permissions downward into specific Folders inside a Channel.
I tested on a fairly simple library with two channel-providing plugins (ServerWMC, LazyMan) and it seems to work, but this behavior should also be tested by someone with more content/collections.
2020-03-30 17:14:59 -04:00
nyanmisaka
95c5c08610
minor improvements
2020-03-31 04:04:55 +08:00
nyanmisaka
0af353404c
fix the UTF-16 error while burning ass/ssa subtitles
2020-03-30 14:47:55 +08:00
Nyanmisaka
0e9d9a7897
fix the incorrect HLS time while using hw encoders
2020-03-30 14:48:57 +08:00
nyanmisaka
fac6831653
fix various bugs in VAAPI hardware acceleration
2020-03-30 14:47:55 +08:00
Mark Monteiro
e266ad51c5
Simplify logic; remove unnecessary methods
2020-03-28 14:17:33 +01:00
Mark Monteiro
5fcbedc194
Display extras with an unknown type
2020-03-28 13:40:56 +01:00
Bond_009
e9d1eabd53
Remove unused usings
2020-03-24 16:12:06 +01:00
Andreas B
0a2d24aff3
Add RESOLUTION field to HLS master playlist
2020-03-19 23:39:33 +01:00
Andreas B
8a990d1d95
Add FRAME-RATE field to HLS master playlist
2020-03-19 23:39:33 +01:00
Andreas B
f2858878d1
Add CODECS field to HLS master playlist
2020-03-19 23:39:23 +01:00
Andreas B
85da15685f
Refactor DynamicHlsService.AppendPlaylist to use StringBuilder
2020-03-15 15:06:38 +01:00
Bond-009
94fe9b8f6d
Merge branch 'master' into warn17
2020-03-11 20:26:43 +01:00
Bond_009
bbd4860b55
Another warning
2020-03-11 16:30:22 +01:00
Bond-009
a7e1a5c96a
Merge pull request #2506 from mark-monteiro/inject-loggers-with-context
...
Inject loggers with context using ILogger<T>
2020-03-10 15:04:35 +01:00
MrTimscampi
e8c593f413
Add baseURL to attachments
2020-03-07 17:41:36 +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
Davide Polonio
cd471ed4df
Fix emby/users/public not taking into account first run
...
The previous implementation was not taking in account the first seup
phase. Now the check has been added.
A little method refactor has been done in order to make the code more
elegant.
2020-03-03 20:20:35 +01:00
Davide Polonio
737d4d2b3f
Fix conditional with a less verbose one
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2020-03-03 19:51:03 +01:00
Davide Polonio
5d760b7ee8
Fix emby/user/public API leaking private data
...
This commit fixes the emby/user/public API that was returning more data
than necessary. Now only the following information are returned:
- the account name
- the primary image tag
- the field hasPassword
- the field hasConfiguredPassword, useful for the first wizard only
(see
https://github.com/jellyfin/jellyfin/issues/880#issuecomment-465370051 )
- the primary image aspect ratio
A new DTO class, PrivateUserDTO has been created, and the route has been
modified in order to return that data object.
2020-03-01 21:46:01 +01:00
Steven Tang
2e856ad9fe
Fix download file with non-ASCII filename
2020-02-29 12:11:27 +08:00
dkanada
974a04c129
update plugin classes for nightly builds
2020-02-26 01:58:39 +09:00
artiume
697aee5b0c
Merge pull request #21 from jellyfin/master
...
nightly
2020-02-23 10:57:52 -05:00
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
2020-02-23 12:11:43 +01:00
Bond_009
ffc9eb67f0
Switch remux and direct stream
2020-02-23 00:05:28 +01:00
artiume
4becaf83dd
Update MediaInfoService.cs
2020-02-22 10:03:17 -05:00
dkanada
61015c1d0f
Merge pull request #2321 from Bond-009/images
...
Simplify image processing by removing image enhancers
2020-02-21 12:32:54 +09:00
artiume
a4e0364139
Update MediaInfoService.cs
2020-02-19 06:15:55 -05:00
artiume
b375aeb56a
fix indentation
...
it was tabs
2020-02-19 06:07:48 -05:00
artiume
967f8c6dcd
Merge pull request #18 from jellyfin/master
...
nightly
2020-02-19 06:02:26 -05:00
artiume
63f13df6fc
Merge pull request #17 from jellyfin/master
...
10.5
2020-02-13 13:09:50 -05:00
dkanada
53db526667
merge branch master into refactor
2020-02-14 03:02:06 +09:00
artiume
40ad6f843f
Merge pull request #16 from jellyfin/master
...
nightly
2020-02-13 05:53:23 -05:00
Bond-009
a2490a7ae5
Merge branch 'master' into images
2020-02-12 17:41:46 +01:00
Vasily
a26c1ab17d
Remove commented code
2020-02-12 14:19:11 +03:00
Anthony Lavado
42066ee326
Merge branch 'master' into transcoding-throttling
2020-02-12 02:01:56 -05:00
Anthony Lavado
00073c162a
Merge pull request #2363 from dkanada/view
...
Add session view endpoint
2020-02-11 23:56:47 -05:00
artiume
b5342bb7d9
Fix MaxBitrate
2020-02-11 10:57:16 -05:00
artiume
a73ce1d781
Update MediaInfoService.cs
2020-02-06 17:21:10 -05:00
dkanada
1cb51a8ac7
rename session folder
2020-02-06 00:47:50 +09:00
dkanada
c2733ac0dc
split api keys into their own service
2020-02-06 00:26:21 +09:00
artiume
3b6a4c3a33
Merge pull request #11 from jellyfin/master
...
nightly
2020-02-04 06:02:38 -05:00
dkanada
b7a9900556
Merge pull request #2357 from Bond-009/warn13
...
Fix warnings
2020-02-03 17:15:03 +09:00
dkanada
1bc8ca2542
add session view endpoint
2020-02-02 00:16:11 +09:00
dkanada
6341d986a9
fix a few warnings
2020-02-02 00:07:46 +09:00
dkanada
692a9bfdd0
update some comments
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2020-02-01 23:36:40 +09:00
dkanada
afe9ed977b
improve scan progress and fix a few bugs
2020-02-01 22:44:27 +09:00
Bond_009
87d2479b78
Fix warnings
2020-01-31 22:26:53 +01:00
artiume
918df5e352
Merge remote-tracking branch 'jellyfin/master'
2020-01-26 09:33:31 -05:00
ThreeFive-O
4f3bfd9146
Add Transcoding framerate info
2020-01-24 23:33:32 +01:00
Bond-009
c8409d2ea1
Remove FileSystem.GetStream
2020-01-22 22:20:35 +01:00
Bond_009
ddf9b38799
Simplify image processing by removing image enhancers
2020-01-21 20:26:30 +01:00
Denis
549a2d8b6d
Enable path mapping in PlaybackInfo
endpoint
2020-01-17 22:48:28 +03:00
Bond-009
8865b3ea3d
Remove dead code and improve logging
2020-01-13 20:06:08 +01:00
Bond_009
976459d3e8
Rewrite WebSocket handling code
2020-01-13 20:06:08 +01:00
Bond-009
cf13e89ad6
Update MediaBrowser.Api/Playback/MediaInfoService.cs
...
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-13 09:01:14 +01:00
Bond_009
84d1b12530
Attempt #2
2020-01-12 21:55:04 +01:00
Bond_009
da5893b0f1
Try to fix nullreff
2020-01-12 21:21:20 +01:00
dkanada
ce7744806c
Merge pull request #2216 from gnattu/master
...
Let HLS fallback to mpegts in case device reports unsupported container
2020-01-13 03:43:59 +09:00
gnattu
ea075c1b48
Add reminder to remove the workaround
...
This will be no longer needed when ffmpeg is ready
Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
2020-01-12 13:22:20 -05:00
dkanada
d217f1614e
Merge pull request #2096 from Bond-009/embytv
...
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
2020-01-13 00:41:52 +09:00
Maximilian Marschall
081d942d03
Enable Throttling when transcoding without Hardware-Acceleration
2020-01-12 00:33:57 +01:00
dkanada
a272638a84
Merge pull request #2170 from Bond-009/mediainfoservice
...
Minor changes to MediaInfoService
2020-01-11 16:54:23 +09:00
Bond_009
d9ec502ff9
Address comments
2020-01-10 21:25:45 +01:00
Bond_009
e714b9930e
Merge branch 'master' into embytv
2020-01-10 21:16:46 +01:00
Artiume
a40cb7bbd8
Merge pull request #7 from jellyfin/master
...
nightly
2020-01-09 12:14:54 -05:00
gnattu
d5204f572a
Fix typo and plural
2020-01-09 02:25:05 -05:00
dkanada
73fac50e57
rename two properties based on code suggestions
2020-01-08 10:52:48 +09:00
Bond_009
a253fa616d
Fix build and address comments
2020-01-08 01:23:57 +09:00
dkanada
aca31457c0
merge branch master into media-attachments
2020-01-08 01:21:09 +09:00
Artiume
5b55997984
Merge pull request #6 from jellyfin/master
...
nightly
2020-01-05 11:49:45 -05:00
dkanada
529cff3920
Merge pull request #2153 from dkanada/fix-playlist
...
Fix playlist deletion and a few warning fixes
2020-01-01 15:00:57 +09:00
gnattu
167549f5f1
Let HLS fallback to mpegts in case device reported unsupported container
2019-12-31 22:33:14 -05:00
Artiume
0e920a6d5f
Update MediaInfoService.cs
2019-12-20 23:40:36 -05:00
Artiume
963b69c7b2
Update MediaInfoService.cs
2019-12-20 23:17:01 -05:00
Bond_009
5751d86536
Fix warnings and move to System.Text.Json
2019-12-20 21:49:16 +01:00
Artiume
6a6e02e1ec
Merge pull request #3 from jellyfin/master
...
nightly, big one
2019-12-19 20:51:45 -05:00
Bond-009
bb62dd14c2
Limit size for playbacktest
2019-12-19 17:46:17 +01:00
Vasily
06dfa2e687
Merge pull request #2134 from Bond-009/dlnam3u8
...
Fix comparison between different types
2019-12-19 18:51:51 +03:00
Bond-009
a5cd11735c
Minor changes to MediaInfoService
2019-12-19 15:54:27 +01:00
dkanada
bc7cbfb21a
Merge pull request #1941 from Bond-009/mediaencoding
...
Make probesize and analyzeduration configurable and simplify circular dependencies
2019-12-18 08:54:40 +09:00
Artiume
f3e7c72bac
Update MediaInfoService.cs
2019-12-16 15:22:18 -05:00
Artiume
b31f4ccbc2
Update MediaInfoService.cs
2019-12-16 14:53:42 -05:00
Artiume
46442e24f8
Update MediaInfoService.cs
2019-12-16 00:43:03 -05:00
Artiume
3fb7aabfde
Update MediaInfoService.cs
2019-12-16 00:40:25 -05:00
Artiume
64c313a8fb
Update MediaInfoService.cs
2019-12-16 00:27:48 -05:00
Artiume
be956dfd02
Update MediaInfoService.cs
2019-12-15 23:52:07 -05:00
dkanada
61b9845e0f
Merge pull request #2099 from cryptobank/master
...
Fix VAAPI encoding on 10-bit hevc. Update QSV encoding and scaling to...
2019-12-15 19:54:20 +09:00
dkanada
1b2453b4e9
fix playlist deletion
2019-12-14 12:51:27 +09:00
cryptobank
f18d3ed33b
Formatting fix (3)
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-12-14 11:27:41 +10:30
Bond-009
baadb504bb
Merge branch 'master' into mediaencoding
2019-12-12 16:34:34 +01:00
dkanada
96a5dda9ff
Merge pull request #2109 from Bond-009/plugin
...
Fix plugin installation and correct api behaviour
2019-12-12 15:40:22 +09:00
Joshua M. Boniface
9744f5aee3
Merge pull request #2118 from chaosinnovator/master
...
Add StartIndex result to /Items API query
2019-12-11 23:42:02 -05:00
Bond_009
0bf8bfbb0c
Merge branch 'master' into mediaencoding
2019-12-10 23:00:59 +01:00
chaosinnovator
b98e25a07e
Add StartIndex result to /Items API query
2019-12-10 09:30:44 -08:00
Bond-009
b20b648659
Fix comparison between different types
2019-12-10 17:25:21 +01:00
Bond-009
19844a2c2a
Fix typo
2019-12-10 17:07:23 +01:00
dkanada
dee3076eaf
Merge pull request #1923 from Bond-009/random
...
Don't shuffle some types by default
2019-12-10 22:28:44 +09:00
Bond_009
ec70f3ac75
Fix plugin installation and correct api behaviour
...
The `/Packages/{Name}` endpoint would return a package that had either
the corrent name or the correct guid. In reality it shoud check if both
are correct.
2019-12-06 22:06:16 +01:00
cryptobank
5b5d527a09
Use string.Equals instead of of equals operator
...
Co-Authored-By: Vasily <JustAMan@users.noreply.github.com>
2019-12-07 06:47:57 +10:30
Bond-009
a2c35e6dba
Merge remote-tracking branch 'upstream/master' into random
2019-12-06 12:06:13 +01:00
Petr Janda
75426d0004
Add logging when force_key_frames is disabled
2019-12-06 17:21:24 +10:30
Bond-009
5f6bca8aeb
Merge remote-tracking branch 'upstream/master' into baseurl
2019-12-05 17:49:15 +01:00
Bond-009
a6f883345f
Reduce #lines
2019-12-05 17:44:46 +01:00
Petr Janda
7cde256402
Merge remote-tracking branch 'upstream/master'
2019-12-05 19:29:20 +10:30
Petr Janda
70530e1f14
Fix formatting (2)
2019-12-05 19:20:47 +10:30
Petr Janda
89605d4fb1
Fix VAAPI encoding on 10-bit hevc. Update QSV encoding and scaling to take advantage of scale_qsv and overlay_qsv
2019-12-05 17:39:36 +10:30
Bond_009
5cab79c839
Clean up Emby.Server.Implementations/LiveTv/EmbyTV/EmbyTV.cs
2019-12-04 21:39:27 +01:00
Bond-009
6f45d95951
Minor improvements to network code
2019-11-28 17:46:06 +01:00
Vasily
5263aaa026
Merge pull request #1503 from cvium/webapi_v2
...
Move StartupWizard to ASP.NET Web Api
2019-11-27 11:50:06 +03: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
Bond_009
3221e837f9
* Add support for multi segment base urls
...
* Make baseurl case-insensitive
2019-11-25 11:55:24 +01:00
Joshua M. Boniface
48120d01dc
Merge pull request #1991 from Bond-009/transtemp
...
Don't append transcodes to transcoding temp path
2019-11-24 15:13:50 -05:00
Joshua M. Boniface
db581c4d9b
Merge pull request #2045 from Bond-009/baseurlfix2
...
Fix baseurl issues part 2
2019-11-24 13:25:52 -05:00
dkanada
47ad21b6e3
Merge pull request #2039 from Bond-009/fixcondition
...
Fix always false condition
2019-11-24 21:41:19 +09:00
Bond_009
602ebe3fdb
Fix baseurl (attempt #2 )
2019-11-23 22:50:37 +01:00
dkanada
51cdc6ea16
Merge pull request #1926 from Bond-009/auth
...
Add clearer exceptions, warnings and docs
2019-11-23 01:14:32 +09:00
Bond_009
d884ed353f
Fix always false condition
2019-11-22 16:19:19 +01:00
Bond-009
b477b3874e
Fix some warnings
2019-11-22 16:15:31 +01:00
Bond-009
d4b438791f
Don't append transcodes to transcoding temp path
2019-11-21 16:57:49 +01:00
dkanada
f3ca37e523
minor changes to transcode cleanup scheduled task
2019-11-21 21:55:10 +09:00
Claus Vium
e5d57bd82f
Move StartupWizard to ASP.NET Web Api
2019-11-19 21:48:16 +01:00
Bond_009
5ee070eb29
Remove leading / from baseurl
2019-11-17 19:53:12 +01:00
Bond-009
d161b9cbfc
Fix GetPathValue function for DLNA service
2019-11-13 16:40:34 +01:00
Bond-009
aea4ef9471
Fix logic
2019-11-13 16:32:33 +01:00
Bond-009
b14d6d0417
Fix GetPathValue function
2019-11-13 16:32:33 +01:00
Andrew Mahone
4b75e6518e
Update MediaBrowser.Api/Attachments/AttachmentService.cs
...
formatting
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-07 11:21:40 -05:00
Bond-009
983d38a43b
Merge branch 'master' into installationmanager
2019-11-07 10:50:55 +01:00
dkanada
ad852ffd9a
Merge pull request #1973 from EraYaN/docs-warning-fixes
...
Fix the last of the docs warnings
2019-11-07 18:12:26 +09:00
Andrew Mahone
a78aec56e3
Format attachment DeliveryURL with CultureInfo.InvariantCulture.
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-11-05 08:21:06 -05:00
Andrew Mahone
262a8f47af
Remove attachment filenames from attachment URLs.
2019-11-04 11:31:41 -05:00
Andrew Mahone
bd545891c0
Indentation fix.
2019-11-04 10:38:53 -05:00
Andrew Mahone
1600d5b53f
Merge remote-tracking branch 'origin/master' into media-attachments-clean
2019-11-04 10:03:18 -05:00
Joshua M. Boniface
a460814182
Merge pull request #1904 from JustAMan/hls-move-2
...
Switch ffmpeg to hls muxer (from segment) to fix premature stop on non-patched ffmpeg
2019-11-03 14:36:34 -05:00
Joshua Boniface
d4474d493b
Remove extraneous newline
2019-11-03 12:39:45 -05:00
Erwin de Haan
387051c409
Fix the last docs warnings.
2019-11-03 15:52:10 +01:00
Bond_009
d529f81cd9
Improve IInstallationManager interface
2019-11-01 17:57:19 +01:00
Bond_009
a245f5a0d4
Rewrite hex encoder/decoder
2019-11-01 17:52:29 +01:00
dkanada
89a21c96c0
Merge pull request #1852 from Bond-009/warn9
...
Fix some more warnings
2019-11-02 01:24:44 +09:00
Bond_009
d9a03c9bb1
Fix more warnings
2019-10-29 17:55:16 +01:00
Vasily
8cf8c36708
Move throwing if cancelled after logging that fact
2019-10-27 16:48:42 +03:00
Vasily
dd7ae7747e
Apply suggestions from code review
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-10-27 16:47:00 +03:00
grafixeyehero
752cf08e5c
update persons service
2019-10-23 01:54:32 +03:00
Andrew Mahone
20727906c8
Use attachment filename if available.
2019-10-22 11:54:59 -04:00
Andrew Mahone
01b1c847e9
Provide delivery URLs for attachments in PlaybackInfo.
2019-10-22 11:54:59 -04:00
Andrew Mahone
8c89d89932
Attachment service.
2019-10-22 11:54:59 -04:00
Vasily
3743137c31
Address Bond-009 review comments
2019-10-21 12:05:49 +03:00
Vasily
ae2b95024f
Update MediaBrowser.Api/Playback/BaseStreamingService.cs
...
Co-Authored-By: Bond-009 <bond.009@outlook.com>
2019-10-21 11:58:04 +03:00
Bond_009
fef35d0505
Add clearer exceptions, warnings and docs
2019-10-20 21:12:03 +02:00
Bond_009
bbc0875387
Don't shuffle some types by default
2019-10-20 16:08:40 +02:00
Vasily
6b6fede2e0
Address review comments
2019-10-16 16:13:59 +03:00
Vasily
adccc18298
Revert "yarn build" as it is fixed in master, fix typo
2019-10-14 14:07:12 +03:00
Vasily
3132280b07
* Make sure force_key_frames expression arguments are properly converted to strings
...
* Fore usage of keyframe cuts only in HLS
2019-10-14 13:22:53 +03:00
Vasily
2f6879e869
Add limiting max keyframe interval when full transcoding
2019-10-14 13:22:53 +03:00
Vasily
986ea5c636
Fix log message - log args were swapped
2019-10-14 13:22:53 +03:00
Vasily
3740228100
Don't start waiting for a segment which doesn't exist if transcoding is not running
2019-10-14 13:22:52 +03:00
Vasily
7aea9266d0
Stop waiting for a segment to become ready if there's no alive transcode
...
Remove extra quotes in logging
Fix typo in comment
2019-10-14 13:22:39 +03:00
Vasily
c1f9107b8b
Add more logging
...
Trying to fix hls muxer plus ffmpeg 4.1+ combo
Try to fix waiting for segment being ready
This is needed because hls muxer in ffmpeg >= 4.1 creates the
playlist only when it finishes transcoding.
Also cleaned up logs a bit.
Lower log level for "StartFfmpeg finished" to debug
2019-10-14 13:22:15 +03:00
Vasily
6746f708f2
Revert "Revert "Fix premature stop when streaming""
...
This reverts commit 575b96d03a
.
2019-10-14 13:16:30 +03:00
Bill Thornton
80dccdef22
Add using block and HexHelper
2019-10-02 09:51:53 -04:00
Bill Thornton
119041a425
Fix SchedulesDirect authentication
2019-10-02 01:35:28 -04:00
Joshua M. Boniface
575b96d03a
Revert "Fix premature stop when streaming"
2019-10-01 12:07:09 -04:00
Andrew Rabert
fd1bdad0e2
Ignore exception when attempting to kill ffmpeg that has exited
...
A race condition where this code attempts to kill an already exited
ffmpeg process is possible. This results in unnecessary error logging.
This change replaces the generic exception handling with the above
mentioned exception. No log output is produced.
2019-09-29 19:19:53 -04:00
Vasily
4fae733eef
Cleaned up move to HLS muxer
2019-09-27 18:22:43 +03:00
Vasily
36a34f911e
Replaced "stream" muxer with "hls" trying to fix "premature stop" issue
2019-09-27 16:37:41 +03:00
Bond_009
c9820d30ed
Fix multiple mistakes and warnings
2019-09-23 20:32:44 +02:00
Bond-009
6f17a0b7af
Remove legacy auth code ( #1677 )
...
* 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-17 12:07:15 -04:00
Erwin de Haan
e8b13ea8a9
Fix culture problem on Windows for segment_time_delta argument.
2019-09-10 16:31:35 +02:00
Bond_009
675754bc5c
Possible fix for MrMC
2019-09-08 21:07:29 +02:00
Bond-009
ee637e8fec
Fix warnings, improve performance ( #1665 )
...
* 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-09-02 02:19:29 -04:00
Anthony Lavado
cb393c215a
Merge pull request #1686 from Bond-009/warn7
...
More warning fixes
2019-09-02 02:07:19 -04:00
Bond_009
e4f893a0eb
More warning fixes
2019-08-29 22:28:33 +02:00
marius
b711ece829
- fix ArgumentOutOfRangeException at MediaBrowser.Api.Playback.BaseStreamingService.ParseTimeSeekHeader (second substring argument is length)
2019-08-28 21:05:17 +03:00
Bond_009
efc4805233
Fix login
2019-08-28 14:45:46 +02:00
Andrew Rabert
24775f4988
Merge pull request #1651 from sl1288/master
...
Fix local trailers playback
2019-08-27 19:02:05 -04:00
Bond-009
e87d7cfaf3
Merge pull request #1659 from jellyfin/fix_ffmpeg
...
Fix segment_time_delta value for ffmpeg 4.1
2019-08-25 13:38:11 +02:00
Claus Vium
2e66361482
Move argument to new line
2019-08-24 11:38:33 +02:00
Claus Vium
15b054be94
Fix style issues
2019-08-24 11:17:17 +02:00
Joshua M. Boniface
1dfd5000ff
Merge pull request #1499 from crobibero/log-password-ip
...
Log IP address on failed login attempt
2019-08-23 23:40:45 -04:00
crobibero
4f974122f8
log password on failed login attempt
2019-08-23 23:28:52 -04:00
Joshua M. Boniface
d95c04787c
Merge branch 'master' into h265
2019-08-19 14:57:48 -04:00
SL1288
fdc24ec2ee
Fix LocalTrailers playback.
2019-08-19 18:56:41 +02:00
Bond_009
8d3b5c851d
Improvements to UserManager
2019-08-16 21:06:11 +02:00
Claus Vium
617f7e8b5b
Fix segment_time_delta value for ffmpeg 4.1
2019-08-16 19:52:54 +02:00
Bond_009
c699c546e4
Improve LocalizationManager
2019-08-16 17:31:47 +02:00
dkanada
bb04545068
Merge pull request #1614 from Bond-009/docs2
...
Document all public/internal members of Emby.Drawing
2019-08-15 21:01:44 -07:00
dkanada
685e9e4f58
Merge pull request #1584 from Bond-009/checksum
...
Check checksum for plugin downloads
2019-08-15 01:00:33 -07:00
Anthony Lavado
29623d36e8
Merge pull request #1568 from whooo/master
...
Add DLNA headers if requested by the client
2019-08-13 01:29:16 -04:00
Bond_009
838e5d05d5
Document all public/internal members of Emby.Drawing
...
Forces all new public/internal members to be documented.
Enables TreatWarningsAsErrors for Emby.Drawing
2019-08-11 16:52:37 +02:00
Bond_009
7243689215
Minor improvements
2019-08-11 15:57:36 +02:00
Bond_009
5eaf5465a5
Check checksum for plugin downloads
...
* 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-11 15:54:58 +02:00
dkanada
1ad67e223f
Merge pull request #1462 from Bond-009/installationmanager
...
Improvements to InstallationManager
2019-08-11 03:47:10 -07:00
whooo
9556561a77
Merge branch 'master' into master
2019-08-11 12:42:19 +02:00
Joshua M. Boniface
a96fa7a5c7
Merge pull request #1397 from Bond-009/passfast
...
Streamline authentication proccess
2019-08-10 21:42:46 -04:00
dkanada
b5f3f28f41
Merge pull request #1578 from Bond-009/httpresponse
...
Replace custom code with Asp.Net Core code
2019-08-09 23:26:10 -07:00
Bond_009
9b2cf8501f
Add last one
2019-08-09 23:24:04 +02:00
Bond_009
52c1b45feb
Fix build
2019-08-09 23:17:54 +02:00
Bond-009
6032f31aa6
Use CultureInvariant string conversion for Guids
2019-08-09 23:17:54 +02:00
Bond_009
cf7290343f
Fix build
2019-08-09 22:36:20 +02:00
Bond_009
9fff4b060e
Replace custom code with Asp.Net Core code
2019-08-09 22:36:20 +02:00
Erik Larsson
a1efe4caca
Add DLNA headers if requested by the client.
...
And remove the code which adds the headers as ResponseHelper.WriteToResponse
will do it.
2019-07-27 19:55:18 +02:00
Bond-009
82f041d050
Merge branch 'master' into release-10.3.z
2019-07-06 23:08:52 +02:00
Bond_009
0f897589ed
Streamline authentication proccess
2019-07-06 14:52:24 +02:00
dkanada
e722801f80
Merge pull request #956 from Bond-009/db
...
Simplify db code
2019-07-02 11:56:13 -07:00
dkanada
9079b3e8da
add optional password field on user creation
2019-06-30 01:58:01 -07:00
Bond-009
27c29bbb4c
Back to a single connection
2019-06-28 12:13:34 +02:00
Jörn
1fd8164756
fix issue #1347 introduced in pr #930
2019-06-26 01:13:54 -07:00
Bond_009
65a0ca2f32
Improvements to InstallationManager
2019-06-14 18:38:14 +02:00
Joshua M. Boniface
687255aa31
Merge pull request #1442 from jellyfin/release-10.3.z
...
Backmerge for Release 10.3.4 and 10.3.5
2019-06-12 23:30:57 -04:00
pjeanjean
7919dd81da
Skip user permission checking for UserRootFolder
...
Fix #1436
UserRootFolders are used to represent virtual folders that exist outside
of libraries. As such, it doesn't make sense to check if a user has the
right to access their library (named `Media Folders`).
2019-06-06 08:30:56 +02:00
Claus Vium
c05b7c382a
Change UsCulture to InvariantCulture
2019-06-05 20:59:06 +02:00
Anthony Lavado
d7aaa1489c
Merge pull request #1427 from dkanada/fanart
...
Move fanart image provider to plugin
2019-06-05 01:19:54 -04:00
Anthony Lavado
256f44a870
Merge pull request #994 from Bond-009/tasks
...
Remove Tasks wrapped in a Task
2019-06-05 01:11:25 -04:00
Anthony Lavado
f631b2ecdc
Merge pull request #1159 from Bond-009/streamjob
...
Trying to make sense of the streaming code
2019-06-04 00:20:43 -04:00
Frank
3ba709fcc3
Fix #1432 . Add support for encoding with libx265 and hevc_nvenc.
2019-06-01 15:46:41 -07:00
Bond-009
ce1fa42f9d
Merge branch 'master' into tasks
2019-06-01 17:06:01 +02:00
dkanada
09dfa071dc
move fanart image provider to plugin
2019-05-31 01:48:20 -07:00
Jean-Samuel Aubry-Guzzi
12721eb7dd
Fix non-ascii filename downloads
...
Follow https://tools.ietf.org/html/rfc5987#section-3.2.2 to encode
non-ascii filenames in HTTP Content-Disposition header.
2019-05-07 19:43:04 -04:00
bugfixin
a827a2fbcc
Remove unreachable code and const trySupportSeek within BaseProgressiveStreamingService
2019-04-25 19:14:33 +00:00
Claus Vium
28c2ac528d
Re-add content length, semi revert of changes in #1010 ( #1287 )
...
* Re-add content length, semi revert of changes in #1010
2019-04-24 14:06:54 +02:00
Joshua Boniface
31ad366aa9
Implemented suggested conditional
2019-04-18 10:24:08 -04:00
Joshua Boniface
10f33b0273
Update conditional to be correct
2019-04-18 09:31:30 -04:00
Joshua Boniface
eaa1ac8013
Apparently strings can't be !'d
2019-04-17 22:49:17 -04:00
Joshua Boniface
e790f024c2
Return MethodNotAllowedException if Pw is not set
...
Don't accept pre-hashed (not-plaintext) passwords as the auth
provider no longer supports this due to sha1+salting the passwords
in the database.
2019-04-17 22:33:00 -04:00
Bond-009
e89c8dbf76
Use CultureInfo.InvariantCulture
2019-04-17 15:23:03 +02:00
Bond_009
9aaeb19418
Self-documenting code
2019-03-27 17:05:08 +01:00
Bond_009
b647959ec4
Add EnableOutputInSubFolder back
2019-03-27 16:26:33 +01:00
Bond_009
ca37ca291f
More style changes
2019-03-26 23:06:38 +01:00
Bond_009
93e535d3a1
Trying to make sense of the streaming code
...
Mostly small changes as I was looking through the code.
* async void -> async Task
* Properly implemented dispose methods
* Pass the logstream directly to the JobLogger
* Style fixes
2019-03-26 23:00:14 +01:00
Bond_009
2696ac5eac
Lower the amount of running tasks
2019-03-25 21:33:48 +01:00
Phallacy
09921a00aa
made password resets an interface and per user
2019-03-22 00:01:23 -07:00
Erwin de Haan
21cc38fcf4
Adjusted AssemblyCopyright attribute values.
2019-03-14 22:17:56 +01:00
Erwin de Haan
ee7bf86e0f
Adjusted the Product Name so the User Agent is correct/better.
2019-03-14 22:11:47 +01:00
Vasily
208585d3f6
Merge pull request #1106 from Bond-009/warn2
...
More warning fixes
2019-03-14 19:54:44 +03:00
Bond-009
bf43dc00bb
More warning fixes
2019-03-13 22:32:52 +01:00
Bond-009
e64aaebbac
Improvements around streams
...
* Use ArrayPool instead of allocating new buffers each time
* Remove NetworkStream copy
* Remove some dead code
2019-03-13 21:11:01 +01:00
Bond-009
decaffed86
Remove EnvironmentInfo
...
This moved the last bit of usefulness of EnvironmentInfo into a static
class.
2019-03-07 22:41:41 +01:00
Vasily
028a98d2c1
Merge pull request #1058 from Bond-009/clean
...
Cleanup/simplification
2019-03-08 00:23:00 +03:00
Bond_009
37ea50a572
Reduce the amount of exceptions thrown
2019-03-07 21:42:56 +01:00
Bond-009
c5fce647de
Cleanup/simplification
...
* Removed useless copies/allocations
* Reduced unneeded complexity
2019-03-07 21:13:13 +01:00
Claus Vium
0abe57e930
Merge remote-tracking branch 'remotes/upstream/master' into kestrel_poc
2019-03-07 20:16:51 +01:00
Bond-009
e4c5d51860
Update MediaBrowser.Api/Playback/Progressive/BaseProgressiveStreamingService.cs
...
Co-Authored-By: cvium <cvium@users.noreply.github.com>
2019-03-07 19:04:50 +01:00
Claus Vium
394d23a73a
Review comments
2019-03-06 19:14:03 +01:00
Claus Vium
78742b8e4c
Switch to HeaderNames instead of hardcoded strings (and other header related fixes)
2019-03-05 19:20:28 +01:00
Xu Fasheng
4951ec9814
Fix rmvb video can not play under DLNA
...
Or will report "Could not find handler for /videos/xxx/stream.rm" error
in server side.
Test OK with Kodi and gupnp-tools.
2019-02-28 18:00:25 +08:00
Claus Vium
71ed840944
Simplify websocket listeners
2019-02-27 22:09:22 +01:00
Claus Vium
27e7e792b3
Replace some usage of QueryParamCollection
2019-02-27 14:23:39 +01:00
Claus Vium
4db31acff9
Begin removing System.Net sources
2019-02-26 22:11:21 +01:00
Bond-009
1731bf7372
Remove ordering items
2019-02-26 20:47:23 +01:00
PloughPuff
73c1cdb32a
Avoid exceptions due to folder and file not found
...
1) Use function to return path to temp transcode path which has benefit of creating temp folder if not exists, thereby avoiding the exception when GetFilePaths is used.
2) Check json files exists before attempting to read from it. Avoids having to mask FileNotFound exceptions when debugging.
2019-02-20 13:30:06 +00:00
Vasily
60df855b26
Merge pull request #930 from fruhnow/AuthorizationCheck
...
checking user-permission in GetQueryResult
2019-02-20 14:42:35 +03:00
Joshua M. Boniface
89d4ce309d
Merge pull request #848 from Bond-009/perf
...
Minor changes to reduce allocations
2019-02-19 21:24:51 -05:00
Joshua M. Boniface
b43317c5e1
Merge pull request #830 from Bond-009/update
...
Removed remaining self-update code
2019-02-19 21:21:36 -05:00
Felix Ruhnow
53beebc774
switching logging to serilog convention according to pr comments
2019-02-19 12:17:28 +01:00
Felix Ruhnow
ba003e06ef
adressing pr comments
2019-02-19 12:09:39 +01:00
Felix Ruhnow
1d631540ac
adressing pr comments
2019-02-19 12:06:50 +01:00
Felix Ruhnow
967d5deeb7
checking user-permission in GetQueryResult to prevent accessing the library without permission but having a link. (+added myself as contributor. forgot last time bout that)
2019-02-18 18:29:58 +01:00
Vasily
13f2783a8e
Merge pull request #887 from wtayl0r/replace-primitives-with-iconfiguration
...
Replace primitive injection with IConfiguration
2019-02-18 19:30:11 +03:00
Bond_009
7554f63551
Remove more self-update code
2019-02-18 16:57:08 +01:00
William Taylor
18ae107ce4
Removed unnecessary configuration options and reduced primitive dependencies
2019-02-17 14:09:52 +00:00
Bond-009
a35ea49c99
Merge remote-tracking branch 'upstream/release-10.2.z' into newmaser
2019-02-17 10:38:44 +01:00
Bond-009
4811e76860
Merge branch 'master' into perf
2019-02-16 17:05:44 +01:00
Claus Vium
21f0a7e020
Make all class implementing dynamically loaded interfaces public
2019-02-15 23:05:14 +01:00
Bond_009
8d98885cda
Less string allocations
2019-02-12 21:06:47 +01:00
Bond_009
7722cb3ffa
Some Lists -> IEnumerable
2019-02-12 21:06:47 +01:00
Bond_009
41fb1e5106
Tuple -> ValueTuple
2019-02-12 21:06:47 +01:00
Bond_009
64d5ec12e2
Use HashSets for increased perf
2019-02-12 21:06:47 +01:00