Skip to content

Add System.RecordedTV.EpisodeNumber #20

@milesdream

Description

@milesdream

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

I miss ShellProperty EpisodeNumber in ApiCodepack Shell

in StronglyTypedProperties.cs
Add around Line 10623

///


/// Name: System.RecordedTV.EpisodeNumber -- PKEY_RecordedTV_EpisodeName
/// Description: Example: "Nowhere to Hyde"
///
/// Type: String -- VT_LPWSTR (For variants: VT_BSTR)
/// FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 2
///

public ShellProperty<UInt32?> EpisodeNumber
{
get
{
PropertyKey key = SystemProperties.System.Media.EpisodeNumber;

    if (!hashtable.ContainsKey(key))
    {
        hashtable.Add(key, shellObjectParent.Properties.CreateTypedProperty<UInt32?>(key));
    }

    return hashtable[key] as ShellProperty<UInt32?>;
}

}

and in SystemProperties
Line 7940

///


/// Name: System.Media.EpisodeNumber -- PKEY_Media_EpisodeNumber
/// Description: Example: "1"
///
/// Type: UInt32 -- VT_UI4
/// FormatID: {6D748DE2-8D38-4CC3-AC60-F009B057C557}, 2
/// Description System.Media.EpisodeNumber
/// A 1 based monotonically incremented number that corresponds to the episode of the show
///
///

///
public static PropertyKey EpisodeNumber
{
get
{
PropertyKey key = new PropertyKey(new Guid("{64440492-4C8B-11D1-8B70-080036B11A03}"), 100);
return key;
}
}

thanks
[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions