Updates all other emby.media links to repo page
This commit is contained in:
parent
643201278f
commit
71b8602a3d
|
@ -279,7 +279,7 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
||||||
|
|
||||||
public string HomePageUrl
|
public string HomePageUrl
|
||||||
{
|
{
|
||||||
get { return "https://emby.media"; }
|
get { return "https://github.com/jellyfin/jellyfin"; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task RefreshSeriesTimers(CancellationToken cancellationToken, IProgress<double> progress)
|
public async Task RefreshSeriesTimers(CancellationToken cancellationToken, IProgress<double> progress)
|
||||||
|
|
|
@ -82,7 +82,7 @@ namespace Emby.Server.Implementations.News
|
||||||
|
|
||||||
var requestOptions = new HttpRequestOptions
|
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>(),
|
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",
|
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
|
BufferContent = false
|
||||||
|
|
|
@ -287,7 +287,7 @@ namespace MediaBrowser.Providers.Movies
|
||||||
if (!string.IsNullOrEmpty(language))
|
if (!string.IsNullOrEmpty(language))
|
||||||
{
|
{
|
||||||
// They require this to be uppercase
|
// 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('-');
|
var parts = language.Split('-');
|
||||||
|
|
||||||
if (parts.Length == 2)
|
if (parts.Length == 2)
|
||||||
|
@ -301,9 +301,9 @@ namespace MediaBrowser.Providers.Movies
|
||||||
|
|
||||||
public static string AdjustImageLanguage(string imageLanguage, string requestLanguage)
|
public static string AdjustImageLanguage(string imageLanguage, string requestLanguage)
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(imageLanguage)
|
if (!string.IsNullOrEmpty(imageLanguage)
|
||||||
&& !string.IsNullOrEmpty(requestLanguage)
|
&& !string.IsNullOrEmpty(requestLanguage)
|
||||||
&& requestLanguage.Length > 2
|
&& requestLanguage.Length > 2
|
||||||
&& imageLanguage.Length == 2
|
&& imageLanguage.Length == 2
|
||||||
&& requestLanguage.StartsWith(imageLanguage, StringComparison.OrdinalIgnoreCase))
|
&& requestLanguage.StartsWith(imageLanguage, StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
|
|
|
@ -353,7 +353,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(stream.Language))
|
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));
|
writer.WriteElementString("language", RemoveInvalidXMLChars(stream.Language));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -777,7 +777,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
//Logger.Debug("Verifying custom provider tagname {0}", tagName);
|
//Logger.Debug("Verifying custom provider tagname {0}", tagName);
|
||||||
XmlConvert.VerifyName(tagName);
|
XmlConvert.VerifyName(tagName);
|
||||||
//Logger.Debug("Saving custom provider tagname {0}", tagName);
|
//Logger.Debug("Saving custom provider tagname {0}", tagName);
|
||||||
|
|
||||||
writer.WriteElementString(GetTagForProviderKey(providerKey), providerId);
|
writer.WriteElementString(GetTagForProviderKey(providerKey), providerId);
|
||||||
}
|
}
|
||||||
catch (ArgumentException)
|
catch (ArgumentException)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user