mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-03 06:18:28 +01:00
remove trailing whitespace
This commit is contained in:
@@ -18,7 +18,7 @@ namespace MediaBrowser.XbmcMetadata.Parsers
|
||||
{
|
||||
public void Fetch(MetadataResult<Episode> item,
|
||||
List<LocalImageInfo> images,
|
||||
string metadataFile,
|
||||
string metadataFile,
|
||||
CancellationToken cancellationToken)
|
||||
{
|
||||
Fetch(item, metadataFile, cancellationToken);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("MediaBrowser.XbmcMetadata")]
|
||||
@@ -13,8 +13,8 @@ using System.Runtime.InteropServices;
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
@@ -24,10 +24,10 @@ using System.Runtime.InteropServices;
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
@@ -41,7 +41,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
protected override void WriteCustomElements(BaseItem item, XmlWriter writer)
|
||||
{
|
||||
var album = (MusicAlbum)item;
|
||||
|
||||
|
||||
foreach (var artist in album.Artists)
|
||||
{
|
||||
writer.WriteElementString("artist", artist);
|
||||
@@ -53,8 +53,8 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
}
|
||||
|
||||
AddTracks(album.Tracks, writer);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
||||
|
||||
private void AddTracks(IEnumerable<BaseItem> tracks, XmlWriter writer)
|
||||
|
||||
@@ -47,7 +47,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
|
||||
writer.WriteElementString("disbanded", artist.EndDate.Value.ToLocalTime().ToString(formatString));
|
||||
}
|
||||
|
||||
|
||||
var albums = artist
|
||||
.GetRecursiveChildren(i => i is MusicAlbum);
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
}
|
||||
|
||||
private readonly CultureInfo UsCulture = new CultureInfo("en-US");
|
||||
|
||||
|
||||
private void AddAlbums(IList<BaseItem> albums, XmlWriter writer)
|
||||
{
|
||||
foreach (var album in albums)
|
||||
|
||||
@@ -58,7 +58,7 @@ namespace MediaBrowser.XbmcMetadata.Savers
|
||||
writer.WriteAttributeString("cache", string.Format("{0}.xml", tvdb));
|
||||
writer.WriteString(string.Format("http://www.thetvdb.com/api/1D62F2F90030C444/series/{0}/all/{1}.zip", tvdb, language));
|
||||
writer.WriteEndElement();
|
||||
|
||||
|
||||
writer.WriteEndElement();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user