Commit graph

855 commits

Author SHA1 Message Date
Erwin de Haan c5c7a3c4ee Visual Studio Reformat: Emby.Server.Implementations Part De-H 2019-01-13 20:20:41 +01:00
Erwin de Haan a5288115a8 Visual Studio Reformat: Emby.Server.Implementations Part A-Da 2019-01-13 20:20:16 +01:00
Joshua M. Boniface 9dcaafe700 Merge pull request #458 from EraYaN/code-cleanup
Clean up several minor issues and add TODOs
2019-01-13 12:14:53 -05:00
hawken c8e3c1737a Fix small logging typo with the "name (path) will be refreshed" message 2019-01-13 11:59:24 +00:00
Erwin de Haan e9519de07d Fixed removed start tag of XMLComment. 2019-01-12 22:54:47 +01:00
Erwin de Haan 846456b41e Reformatted the files with notes. 2019-01-12 21:41:08 +01:00
Joshua M. Boniface 016bad1ea3 Merge pull request #556 from grafixeyehero/dev
Fix "Password Reset by PIN" page
2019-01-12 13:44:09 -05:00
Erwin de Haan e2751d42e8 Merge branch 'dev' into code-cleanup 2019-01-11 12:50:36 +01:00
Joshua M. Boniface 15c89d281e Merge pull request #506 from hawken93/linting
Removing tabs and trailing whitespace
2019-01-10 19:54:18 -05:00
grafixeyehero 9659decef0 fix the forgotpasswordpin
fix passwordreset.txt print
2019-01-11 01:15:00 +03: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
Andrew Rabert 3d867c2c46 Merge pull request #516 from Bond-009/env
Remove useless properties from IEnvironmentInfo
2019-01-09 22:08:58 -05:00
Joshua M. Boniface 9156b21714 Merge pull request #493 from Bond-009/values
Remove unused resource
2019-01-08 18:04:12 -05:00
Bond_009 f520ddc966 Remove useless properties from IEnvironmentInfo 2019-01-08 17:35:56 +01:00
hawken bd169e4fd4 remove trailing whitespace 2019-01-07 23:27:46 +00:00
hawken ba1794f64b Remove tabs and trailing whitespace 2019-01-07 23:24:34 +00:00
hawken 82a801c9ae Some less obvious ones that I was told were there 2019-01-07 21:29:59 +00:00
Bond_009 672e635742 Remove unused resource 2019-01-07 18:39:35 +01:00
Andrew Rabert edfc3cb8c6 Merge pull request #437 from cvium/remove_run_at_startup
Remove AutoRunAtStartup
2019-01-06 18:31:20 -05:00
Andrew Rabert 12112ea25d Remove more news 2019-01-06 17:52:51 -05:00
Bond_009 07a8e49c4b Cleanup some small things 2019-01-06 20:35:36 +01:00
Bond_009 c07d5a6963 Remove unused PowerManagement
It isn't up to the application to prevent the system from going to sleep
2019-01-06 12:55:48 +01:00
Joshua M. Boniface 7630e58218 Merge pull request #428 from Bond-009/config
Make config path configurable
2019-01-05 20:10:16 -05:00
Ben Fayers b39585cbf6 Change "who is EmbyServer?" and other udp responders to jellyfin alternatives. (#400)
* replace emby server udp responders with Jellyfin responders

* remove unnecessary second udp responder

* readdemby listener

* use false instead of true dunni why but it was like that sooo
2019-01-05 19:21:20 -05:00
Vasily 73c6a3f29a Merge pull request #409 from Bond-009/fix254
[Fix #254] Fix nullrefexception in SubtitleEncoder
2019-01-06 03:09:12 +03:00
Vasily d5d9dfd8e6 Merge pull request #390 from Bond-009/logging
Remove remaining part of old logging code
2019-01-06 02:48:16 +03:00
Anthony Lavado f2fedb9f34 Merge pull request #383 from Bond-009/unused
Remove firebase and empty resource config file
2019-01-05 23:06:08 +00:00
cvium bb879fff33 Remove AutoRunAtStartup 2019-01-05 23:07:06 +01:00
cvium f911aca082 Remove RegisterServerWithAdministratorAccess 2019-01-05 22:42:10 +01:00
Bond_009 2850ff7b8a Make config path configurable 2019-01-05 20:06:22 +01:00
Vasily f93cd97f9b Merge pull request #393 from Bond-009/removesmb
Remove support for opening files via SMB without mounting the share.

This doesn't mean you can't use a SMB share to host your files for Jellyfin. You will just have to mount the share using OS-level mechanisms.
2019-01-05 03:04:54 +03:00
Bond_009 a997bb609f Remove unnecessary using statements 2019-01-05 01:49:52 +03:00
Bond_009 391b48614d Remove FireEventIfNotNull
It's a pretty useless "helper" class
2019-01-05 01:49:52 +03:00
Andrew Rabert e4a041b832 Merge pull request #283 from Bond-009/gpl-cleanup
Post GPL cleanup
2019-01-04 17:40:44 -05:00
Bond_009 59d8d9a82c Fix nullrefexception in SubtitleEncoder 2019-01-04 18:52:04 +01:00
Bond_009 340a2c6512 Post GPL cleanup 2019-01-03 23:19:02 +01:00
Bond_009 a640d437c8 Remove news service 2019-01-03 23:10:18 +01:00
Bond_009 6a8b94b0c7 Remove SMB support
This doesn't mean you can't use an SMB share to store your files for
Jellyfin. You will just have to connect to it on the OS level.
2019-01-03 21:54:59 +01:00
Bond_009 4875d49fa2 Remove remaining part old logging code 2019-01-03 21:25:39 +01:00
Bond_009 d2be83dc44 Don't send usage to emby 2019-01-03 20:38:36 +01:00
Joshua M. Boniface 89a3db9346 Merge pull request #286 from Bond-009/cleanup
Clean up HttpClientManager, LiveTvManager and InstallationManager
2019-01-03 14:00:16 -05:00
Bond_009 db62648510 Remove firebase and empty resource config file 2019-01-03 19:51:18 +01:00
Bond_009 3d6dac26f4 Don't dispose the object we are returning 2019-01-03 18:28:01 +01:00
Bond_009 0bbc4f8219 Figure out why it's failing 2019-01-03 18:24:26 +01:00
Bond_009 a1b96a3135 Clean up HttpClientManager, LiveTvManager and InstallationManager 2019-01-03 18:24:26 +01:00
Bond_009 8adcce5c64 DeleteLogFileTask: only delete the .txt log files 2019-01-02 20:12:24 +01:00
Andrew Rabert 0cafd7dfef Merge pull request #361 from cvium/fix_userid_type
DeviceQuery: change UserId to GUID
2019-01-02 13:15:11 -05:00
Claus Vium 1d6987c713 added todo 2019-01-02 19:13:35 +01:00
Andrew Rabert 8e7a88335d Merge pull request #371 from Bond-009/update
Remove GitHub updater and don't trow exception in release
2019-01-02 13:07:08 -05:00
Andrew Rabert b756390887 Merge pull request #364 from Bond-009/font
Remove unused FontConfigLoader
2019-01-02 13:05:06 -05:00
Bond-009 f1bf87665f Delete PluginUpdateTask.cs 2019-01-02 18:44:19 +01:00
Bond-009 1fb975c6e7 Delete SystemUpdateTask.cs 2019-01-02 18:44:06 +01:00
Bond_009 3fa751e9bb Remove CheckForApplicationUpdate function 2019-01-02 18:13:18 +01:00
Bond_009 78dafb5399 Throw exception when calling unreachable function 2019-01-02 18:05:04 +01:00
Bond_009 36a109cb0f Disable PluginUpdateTask 2019-01-02 18:03:03 +01:00
Bond_009 7679ed037f Disable SystemUpdateTask 2019-01-02 17:54:26 +01:00
Bond_009 40563dc6cc Remove GitHub updater and don't trow exception in release 2019-01-02 17:09:40 +01:00
Bond_009 32469b3f65 Remove obsolete functions 2019-01-02 17:58:44 +03:00
Bond_009 3a65fb1da2 Remove obsolete GetMBId 2019-01-02 17:58:44 +03:00
Bond_009 ec47c5b0f7 Remove unused FontConfigLoader 2019-01-02 15:12:52 +01:00
Bond_009 6643ac3ea4 Clean up EnvironmentInfo 2019-01-02 02:45:06 +03:00
Bond_009 a445233192 Fix warning and improve performance 2019-01-02 02:35:40 +03:00
Bond_009 c99b45dbe0 Remove some warnings 2019-01-02 02:35:40 +03:00
Bond_009 cf7e365610 Fix inconsistent code style 2019-01-02 02:30:59 +03:00
Bond_009 95a5dd8810 Fix log dir 2019-01-02 02:30:59 +03:00
Bond_009 33889e5352 Remove useless string builder 2019-01-02 02:30:59 +03:00
Bond_009 a44936f97f Fix and improve logging 2019-01-02 02:30:59 +03:00
Bond_009 75efe9cf0a Rename and rework entry point 2019-01-02 02:30:59 +03:00
Claus Vium d046c4f5f2 reenable udpserver for server discovery in apps etc. (#349) 2019-01-01 14:32:15 +03:00
Bond_009 4c95aee52e Fix logging in XmlTvListingsProvider 2018-12-30 22:49:09 +01:00
Bond_009 bbe2ca412b Fix build error 2018-12-30 22:44:39 +01:00
Bond_009 88aa5da354 Fix build due to rebase 2018-12-30 22:44:39 +01:00
Bond_009 b1ccd6bad9 Fix build post GPL change 2018-12-30 22:44:39 +01:00
Bond_009 79d18cf5a5 Clean up some catch statements 2018-12-30 22:44:39 +01:00
Bond_009 ea4c914123 Fix exception logging 2018-12-30 22:44:39 +01:00
Bond_009 bf01918659 Clean up 2018-12-30 22:44:38 +01:00
Bond_009 0c1b9d3bff Rebase 2018-12-30 22:44:38 +01:00
Bond_009 a8fde5e89c Readded some stuff 2018-12-30 22:44:38 +01:00
Bond_009 88f5471fe3 Pls stop crashing 2018-12-30 22:44:38 +01:00
Bond_009 b7ebb67cbb Remove the need for NullLogger 2018-12-30 22:44:38 +01:00
Bond_009 3d3ec3588b Mark where ILogger is being set to null 2018-12-30 22:44:38 +01:00
Bond_009 0f8b3c6347 Use Microsoft.Extensions.Logging abstraction 2018-12-30 22:44:38 +01:00
Bond_009 f31457a457 Final cleanup 2018-12-30 20:21:48 +01:00
Bond_009 9ff45cf969 Some voodoo magic to stop a crash 2018-12-30 18:30:29 +01:00
Bond_009 589aa2416a Clean up XmlTvListeningProvider 2018-12-30 18:21:49 +01:00
Bond_009 baa2afb61e Restore latest version
Source: 30baa15839/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
2018-12-30 17:56:47 +01:00
Bond_009 6ebb00549b Add missing XmlTvListingsProvider
Added from e679ac4224/Emby.Server.Implementations/LiveTv/Listings/XmlTvListingsProvider.cs
2018-12-30 17:42:54 +01:00
Bond_009 76d3f60f06 Fix NullRefException 2018-12-30 15:27:31 +01:00
Bond_009 69cf9e8fc4 Give more info on error 2018-12-30 13:18:38 +01:00
Joshua M. Boniface 64a1a7560e Merge branch 'dev' into fix-issue-320 2018-12-29 19:39:05 -05:00
Erwin de Haan 9c1c29325d Added extra extension method that create a new instance of the destination object. 2018-12-30 01:25:42 +01:00
Erwin de Haan de7fcaadb3 Fixed #320 by adding an extension method to BaseItem to make a deep copy of an object. 2018-12-30 01:12:33 +01:00
Bond_009 ab8df3741d Fixes possible NullReferenceException 2018-12-29 17:26:36 +01:00
Flemming Thesbjerg a91a28c408 re-adds wan ip on dashboard by requesting it from http://ipv4.icanhazip.com 2018-12-29 01:48:31 +01:00
Andrew Rabert 9c49e936f0 Merge pull request #288 from Bond-009/toarray
Remove custom ToArray extension
2018-12-28 16:33:42 -05:00
Andrew Rabert c2a6a2119a Disable plugin updates
It would always fail since Jellyfin has no plugin repository to check
against.
2018-12-28 15:57:33 -05:00
Bond_009 6e5d2aadaa Remove custom ToArray extension 2018-12-28 16:48:26 +01:00
Andrew Rabert a86b71899e Add GPL modules 2018-12-27 18:27:57 -05:00
Andrew Rabert 9bac3ac616 Reformat JSON using JQ with sorted keys
cat "$f" | jq -S | sponge "$f"
2018-12-25 12:10:08 -05:00
Bond_009 22093c9e8f Removed some warnings 2018-12-16 00:49:18 +01:00
Joshua M. Boniface 161f0233b5 Merge pull request #181 from Bond-009/firebase
Fix resource load crash
2018-12-15 16:26:11 -05:00
Bond_009 088da6c5e3 Replace Emby with Jellyfin in the translations 2018-12-15 20:13:25 +01:00
Bond_009 7792a9a9af Fix resource load crash 2018-12-15 16:33:20 +01:00
Mathieu Velten 1d7d52ff9e Port MediaEncoding and Api.Playback from 10e57ce8d21b4516733894075001819f3cd6db6b 2018-12-14 17:32:54 +01:00
Bond_009 b4edb24ec3 Change libraries from netcoreapp to netstandard
Ref: https://dotnetcoretutorials.com/2017/01/13/net-standard-vs-net-core-whats-difference/
2018-12-12 21:39:22 +01:00
Bond_009 0a3c8b04f1 Change name to EmbyServer.dll jellyfin.dll
Update and remove deps
2018-12-12 20:06:42 +01:00
Anthony Lavado 71b8602a3d Updates all other emby.media links to repo page 2018-12-11 01:31:08 -05:00
Joshua Boniface 0f1b043dad Change default user name 2018-12-10 23:40:55 -05:00
Andrew Rabert 7c2248727a Remove Emby.Server.Connect 2018-12-10 19:29:51 -05:00
Vasily 149f75f3f4 * Fixed ImageMagick and XmlTv references
* Repplaced IsoMounter binary blob with source (not yet compiling)
2018-11-06 19:24:06 +03:00
Vasily 6bd48ece70 Replaced binary Emby.XmlTv.dll with compiled one 2018-11-06 16:11:11 +03:00
Vasily 6757475311 Now build produces seeminly workable debian package 2018-10-23 00:40:43 +03:00
Vasily 86f6b817fc Replaced mb3admin.com phoning home with a stub mb3admin.local 2018-10-22 02:16:58 +03:00
Joshua Boniface c0953e51b5 Add patches and debian build information for emby-server 2018-10-22 01:56:13 +03:00
stefan 48facb797e Update to 3.5.2 and .net core 2.1 2018-09-12 19:26:21 +02:00
Luke Pulverenti 85815adcd2 update live tv queries 2017-12-05 13:30:49 -05:00
Luke Pulverenti 175c085d90 Stub out new filtering api 2017-12-03 17:15:21 -05:00
Luke Pulverenti 8717f81bf4 Add setting to auto-run web app when server starts 2017-12-03 17:14:35 -05:00
Luke Pulverenti 70b0dd968f Improve support for embedded metadata; support external subtitles with strm files 2017-12-03 17:12:46 -05:00
Luke Pulverenti c4ceeae889 improve xmltv gz support 2017-12-03 17:11:04 -05:00
Luke Pulverenti dec3b1bbb0 improve image processing performance 2017-12-01 12:04:32 -05:00
Luke Pulverenti d7a1a87009 reduce work done by system info endpoints 2017-12-01 12:03:40 -05:00
Luke Pulverenti 5207067811 fix live tv over dlna 2017-11-29 15:50:18 -05:00
Luke Pulverenti 26edcfefbb cache network data longer 2017-11-27 15:16:41 -05:00
Luke Pulverenti d06532c602 update rules for samples 2017-11-27 14:09:51 -05:00
Luke Pulverenti 58a7829ecd update library changed notifier 2017-11-25 23:48:12 -05:00
Luke Pulverenti 4f09c1e06d reduce dlna chatter 2017-11-23 10:46:16 -05:00
Luke Pulverenti 77695f8abe 3.2.40.1 2017-11-21 17:14:56 -05:00
Luke Pulverenti 46be272ec8 fixes #2992 - Dashboard Active Recordings not showing thumbnail 2017-11-20 16:27:49 -05:00
Luke Pulverenti 47d7eaeedb fixes #1225 - Emby creates bogus seasons from subfolderss 2017-11-20 15:08:20 -05:00
Luke Pulverenti 39418b4172 3.2.36.15 2017-11-19 19:20:12 -05:00
Luke Pulverenti 43cb11f694 update shared stream support 2017-11-18 23:59:34 -05:00
Luke Pulverenti 1dc8ff9e91 allow specification of m3u stream limit 2017-11-17 16:54:33 -05:00
Luke Pulverenti b5ab7776f1 3.2.36.11 2017-11-16 16:25:18 -05:00
Luke Pulverenti 2f758676d0 support sharing m3u tuner streams 2017-11-14 02:41:21 -05:00
Luke Pulverenti 351d29954a 3.2.36.8 2017-11-12 16:05:40 -05:00
Luke Pulverenti 711f588084 3.2.36.7 2017-11-10 16:22:38 -05:00
Luke Pulverenti 901d7b509c update play media source feature 2017-11-09 15:58:09 -05:00
Luke Pulverenti 25138bbeb7 update subtitle downloading to use local metadata settings 2017-11-08 15:23:39 -05:00
Luke Pulverenti 83a43121af fix hdhr stream returning too quickly 2017-11-06 16:32:44 -05:00
Luke Pulverenti 5cb7469028 support track selection before playback 2017-11-05 16:51:23 -05:00
Luke Pulverenti b9c1f61681 update support for moviedb urls in nfo files 2017-11-03 14:11:21 -04:00
Luke Pulverenti 0d28929e17 update download progress reporting 2017-11-03 14:11:04 -04:00
Luke Pulverenti 7174ee66d5 allow separate image extractions for each audio book 2017-11-02 12:00:58 -04:00
Luke Pulverenti d765f370b3 update librarymanager 2017-11-01 15:56:20 -04:00
Luke Pulverenti aa83d09fd7 improve search by artists 2017-11-01 15:50:44 -04:00
Luke Pulverenti 47e6530d84 fix file extension being displayed 2017-11-01 15:50:30 -04:00
Luke Pulverenti 0a0303ca64 normalize strm file contents 2017-11-01 15:50:16 -04:00
Luke Pulverenti 1358ea2ca4 update SimpleInjector 2017-10-30 00:55:11 -04:00
Luke Pulverenti 74136371b5 use default transcode temp path when configure one is unreachable 2017-10-30 00:53:10 -04:00