3.0.5675.1
This commit is contained in:
parent
b88ac24e6c
commit
c6a64efab7
|
@ -1,4 +1,5 @@
|
|||
using MediaBrowser.Common.Net;
|
||||
using System.Globalization;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Controller.Channels;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
|
@ -191,7 +192,20 @@ namespace MediaBrowser.Providers.Movies
|
|||
var tmdbId = item.GetProviderId(MetadataProviders.Tmdb);
|
||||
var language = item.GetPreferredMetadataLanguage();
|
||||
|
||||
if (string.IsNullOrEmpty(tmdbId))
|
||||
if (string.IsNullOrWhiteSpace(tmdbId))
|
||||
{
|
||||
var imdbId = item.GetProviderId(MetadataProviders.Imdb);
|
||||
if (!string.IsNullOrWhiteSpace(imdbId))
|
||||
{
|
||||
var movieInfo = await MovieDbProvider.Current.FetchMainResult(imdbId, false, language, cancellationToken).ConfigureAwait(false);
|
||||
if (movieInfo != null)
|
||||
{
|
||||
tmdbId = movieInfo.id.ToString(CultureInfo.InvariantCulture);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (string.IsNullOrWhiteSpace(tmdbId))
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
"OptionDetectArchiveFilesAsMedia": "Detect archive files as media",
|
||||
"OptionDetectArchiveFilesAsMediaHelp": "If enabled, files with .rar and .zip extensions will be detected as media files.",
|
||||
"LabelEnterConnectUserName": "Username or email:",
|
||||
"LabelEnterConnectUserNameHelp": "This is your Emby online account username or password.",
|
||||
"LabelEnterConnectUserNameHelp": "This is your Emby online account username or email.",
|
||||
"LabelEnableEnhancedMovies": "Enable enhanced movie displays",
|
||||
"LabelEnableEnhancedMoviesHelp": "When enabled, movies will be displayed as folders to include trailers, extras, cast & crew, and other related content.",
|
||||
"HeaderSyncJobInfo": "Sync Job",
|
||||
|
|
|
@ -317,6 +317,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
|
||||
File.Delete(Path.Combine(path, "thirdparty", "jquerymobile-1.4.5", "jquery.mobile-1.4.5.min.map"));
|
||||
|
||||
Directory.Delete(Path.Combine(path, "bower_components"), true);
|
||||
Directory.Delete(Path.Combine(path, "thirdparty", "viblast"), true);
|
||||
|
||||
// But we do need this
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using System.Reflection;
|
||||
|
||||
//[assembly: AssemblyVersion("3.0.*")]
|
||||
[assembly: AssemblyVersion("3.0.5675.0")]
|
||||
[assembly: AssemblyVersion("3.0.5675.1")]
|
||||
|
|
Loading…
Reference in New Issue
Block a user