Updates all other emby.media links to repo page

This commit is contained in:
Anthony Lavado 2018-12-11 01:31:08 -05:00
parent 643201278f
commit 71b8602a3d
4 changed files with 8 additions and 8 deletions

View File

@ -279,7 +279,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
public string HomePageUrl
{
get { return "https://emby.media"; }
get { return "https://github.com/jellyfin/jellyfin"; }
}
public async Task RefreshSeriesTimers(CancellationToken cancellationToken, IProgress<double> progress)

View File

@ -82,7 +82,7 @@ namespace Emby.Server.Implementations.News
var requestOptions = new HttpRequestOptions
{
Url = "https://emby.media/community/index.php?/blog/rss/1-media-browser-developers-blog",
Url = "https://github.com/jellyfin/jellyfin",
Progress = new SimpleProgress<double>(),
UserAgent = "Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.42 Safari/537.36",
BufferContent = false

View File

@ -287,7 +287,7 @@ namespace MediaBrowser.Providers.Movies
if (!string.IsNullOrEmpty(language))
{
// They require this to be uppercase
// https://emby.media/community/index.php?/topic/32454-fr-follow-tmdbs-new-language-api-update/?p=311148
// /community/index.php?/topic/32454-fr-follow-tmdbs-new-language-api-update/?p=311148
var parts = language.Split('-');
if (parts.Length == 2)
@ -301,9 +301,9 @@ namespace MediaBrowser.Providers.Movies
public static string AdjustImageLanguage(string imageLanguage, string requestLanguage)
{
if (!string.IsNullOrEmpty(imageLanguage)
&& !string.IsNullOrEmpty(requestLanguage)
&& requestLanguage.Length > 2
if (!string.IsNullOrEmpty(imageLanguage)
&& !string.IsNullOrEmpty(requestLanguage)
&& requestLanguage.Length > 2
&& imageLanguage.Length == 2
&& requestLanguage.StartsWith(imageLanguage, StringComparison.OrdinalIgnoreCase))
{

View File

@ -353,7 +353,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
if (!string.IsNullOrEmpty(stream.Language))
{
// https://emby.media/community/index.php?/topic/49071-nfo-not-generated-on-actualize-or-rescan-or-identify
// /community/index.php?/topic/49071-nfo-not-generated-on-actualize-or-rescan-or-identify
writer.WriteElementString("language", RemoveInvalidXMLChars(stream.Language));
}
@ -777,7 +777,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
//Logger.Debug("Verifying custom provider tagname {0}", tagName);
XmlConvert.VerifyName(tagName);
//Logger.Debug("Saving custom provider tagname {0}", tagName);
writer.WriteElementString(GetTagForProviderKey(providerKey), providerId);
}
catch (ArgumentException)