diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-07 17:40:03 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-07 17:40:03 -0500 |
| commit | 12757d094b4998be8b56fc51e5199358d819d0da (patch) | |
| tree | 84357422ed918761d2be3e60bce92d978aab805b /MediaBrowser.Controller/Entities/Year.cs | |
| parent | 76658f07977a5857c752dc1266b66f881b454f48 (diff) | |
use music brainz values from audio files with bottom up refresh
Diffstat (limited to 'MediaBrowser.Controller/Entities/Year.cs')
| -rw-r--r-- | MediaBrowser.Controller/Entities/Year.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Entities/Year.cs b/MediaBrowser.Controller/Entities/Year.cs index cd50a1c60..c6ca028ae 100644 --- a/MediaBrowser.Controller/Entities/Year.cs +++ b/MediaBrowser.Controller/Entities/Year.cs @@ -26,5 +26,30 @@ namespace MediaBrowser.Controller.Entities { return "Year-" + Name; } + + /// <summary> + /// Returns the folder containing the item. + /// If the item is a folder, it returns the folder itself + /// </summary> + /// <value>The containing folder path.</value> + public override string ContainingFolderPath + { + get + { + return Path; + } + } + + /// <summary> + /// Gets a value indicating whether this instance is owned item. + /// </summary> + /// <value><c>true</c> if this instance is owned item; otherwise, <c>false</c>.</value> + public override bool IsOwnedItem + { + get + { + return false; + } + } } } |
