Commit Graph

2380 Commits

Author SHA1 Message Date
Nathan McCrina
d5dc4435d9
Handle exception for unexpected audio file YEAR tag values (#11621) 2024-05-14 21:28:29 -06:00
Shadowghost
48228430c0 Fix season names 2024-05-15 01:23:23 +02:00
Tim Eisele
c9cd17220a
Playlist fixes (#11487) 2024-05-05 19:22:21 -06:00
gnattu
cf483203f5
Fix external LRC files being incorrectly overwritten during the initial scan (#11480) 2024-05-05 08:22:48 -06:00
Tim Eisele
4aad655fa8
Fix subtitle saving if file already exists (#11310) 2024-05-05 08:22:34 -06:00
gnattu
77a101cc98
Fix missing season Index (#11472) 2024-05-05 08:21:00 -06:00
Bond_009
88a38a61b5 Improve audio normalization
* Move calculation of LUFS to a scheduled task as it's pretty slow
* Correctly calculate album LUFS
* Don't try to convert replaygain tags to LUFS values
2024-04-28 15:18:53 +02:00
Bond-009
d29b85a134
Fix multiple intro providers and remove unneeded ToLists (#11431) 2024-04-25 07:02:01 -06:00
Bond-009
ac108690a8
Use StringSplitOptions.TrimEntries where possible (#11421) 2024-04-24 08:35:15 -06:00
Bond-009
428283f787
Always scan ReplayGain tag (#11418) 2024-04-24 08:09:01 -06:00
Bond-009
3936fc9f25
Don't run ffprobe a second time for music file (#11419) 2024-04-23 07:08:49 -06:00
Bond-009
37d301ebd4
Merge pull request #11352 from jellyfin/fix-library-removal
fix: explicitly allow remove root when performing library removal
2024-04-18 12:16:04 +02:00
gnattu
e4d66f35fd chore: use proper way to override remove root
This is an alternate approach which is more proper, but changes all parts that uses/overrides the original ValidateChildren method

Signed-off-by: gnattu <gnattuoc@me.com>
2024-04-17 14:41:19 +08:00
Cody Robibero
d402005d32 fix: fallback to artist if album artist not provided 2024-04-14 14:29:55 -06:00
Cody Robibero
31e0756c0c
Only update if actively refreshing (#11341) 2024-04-12 17:45:15 -06:00
Dominik Krivohlavek
ab731d9212
Fix track MBID in audio metadata (#11301) 2024-04-12 17:44:30 -06:00
Sebastian Held
bfc5deb234
fix metadata refresh for artists (#11257) 2024-03-30 10:40:27 -06:00
scampower3
4bcabbde7b
Fixes 'replace missing metadata' overwrites existing metadata that does exist (#11136) 2024-03-18 08:39:30 -06:00
Bond-009
b6d130ae2d
Merge pull request #11155 from sel10ut/bugfix/fix-releasedate-tag
Fix parsing of audio PremiereDate property
2024-03-16 16:43:59 +01:00
sel10ut
368a1b385a
fix: fallback to TagLib date parsing if ffprobe fails
Bring back hardcoded PremiereDate with correctly parsed year from TagLib, if ffprobe cannot get it
2024-03-15 01:37:11 +03:00
sel10ut
e9caa65eba
fix: change parsing of audio title tag 2024-03-14 13:25:04 +03:00
sel10ut
1236bb298c
fix: correct parsing of audio release date property
Read full date from ffmpeg probe.
2024-03-14 12:54:53 +03:00
Niels van Velzen
407cf5d0bf
Add MediaStreamProtocol enum (#10153)
* Add MediaStreamProtocol enum

* Add default handling for enum during deserialization

---------

Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-03-04 16:44:54 -07:00
Cody Robibero
f7f3ad9eb7
Precache livetv program images (#11083)
* Precache livetv program images

* return if cache hit

* use EnsureSuccessStatusCode

* Read proper bytes
2024-03-03 13:32:55 -07:00
Bond-009
35df0486f5
Merge pull request #11081 from crobibero/embedded-lyrics
Save embedded lyrics when probing audio
2024-03-03 07:52:23 -05:00
Bond-009
5a4aff36c1
Merge pull request #11079 from crobibero/bdinfo-codec
Always use ffmpeg codec for bluray
2024-03-01 10:25:11 -05:00
Cody Robibero
c8d93d9352
Return backdrops with text as thumb for tmdb (#11078) 2024-02-28 17:39:31 -07:00
Cody Robibero
169e0dcb11 Save embedded lyrics when probing audio 2024-02-28 17:34:33 -07:00
Cody Robibero
ac33d1593a oops 2024-02-28 17:34:06 -07:00
Cody Robibero
5a652360c3
Update AudioFileProber.cs 2024-02-28 17:18:52 -07:00
Cody Robibero
ddf8f7d636
Update AudioFileProber.cs 2024-02-28 17:12:05 -07:00
Cody Robibero
f3c333f4d5
Merge branch 'master' into bhowe34/fix-replace-missing-metadata-for-music 2024-02-28 17:09:23 -07:00
Cody Robibero
c603cd2e4e Always use ffmpeg codec for bluray 2024-02-28 14:10:44 -07:00
Brian Howe
54eb81395e Merge branch 'master' into bhowe34/fix-replace-missing-metadata-for-music 2024-02-27 21:07:30 -06:00
Cody Robibero
0bc41c015f
Store lyrics in the database as media streams (#9951) 2024-02-26 05:09:40 -07:00
Patrick Barron
8698b90594 Remove SimpleProgress 2024-02-06 09:50:46 -05:00
Cody Robibero
e7b8d45bbb
Use helper function to compare guid (#10825) 2024-01-17 08:51:39 -07:00
TelepathicWalrus
7b5c41c2a5
Add option to use replaygain tags for audio (#10566)
* Add option to use replaygain tags for audio

* Change regex to be specific

* Use ffprobe for faster metadata grabs

* Change regex to .Match
2024-01-06 13:59:56 -07:00
Joe Rogers
e91de654d7
Stop saving Jellyfin API key in settings xml 2023-12-17 22:14:11 -05:00
Joe Rogers
f7479bc730
Fix missing posters in collection identify 2023-12-16 23:28:50 -05:00
Joe Rogers
c8da8eefe0
Add api key to configuration 2023-12-16 23:24:23 -05:00
Brian Howe
7f1fec688c check ReplaceAllMetadata option and name field lock 2023-12-06 23:55:36 -06:00
GinoGinocchio
ddcd29f17e Update MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-12-06 22:57:11 -06:00
GinoGinocchio
de91a213a1 Update MediaBrowser.Providers/MediaInfo/AudioFileProber.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-12-06 22:57:11 -06:00
GinoGinocchio
81d642abe3 Removing unnecesary empty and null validations 2023-12-06 22:57:11 -06:00
GinoGinocchio
eb41cd51ea Using TryGetProviderId and adding an empty validation 2023-12-06 22:57:11 -06:00
GinoGinocchio
01bbc7d117 Correcting according to the comments provided 2023-12-06 22:57:11 -06:00
GinoGinocchio
d1cc56f78c Fix: "Feature 'replace missing metadata' overwrites existing metadata that does exist" for music 2023-12-06 22:57:11 -06:00
Bond_009
b62b0ec2b5 Fix warnings 2023-11-14 21:14:21 +01:00
Bond_009
eb022c49cc Update to .NET 8 2023-11-14 21:12:16 +01:00
Cody Robibero
453c65d619 Fix build after merge 2023-11-10 08:01:39 -07:00
Cody Robibero
892973a9e3
Merge branch 'master' into media-type 2023-11-09 22:03:55 -07:00
Cody Robibero
c7a94d48ae
Convert ItemSortBy to enum (#9765)
* Convert ItemSortBy to enum

* Rename Unknown to Default
2023-11-09 14:00:13 -07:00
Bond-009
5e48278e2a
Merge pull request #10078 from scampower3/master
Combine Title and Overview for multi-episodes files for the TMDB provider
2023-11-08 11:18:12 +01:00
Bond_009
a9ef103c95 Add IDisposableAnalyzers to more projects 2023-11-05 02:01:14 +01:00
Nick
cd662506a1 Merge branch 'master' into trickplay 2023-10-18 19:27:05 -07:00
LJQ
1d19fe50b4 Deep copy instead of Shallow copy 2023-10-16 21:18:25 +08:00
LJQ
298a7488a3 Applied 2nd Round of Suggested Changes 2023-10-16 19:48:01 +08:00
Stepan Goremykin
38d962242a Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Updates/InstallationManager.cs
#	tests/Jellyfin.Server.Integration.Tests/OpenApiSpecTests.cs
2023-10-14 00:45:52 +02:00
Bond-009
4fc27fa63e
Merge pull request #10390 from Bond-009/streams 2023-10-13 10:45:15 +02:00
Stepan Goremykin
8d7e4229ca Merge branch 'master' into fix-resharper-warnings
# Conflicts:
#	Emby.Server.Implementations/Net/SocketFactory.cs
#	RSSDP/SsdpCommunicationsServer.cs
#	RSSDP/SsdpDeviceLocator.cs
#	RSSDP/SsdpDevicePublisher.cs
2023-10-12 20:11:16 +02:00
Bond_009
d7748cfa04 Multiple Stream changes
* Remove useless MemoryStream in DlnaHttpClient
* Use HttpContent.ReadFromJsonAsync extension
* Call ConfigureAwait for IAsyncDisposable
* Use HttpContent.CopyToAsync where possible
2023-10-11 18:32:57 +02:00
Cody Robibero
2920611ffc Convert string MediaType to enum MediaType 2023-10-10 15:57:15 -06:00
Bond_009
d15f6908b0 Empty Guids shouldn't make it into the refresh queue
```
System.ArgumentException: Guid can't be empty (Parameter 'id')
   at Emby.Server.Implementations.Library.LibraryManager.GetItemById(Guid id) in /home/loma/dev/jellyfin/Emby.Server.Implementations/Library/LibraryManager.cs:line 1224
   at MediaBrowser.Providers.Manager.ProviderManager.StartProcessingRefreshQueue() in /home/loma/dev/jellyfin/MediaBrowser.Providers/Manager/ProviderManager.cs:line 983
```
2023-10-10 13:29:16 +02:00
Bond_009
c707baed83 Jellyfin.Drawing minor improvements
Reduce duplicate/dead code
2023-10-08 17:10:04 +02:00
Stepan Goremykin
f84469d500 Remove redundant using directives 2023-10-08 00:50:02 +02:00
Stepan Goremykin
8ea812b65d Reduce string literal length by using verbatim string 2023-10-08 00:26:12 +02:00
Stepan Goremykin
3f9ee316d5 Use non nullable property type when possible 2023-10-08 00:22:36 +02:00
Stepan Goremykin
d6b557d9ee Move declaration closer to usage 2023-10-07 23:56:07 +02:00
Bond_009
efc4c305a9 Use CryptoStream to convert stream from base64
Should be way more efficient
2023-10-05 23:36:37 +02:00
LJQ
136a4abbd3 Applied Suggested Changes 2023-09-11 20:29:49 +08:00
Nyanmisaka
debbfaa502
Fix MJPEG video is recognized as embedded image (#10173)
fixes 1d729b2

Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2023-08-30 17:19:52 -06:00
Bond-009
c7ca416206
Merge pull request #10138 from cvium/sqlite_client_poc 2023-08-28 11:54:35 +02:00
Bond-009
3b07d73d40
Merge pull request #10154 from goremykin/multiple-enumerations 2023-08-27 10:17:30 +02:00
Stepan Goremykin
ee83e4cca5 Remove redundant method 2023-08-26 17:29:00 +02:00
Stepan Goremykin
0ed2aa6f06 Fix a few multiple enumerations 2023-08-26 16:57:27 +02:00
cvium
c76026600e simplify if 2023-08-23 13:36:08 +02:00
cvium
7689990ad1 reduce calls to GetValidSeasonNameForSeries 2023-08-23 12:22:35 +02:00
cvium
9a246166b0 move a computation out of transaction and skip season updates if name matches 2023-08-23 12:15:21 +02:00
Bond_009
18a311d32f == null -> is null 2023-08-22 21:14:54 +02:00
Bond_009
d92e9ae85e Enable nullable for more files and add tests
Adds basic tests for FFProbeVideoInfo.CreateDummyChapters
Fixed error message CreateDummyChapters instead of reporting the total minutes it only reported the minute component
2023-08-22 18:11:34 +02:00
Claus Vium
956e3dab43
fix: accessing Standard* of a Process requires manually disposing them afterwards (#10125) 2023-08-20 20:06:57 +02:00
LJQ
a0011886b0 Fixes metadata refresh problems with NFO files 2023-08-06 16:14:33 +08:00
LJQ
0676b878f3 Removed unused imports 2023-08-04 21:25:43 +08:00
LJQ
28a6694f6e Combined Title and Overview for multi-episodes files for the TMDB provider 2023-08-04 21:19:08 +08:00
Jan Müller
66ff724acf Fix the probing of m4a metadata
The composer is not set in some of my m4a files. For some reason
TagLibSharp returns the composer as an empty string in this case. This
causes an exception in PeopleHelper.AddPerson, and thus probing fails.

IMHO we can simply ignore empty values.

Fixes: #10061
2023-07-31 22:19:06 +02:00
MBR-0001
9564248b10
Add ability to upload (and save) SDH subtitles (#10036) 2023-07-29 06:52:35 -06:00
Bond-009
b95fa294c9
Merge pull request #9799 from Bond-009/genregex 2023-07-06 19:56:00 +02:00
Niels van Velzen
0af5373f6d Use string.IsNullOrEmpty 2023-07-01 14:07:59 +02:00
Niels van Velzen
0ae4d175a1 Check for empty string in DefaultLyricProvider 2023-07-01 11:16:21 +02:00
Niels van Velzen
6be45f73bc Simplify file extension checks in lyrics parsers and provider 2023-06-29 21:16:29 +02:00
Bond_009
b5f0760db8 Use RegexGenerator where possible 2023-06-28 17:07:57 +02:00
Nick
ab20ceaad6 Migrate to trickplay table to EF. Rename vars/methods/members to have consistent use of tile and thumbnail 2023-06-26 17:40:10 -07:00
Niels van Velzen
1ed5f0a624 Move line break characters to static readonly string array in TxtLyricParser 2023-06-24 09:25:25 +02:00
Nick
a2a144869d Minor code fixes (cvium) 2023-06-23 14:30:55 -07:00
Nick
619d1d47f2 Move GetHlsPlaylist to ITrickplayManager 2023-06-23 14:22:00 -07:00
Niels van Velzen
6de56f0518 Add support for lyric provider plugins 2023-06-23 21:13:20 +02:00
Nick
0e2c362078 Move SkiaSharp related code to Jellyfin.Drawing and IImageEncoder 2023-06-22 16:23:52 -07:00
Nick
049361b66c TrickplayController return 404 if playlist doesn't exist. Minor code style/format changes (crobibero) 2023-06-22 16:23:52 -07:00
Nick
a9594cd8b4 Minor code change 2023-06-22 16:23:52 -07:00