mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
Merge pull request #332 from bfayers/replace-embymedia-with-jellyfinmedia
Replace all emby.media links with jellyfin.media links
This commit is contained in:
commit
7ad0231430
3 changed files with 5 additions and 3 deletions
|
@ -137,7 +137,7 @@ namespace Emby.Notifications
|
||||||
|
|
||||||
var notification = new NotificationRequest
|
var notification = new NotificationRequest
|
||||||
{
|
{
|
||||||
Description = "Please see emby.media for details.",
|
Description = "Please see jellyfin.media for details.",
|
||||||
NotificationType = type,
|
NotificationType = type,
|
||||||
Name = _localization.GetLocalizedString("NewVersionIsAvailable")
|
Name = _localization.GetLocalizedString("NewVersionIsAvailable")
|
||||||
};
|
};
|
||||||
|
|
|
@ -287,7 +287,8 @@ 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
|
// Everything after the hyphen must be written in uppercase due to a way TMDB wrote their api.
|
||||||
|
// See here: https://www.themoviedb.org/talk/5119221d760ee36c642af4ad?page=3#56e372a0c3a3685a9e0019ab
|
||||||
var parts = language.Split('-');
|
var parts = language.Split('-');
|
||||||
|
|
||||||
if (parts.Length == 2)
|
if (parts.Length == 2)
|
||||||
|
|
|
@ -353,7 +353,8 @@ 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
|
// http://web.archive.org/web/20181230211547/https://emby.media/community/index.php?/topic/49071-nfo-not-generated-on-actualize-or-rescan-or-identify
|
||||||
|
// Web Archive version of link since it's not really explained in the thread.
|
||||||
writer.WriteElementString("language", RemoveInvalidXMLChars(stream.Language));
|
writer.WriteElementString("language", RemoveInvalidXMLChars(stream.Language));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue