Commit Graph

49 Commits

Author SHA1 Message Date
crobibero
6763d456ff Set UserAgent when getting M3u playlist 2020-11-01 19:23:28 -07:00
crobibero
5b93b3b15e migrate to IHttpClientFactory in M3uParser 2020-08-31 12:08:37 -06:00
Bond_009
febb6bced6 Review usage of string.Substring (part 1)
Reduced allocations by replacing string.Substring with ReadOnlySpan<char>.Slice
2020-07-22 13:39:24 +02:00
telans
3d9049ef08
fix SA1508 2020-06-15 10:45:55 +12:00
telans
acd4389653
fix SA1005 2020-06-15 10:41:00 +12:00
Bond_009
3ab50f5a3f Address comments 2020-04-01 19:05:41 +02:00
Bond_009
7060934792 Fix some warnings in Emby.Server.Implementations 2020-02-06 15:21:38 +01:00
Bond_009
87d2479b78 Fix warnings 2020-01-31 22:26:53 +01:00
dkanada
5c366e4697
Merge pull request #1612 from Bond-009/warn4
Fix warnings
2019-08-10 15:12:54 -07:00
Bond-009
6032f31aa6 Use CultureInvariant string conversion for Guids 2019-08-09 23:17:54 +02:00
Bond_009
2a58c643d2 Fix more warnings 2019-08-09 23:16:24 +02:00
Bond-009
b44a70ff36 Simplify/remove/clean code
* Remove useless runtime check (we only support one)
* Remove unused args
* Remove a global constant

And ofc fix some warnings ;)
2019-03-25 22:25:32 +01:00
Bond-009
bdfd042d70
Merge branch 'master' into fields 2019-02-16 17:03:15 +01:00
Felix Ruhnow
edf5ee0cc4 combining some of the if's and adressing #820 2019-02-11 10:11:07 +01:00
Felix Ruhnow
86089ec03a Adding support for "tvg-chno"-Tag in M3U Channel Lists 2019-02-10 22:23:47 +01:00
Bond_009
a6a4cd5667 Removed some unused fields 2019-02-09 15:57:42 +01:00
Erwin de Haan
a430568082 Unwrapped OpenRead and CopyFile 2019-01-28 22:09:58 +01:00
Andrew Rabert
d7da475aad Fix User-Agent 2019-01-19 21:38:42 -05:00
Andrew Rabert
8de4eb7d19 Rename ApplicationSemanticVersion to ApplicationVersion 2019-01-19 21:35:33 -05:00
Andrew Rabert
469590c9c5 Merge pull request #508 from EraYaN/api-version-reporting
Update internal versioning and user agents.
2019-01-19 21:08:35 -05:00
Erwin de Haan
924ec0c191 Revert Jellyfin.Versioning, Update all versions and user agents. 2019-01-20 01:12:44 +01:00
Erwin de Haan
949393043d Fixed missing out keyword. 2019-01-19 22:07:48 +01:00
Erwin de Haan
321c440739 Reformat JustAMan review pt1 changes
Refs #575
2019-01-17 20:24:01 +01:00
Erwin de Haan
e867446437 ReSharper format: conform inline 'out' parameters. 2019-01-13 21:46:33 +01:00
Erwin de Haan
39ef1106d7 Visual Studio Reformat: Emby.Server.Implementations Part Liv-P 2019-01-13 20:22:00 +01:00
Erwin de Haan
ec1f5dc317 Mayor code cleanup
Add Argument*Exceptions now use proper nameof operators.

Added exception messages to quite a few Argument*Exceptions.

Fixed rethorwing to be proper syntax.

Added a ton of null checkes. (This is only a start, there are about 500 places that need proper null handling)

Added some TODOs to log certain exceptions.

Fix sln again.

Fixed all AssemblyInfo's and added proper copyright (where I could find them)

We live in *current year*.

Fixed the use of braces.

Fixed a ton of properties, and made a fair amount of functions static that should be and can be static.

Made more Methods that should be static static.

You can now use static to find bad functions!

Removed unused variable. And added one more proper XML comment.
2019-01-10 20:38:53 +01:00
Bond_009
0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Luke Pulverenti
f4765a87cc update m3u tuner 2017-08-20 15:10:00 -04:00
Luke Pulverenti
31841a31a9 3.2.26.7 2017-07-30 14:02:25 -04:00
Luke Pulverenti
7bc2a9a081 update people editing 2017-06-06 02:13:49 -04:00
Luke Pulverenti
33014f77aa update GetItems method 2017-05-26 02:48:54 -04:00
Luke Pulverenti
e6178a65f9 rework tuner channel id 2017-03-26 00:21:32 -04:00
Luke Pulverenti
b2f7352094 improve m3u parsing 2017-03-25 18:08:43 -04:00
Luke Pulverenti
c33b12ba7d update m3u channel mapping 2017-02-23 14:13:26 -05:00
Luke Pulverenti
34171a7507 if (string.IsNullOrWhiteSpace(result))
{
                attributes.TryGetValue("channel-id", out result);
            }
2017-02-22 16:13:27 -05:00
Luke Pulverenti
851364f84f rework guide mappings 2017-02-04 18:32:16 -05:00
Luke Pulverenti
39e8e3cbe7 dummy up m3u channel numbers 2017-02-01 15:56:41 -05:00
Luke Pulverenti
1d849e3f25 update xmltv parsing 2017-02-01 02:47:12 -05:00
Luke Pulverenti
8f780269cb update m3u parsing 2017-01-25 15:14:47 -05:00
Luke Pulverenti
cf470529b1 update video osd 2017-01-25 02:04:34 -05:00
Luke Pulverenti
23070fa67c update m3u parsing 2017-01-24 01:20:06 -05:00
Luke Pulverenti
a3b9d33248 key m3u based on tvgid 2017-01-23 16:51:23 -05:00
Luke Pulverenti
95ceddb7d9 update m3uparser 2017-01-14 14:57:08 -05:00
Luke Pulverenti
4a73875ef3 update m3u parser 2017-01-13 23:31:43 -05:00
Luke Pulverenti
1cb7a1b49c add m3u unit test 2017-01-13 22:46:02 -05:00
Luke Pulverenti
63a69cdc60 improve m3u channel list parsing 2016-12-07 15:03:00 -05:00
Luke Pulverenti
ca86eb5708 removed dead code 2016-11-27 18:38:33 -05:00
Luke Pulverenti
7f51f27014 update m3u name parsing 2016-11-27 15:52:24 -05:00
Luke Pulverenti
d5ea8ca3ad move classes to portable 2016-11-03 19:35:19 -04:00