Commit Graph

23088 Commits

Author SHA1 Message Date
1hitsong
97409adb45 Adjust file read async functions 2022-09-22 09:00:07 -04:00
1hitsong
a50bdb4770 Use async functions 2022-09-22 08:13:53 -04:00
1hitsong
35399ce8fe Update summaries, Use spans 2022-09-21 17:49:28 -04:00
1hitsong
b1771f07e9 Use Span in SupportedMediaTypes comparison 2022-09-20 13:34:46 -04:00
1hitsong
0d5bd85d6d Resolve Azure build error 2022-09-20 08:48:08 -04:00
1hitsong
6f0d33b1ca Use Directory GetFiles to find lyric files 2022-09-20 08:36:54 -04:00
1hitsong
b442c79e62 Make LyricParser a field 2022-09-19 20:24:05 -04:00
1hitsong
3ba8218e45 Use field instead of property 2022-09-19 17:57:03 -04:00
1hitsong
df85b2fe65
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-09-19 17:46:29 -04:00
1hitsong
838334b322 Add missing summary to AcceptedTimeFormats 2022-09-19 17:02:42 -04:00
1hitsong
5d2364f064 Move AcceptedTimeFormats to class level variable 2022-09-19 16:59:16 -04:00
1hitsong
d7fedf3512 Variable declaration cleanup 2022-09-19 16:26:38 -04:00
1hitsong
28d017865b Code Cleanup 2022-09-18 21:17:53 -04:00
1hitsong
552b6aceae Add default values to LyricResponse 2022-09-18 16:17:26 -04:00
1hitsong
7e923e2688 Use numeric values for metadata values 2022-09-18 16:05:50 -04:00
1hitsong
dddebec794
Update MediaBrowser.Controller/Lyrics/LyricResponse.cs
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
2022-09-18 14:53:36 -04:00
1hitsong
dce81d8818
Update MediaBrowser.Controller/Lyrics/LyricResponse.cs
Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
2022-09-18 14:53:25 -04:00
1hitsong
f737581d49 Use providers in order of priority 2022-09-18 13:13:01 -04:00
1hitsong
10b07ed9a5
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-18 12:39:38 -04:00
1hitsong
c85cbcced6
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-18 12:39:19 -04:00
1hitsong
baf07ddbfe
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-18 12:39:07 -04:00
1hitsong
636835f73a
Update MediaBrowser.Providers/Lyric/LrcLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-18 12:38:24 -04:00
1hitsong
1aa8b22b89
Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-18 12:38:10 -04:00
1hitsong
db662eeb33
Update MediaBrowser.Providers/Lyric/TxtLyricProvider.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-18 12:38:01 -04:00
1hitsong
a52d108af6 Remove automapper tool 2022-09-18 11:47:57 -04:00
1hitsong
0b86630be7 Use model properties for LRC metadata 2022-09-17 19:47:29 -04:00
1hitsong
64b013b121 Resolve Azure build issues 2022-09-17 17:48:27 -04:00
1hitsong
c65819221d Code cleanups. Remove pragma commands 2022-09-17 17:37:38 -04:00
1hitsong
29932466a9 Remove commented out code 2022-09-17 10:55:04 -04:00
1hitsong
7d886116fd Var type refinements 2022-09-17 10:42:48 -04:00
1hitsong
823e2ec029 Removing unused lines 2022-09-17 09:22:07 -04:00
1hitsong
9350fa40bd Convert _lyricProviders to an array. 2022-09-17 08:46:09 -04:00
1hitsong
8912f618f5 Change API GetLyrics return type 2022-09-16 21:11:28 -04:00
1hitsong
f740d1b9f0 Remove use of AddParts. Cleanup use of Lyric vs Lyrics. 2022-09-16 20:52:40 -04:00
1hitsong
f4fd908f8d Create ILyricManager 2022-09-15 20:49:25 -04:00
1hitsong
d9be3874ba Auto stash before merge of "lyric-lrc-file-support" and "origin/lyric-lrc-file-support" 2022-09-15 19:45:26 -04:00
1hitsong
7520a19985
Merge pull request #1 from JIntrocaso/lyric-lrc-file-support
Adds lyric providers to DI pipeline
2022-09-15 19:44:12 -04:00
Jamie Introcaso
c0dae0fef5 Adds lyric providers to DI pipeline
This is adding those lyric providers to the DI pipeline along with a super simple implementation of how to use them in the controller method. Probably should be refactored into a lyric service of some sort that would have the providers injected into it.
2022-09-14 20:39:35 -04:00
1hitsong
31ec521f5e Remove now unused variables 2022-09-11 19:15:33 -04:00
1hitsong
cecca5f715 Remove unneeded 2nd loops 2022-09-11 19:13:02 -04:00
1hitsong
3928d02e17 Resolve Possible null reference 2022-09-11 16:13:17 -04:00
1hitsong
97f8a63b89 Allow LRC start value to be null 2022-09-11 15:56:34 -04:00
1hitsong
9d5cf67dfe Create ILyricsProvider 2022-09-11 15:50:27 -04:00
1hitsong
23ec35d396 Merge remote-tracking branch 'origin/lyric-lrc-file-support' into lyric-lrc-file-support 2022-09-10 14:29:38 -04:00
1hitsong
2e260e5319 Updates based on review 2022-09-10 14:29:30 -04:00
1hitsong
d24444b6d3
Update Jellyfin.Api/Models/UserDtos/Lyrics.cs
Co-authored-by: Neil Burrows <neil@pawprint.co.uk>
2022-09-10 10:51:05 -04:00
1hitsong
0aa2780ea7
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:15:57 -04:00
1hitsong
92715a7426
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:09:39 -04:00
1hitsong
8b78802c0b
Update Jellyfin.Api/Controllers/UserLibraryController.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
2022-09-09 21:08:38 -04:00
1hitsong
5f5347aee3 Add Lyrics API Endpoint 2022-09-09 20:22:55 -04:00