Inheritance diagram for IITUserPlaylist:
A user playlist includes both smart and manual user-defined playlists.
Public Member Functions | |
Methods | |
HRESULT | AddFile ([in] BSTR filePath,[out, retval] IITOperationStatus **iStatus) |
Add a file or files inside a folder to the playlist. | |
HRESULT | AddFiles ([in] VARIANT *filePaths,[out, retval] IITOperationStatus **iStatus) |
Add an array of files and/or folders to the playlist. | |
HRESULT | AddURL ([in] BSTR url,[out, retval] IITURLTrack **iURLTrack) |
Add a streaming audio URL to the playlist. | |
HRESULT | AddTrack ([in] VARIANT *iTrackToAdd,[out, retval] IITTrack **iAddedTrack) |
Add an existing track to the playlist. | |
HRESULT | CreatePlaylist ([in] BSTR playlistName,[out, retval] IITPlaylist **iPlaylist) |
Creates a new playlist in a folder playlist. | |
HRESULT | CreateFolder ([in] BSTR folderName,[out, retval] IITPlaylist **iFolder) |
Creates a new folder in a folder playlist. | |
HRESULT | Reveal () |
Reveals the user playlist in the main browser window. | |
Properties | |
HRESULT | Shared ([out, retval] VARIANT_BOOL *isShared) |
Returns true if this playlist is being shared. | |
HRESULT | Shared ([in] VARIANT_BOOL shouldBeShared) |
Control whether this playlist should be shared. | |
HRESULT | Smart ([out, retval] VARIANT_BOOL *isSmart) |
Returns true if this playlist is a smart playlist. | |
HRESULT | SpecialKind ([out, retval] ITUserPlaylistSpecialKind *specialKind) |
Returns the special kind of the playlist. | |
HRESULT | Parent ([out, retval] IITUserPlaylist **iParentPlayList) |
Returns the parent folder of the playlist. If the playlist is not inside a folder, it has no parent. | |
HRESULT | Parent ([in] VARIANT *iParent) |
Sets the parent folder of the playlist. |
|
Add a file or files inside a folder to the playlist. You cannot use this method to add a file that requires conversion to be added (e.g. a CD track), use IiTunes::ConvertFile() or IiTunes::ConvertFile2() instead. If you add a folder that contains files that require conversion, they will be skipped.
|
|
Add an array of files and/or folders to the playlist. You cannot use this method to add a file that requires conversion to be added (e.g. a CD track), use IiTunes::ConvertFile() or IiTunes::ConvertFile2() instead. If you add a folder that contains files that require conversion, they will be skipped.
|
|
Add an existing track to the playlist. You cannot use this method to add a CD track (ITTrackKindCD) to another playlist, use IiTunes::ConvertTrack() or IiTunes::ConvertTrack2() instead. You cannot add a shared library track (ITTrackKindSharedLibrary) to another playlist.
|
|
Add a streaming audio URL to the playlist.
|
|
Creates a new folder in a folder playlist. This playlist must be a folder playlist. If folderName is NULL or empty, the folder will be created with a default name.
|
|
Creates a new playlist in a folder playlist. This playlist must be a folder playlist. If playlistName is NULL or empty, the playlist will be created with a default name.
|
|
Sets the parent folder of the playlist. iParent is a VARIANT of type VT_DISPATCH that points to a folder IITUserPlaylist. Specifying an empty or NULL iParent will move the playlist outside of all folders.
|
|
Returns the parent folder of the playlist. If the playlist is not inside a folder, it has no parent.
|
|
Reveals the user playlist in the main browser window.
|
|
Control whether this playlist should be shared.
|
|
Returns true if this playlist is being shared.
|
|
Returns true if this playlist is a smart playlist. Note that smart playlists cannot be modified.
|
|
Returns the special kind of the playlist.
|