INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: MJPlaylistAutomation.Set() - Documentation for available properties?  (Read 1710 times)

cncb

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 3090

Is there some documentation for the available properties that can be set for MJPlaylistAutomation?  Is there one available that is a "search string" such that we can create a smartlist via the automation interface?  Thanks.
Logged
-Craig    MO 4Media remote and player:  Android/TV/Auto | iOS | Windows 10/UWP

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42323
  • Shoes gone again!
Re: MJPlaylistAutomation.Set() - Documentation for available properties?
« Reply #1 on: August 04, 2008, 09:28:54 am »

You're pretty much on your own with this one, but here are the defines:

Code: [Select]
/************************************************************************************
Playlist ID
************************************************************************************/
#define PLAYLIST_ID_UNDEFINED 0
#define PLAYLIST_ID_SYSTEM_BASE -1000
#define PLAYLIST_ID_SYSTEM_MAX -1999
#define PLAYLIST_ID_FLAVOR_BASE -2000

#define PLAYLIST_ID_SYSTEM_TOP_HITS (PLAYLIST_ID_SYSTEM_BASE - 1)
#define PLAYLIST_ID_SYSTEM_RECENTLY_PLAYED (PLAYLIST_ID_SYSTEM_BASE - 2)
#define PLAYLIST_ID_SYSTEM_RECENTLY_IMPORTED (PLAYLIST_ID_SYSTEM_BASE - 3)
#define PLAYLIST_ID_SYSTEM_RECENTLY_RIPPED (PLAYLIST_ID_SYSTEM_BASE - 4)
#define PLAYLIST_ID_SYSTEM_PURCHASED (PLAYLIST_ID_SYSTEM_BASE - 5)

/************************************************************************************
Playlist types
************************************************************************************/
enum PLAYLIST_TYPES
{
PLAYLIST,
PLAYLIST_GROUP,
SMARTLIST,
SERVICELIST,
};

/************************************************************************************
Playlist properties
************************************************************************************/
#define PP_TYPE _T("Type")
#define PP_SUBTYPE _T("SubType")
#define PP_SUBTYPE_DATA _T("SubType Data")
#define PP_HIDDEN _T("Hidden")
#define PP_SYSTEM _T("System")
#define PP_READ_ONLY _T("Read Only")
#define PP_NOTES _T("Notes")
#define PP_IMAGE _T("Image")
#define PP_SEARCH _T("Search")
#define PP_DATE_CREATED _T("Date Created")
#define PP_DATE_UPDATED _T("Date Updated")
#define PP_SERVICE_NAME _T("Service Name")
#define PP_SERVICE_ID _T("Service ID")
#define PP_SERVICE_DATA _T("Service Data")
#define PP_SMALL_ICON_NAME _T("Small Icon Name")
#define PP_DEFAULT_SMARTLIST_VERSION _T("Default Smartlist Version")
#define PP_SHARED _T("Shared")
#define PP_EXTERNAL_FILE _T("External Filename")
Logged
Matt Ashland, JRiver Media Center
Pages: [1]   Go Up