update wdtv live dlna profile
This commit is contained in:
parent
55d82df384
commit
fbb1bb319c
|
@ -125,8 +125,7 @@ namespace Emby.Dlna.Profiles
|
||||||
|
|
||||||
new DirectPlayProfile
|
new DirectPlayProfile
|
||||||
{
|
{
|
||||||
Container = "flac",
|
Container = "flac,ac3",
|
||||||
AudioCodec = "flac",
|
|
||||||
Type = DlnaProfileType.Audio
|
Type = DlnaProfileType.Audio
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
<DirectPlayProfile container="asf" audioCodec="mp2,ac3" videoCodec="mpeg2video" type="Video" />
|
<DirectPlayProfile container="asf" audioCodec="mp2,ac3" videoCodec="mpeg2video" type="Video" />
|
||||||
<DirectPlayProfile container="mp3" audioCodec="mp2,mp3" type="Audio" />
|
<DirectPlayProfile container="mp3" audioCodec="mp2,mp3" type="Audio" />
|
||||||
<DirectPlayProfile container="mp4" audioCodec="mp4" type="Audio" />
|
<DirectPlayProfile container="mp4" audioCodec="mp4" type="Audio" />
|
||||||
<DirectPlayProfile container="flac" audioCodec="flac" type="Audio" />
|
<DirectPlayProfile container="flac,ac3" type="Audio" />
|
||||||
<DirectPlayProfile container="asf" audioCodec="wmav2,wmapro,wmavoice" type="Audio" />
|
<DirectPlayProfile container="asf" audioCodec="wmav2,wmapro,wmavoice" type="Audio" />
|
||||||
<DirectPlayProfile container="ogg" audioCodec="vorbis" type="Audio" />
|
<DirectPlayProfile container="ogg" audioCodec="vorbis" type="Audio" />
|
||||||
<DirectPlayProfile container="jpeg,png,gif,bmp,tiff" type="Photo" />
|
<DirectPlayProfile container="jpeg,png,gif,bmp,tiff" type="Photo" />
|
||||||
|
|
|
@ -2092,13 +2092,6 @@ namespace Emby.Server.Implementations.LiveTv.EmbyTV
|
||||||
writer.WriteElementString("credits", person);
|
writer.WriteElementString("credits", person);
|
||||||
}
|
}
|
||||||
|
|
||||||
var rt = item.GetProviderId(MetadataProviders.RottenTomatoes);
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(rt))
|
|
||||||
{
|
|
||||||
writer.WriteElementString("rottentomatoesid", rt);
|
|
||||||
}
|
|
||||||
|
|
||||||
var tmdbCollection = item.GetProviderId(MetadataProviders.TmdbCollection);
|
var tmdbCollection = item.GetProviderId(MetadataProviders.TmdbCollection);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(tmdbCollection))
|
if (!string.IsNullOrEmpty(tmdbCollection))
|
||||||
|
|
|
@ -365,7 +365,6 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_logger.Info("Live stream info: {0}", _jsonSerializer.SerializeToString(info));
|
|
||||||
Normalize(info, service, isVideo);
|
Normalize(info, service, isVideo);
|
||||||
|
|
||||||
return new Tuple<MediaSourceInfo, IDirectStreamProvider>(info, directStreamProvider);
|
return new Tuple<MediaSourceInfo, IDirectStreamProvider>(info, directStreamProvider);
|
||||||
|
|
|
@ -154,6 +154,7 @@ namespace Emby.Server.Implementations.LiveTv
|
||||||
_logger.ErrorException("Error probing live tv stream", ex);
|
_logger.ErrorException("Error probing live tv stream", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_logger.Info("Live stream info: {0}", _jsonSerializer.SerializeToString(stream));
|
||||||
return new Tuple<MediaSourceInfo, IDirectStreamProvider>(stream, directStreamProvider);
|
return new Tuple<MediaSourceInfo, IDirectStreamProvider>(stream, directStreamProvider);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -24,10 +24,6 @@ namespace MediaBrowser.Model.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
Tvcom = 5,
|
Tvcom = 5,
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The rotten tomatoes
|
|
||||||
/// </summary>
|
|
||||||
RottenTomatoes = 6,
|
|
||||||
/// <summary>
|
|
||||||
/// Tmdb Collection Id
|
/// Tmdb Collection Id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
TmdbCollection = 7,
|
TmdbCollection = 7,
|
||||||
|
|
|
@ -142,7 +142,7 @@ namespace MediaBrowser.Providers.Music
|
||||||
|
|
||||||
if (fileInfo.Exists)
|
if (fileInfo.Exists)
|
||||||
{
|
{
|
||||||
if ((DateTime.UtcNow - _fileSystem.GetLastWriteTimeUtc(fileInfo)).TotalDays <= 7)
|
if ((DateTime.UtcNow - _fileSystem.GetLastWriteTimeUtc(fileInfo)).TotalDays <= 3)
|
||||||
{
|
{
|
||||||
return _cachedTask;
|
return _cachedTask;
|
||||||
}
|
}
|
||||||
|
|
|
@ -579,14 +579,6 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||||
writer.WriteElementString("website", item.HomePageUrl);
|
writer.WriteElementString("website", item.HomePageUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
var rt = item.GetProviderId(MetadataProviders.RottenTomatoes);
|
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(rt))
|
|
||||||
{
|
|
||||||
writer.WriteElementString("rottentomatoesid", rt);
|
|
||||||
writtenProviderIds.Add(MetadataProviders.RottenTomatoes.ToString());
|
|
||||||
}
|
|
||||||
|
|
||||||
var tmdbCollection = item.GetProviderId(MetadataProviders.TmdbCollection);
|
var tmdbCollection = item.GetProviderId(MetadataProviders.TmdbCollection);
|
||||||
|
|
||||||
if (!string.IsNullOrEmpty(tmdbCollection))
|
if (!string.IsNullOrEmpty(tmdbCollection))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user