diff --git a/.classpath b/.classpath index c73f929..54ac616 100644 --- a/.classpath +++ b/.classpath @@ -3,5 +3,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore index 9ea514b..603bb3c 100644 --- a/.gitignore +++ b/.gitignore @@ -3,9 +3,9 @@ *.jar *.war *.ear +.classpath /bin build.properties -.classpath userdata/ logs/ cache/ diff --git a/build.xml b/build.xml index 52a49ad..46f45c2 100644 --- a/build.xml +++ b/build.xml @@ -29,7 +29,7 @@ - + @@ -269,6 +269,9 @@ configure(); ]]> + + + diff --git a/src/main/java/phoenix/api.java b/src/main/java/phoenix/api.java index 3373947..e250ea2 100644 --- a/src/main/java/phoenix/api.java +++ b/src/main/java/phoenix/api.java @@ -7,12 +7,12 @@ import sagex.phoenix.vfs.IMediaFile; /** - * + * * phoenix class is a STV adapter class. It is meant to proxy the "real" api to * allow an easy way for the stv to call core api methods. - * + * * == THIS IS AN AUTOGENERATED FILE - DO NOT EDIT == - * + * * @see phoenix.impl.ConfigurationAPI * @see phoenix.impl.DynamicMenusAPI * @see phoenix.impl.FanartAPI @@ -36,2482 +36,3817 @@ */ @Deprecated public final class api { -private static final Logger log = Logger.getLogger("phoenix.api"); -public static String GetVersion() { - return "2.0.4.1"; -} -public static String GetRequiredSageVersion() { - return "7.0.11"; -} -public static String GetRequiredSagexApiVersion() { - return "7.0.11.0"; -} + private static final Logger log = Logger.getLogger("phoenix.api"); + + public static String GetVersion() { + return "2.0.4.1"; + } + + public static String GetRequiredSageVersion() { + return "7.0.11"; + } + + public static String GetRequiredSagexApiVersion() { + return "7.0.11.0"; + } + + private static final phoenix.impl.ConfigurationAPI CONFIGURATIONAPI = new phoenix.impl.ConfigurationAPI(); + + /** + * {@link phoenix.impl.ConfigurationAPI#GetProperty} + */ + public static java.lang.String GetProperty(java.lang.String arg0, java.lang.String arg1) { + return CONFIGURATIONAPI.GetProperty(arg0, arg1); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetProperty} + */ + public static java.lang.Object GetProperty(java.lang.Object arg0) { + return CONFIGURATIONAPI.GetProperty(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetServerProperty} + */ + public static java.lang.String GetServerProperty(java.lang.String arg0, java.lang.String arg1) { + return CONFIGURATIONAPI.GetServerProperty(arg0, arg1); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetServerProperty} + */ + public static java.lang.Object GetServerProperty(java.lang.Object arg0) { + return CONFIGURATIONAPI.GetServerProperty(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetUserProperty} + */ + public static java.lang.Object GetUserProperty(java.lang.String arg0, java.lang.Object arg1) { + return CONFIGURATIONAPI.GetUserProperty(arg0, arg1); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetUserProperty} + */ + public static java.lang.Object GetUserProperty(java.lang.Object arg0) { + return CONFIGURATIONAPI.GetUserProperty(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationGroups} + */ + public static sagex.phoenix.configuration.IConfigurationElement[] GetConfigurationGroups() { + return CONFIGURATIONAPI.GetConfigurationGroups(); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationRoot} + */ + public static sagex.phoenix.configuration.Group GetConfigurationRoot() { + return CONFIGURATIONAPI.GetConfigurationRoot(); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfiguration} + */ + public static sagex.phoenix.configuration.Group GetConfiguration(java.lang.String arg0) { + return CONFIGURATIONAPI.GetConfiguration(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationParent} + */ + public static sagex.phoenix.configuration.Group GetConfigurationParent(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.GetConfigurationParent(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationChildren} + */ + public static sagex.phoenix.configuration.IConfigurationElement[] GetConfigurationChildren( + sagex.phoenix.configuration.Group arg0) { + return CONFIGURATIONAPI.GetConfigurationChildren(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#IsConfigurationGroup} + */ + public static boolean IsConfigurationGroup(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.IsConfigurationGroup(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#IsConfigurationApplication} + */ + public static boolean IsConfigurationApplication(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.IsConfigurationApplication(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#IsConfigurationField} + */ + public static boolean IsConfigurationField(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.IsConfigurationField(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationLabel} + */ + public static java.lang.String GetConfigurationLabel(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.GetConfigurationLabel(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationDescription} + */ + public static java.lang.String GetConfigurationDescription(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.GetConfigurationDescription(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationFieldType} + */ + public static java.lang.String GetConfigurationFieldType(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.GetConfigurationFieldType(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationDefaultValue} + */ + public static java.lang.String GetConfigurationDefaultValue(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.GetConfigurationDefaultValue(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#GetConfigurationKey} + */ + public static java.lang.String GetConfigurationKey(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.GetConfigurationKey(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#ReloadConfiguration} + */ + public static void ReloadConfiguration() { + CONFIGURATIONAPI.ReloadConfiguration(); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#IsConfigurationNewSearchButton} + */ + public static boolean IsConfigurationNewSearchButton(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.IsConfigurationNewSearchButton(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#IsConfigurationSearchResult} + */ + public static boolean IsConfigurationSearchResult(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.IsConfigurationSearchResult(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#UpdateConfigurationSearch} + */ + public static void UpdateConfigurationSearch(java.lang.String arg0, sagex.phoenix.configuration.IConfigurationElement arg1) { + CONFIGURATIONAPI.UpdateConfigurationSearch(arg0, arg1); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#AddConfigurationSearch} + */ + public static sagex.phoenix.configuration.Group AddConfigurationSearch(java.lang.String arg0) { + return CONFIGURATIONAPI.AddConfigurationSearch(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#RemoveConfigurationSearch} + */ + public static void RemoveConfigurationSearch(sagex.phoenix.configuration.IConfigurationElement arg0) { + CONFIGURATIONAPI.RemoveConfigurationSearch(arg0); + } + + /** + * {@link phoenix.impl.ConfigurationAPI#HasConfigurationChildren} + */ + public static boolean HasConfigurationChildren(sagex.phoenix.configuration.IConfigurationElement arg0) { + return CONFIGURATIONAPI.HasConfigurationChildren(arg0); + } + + private static final phoenix.impl.DynamicMenusAPI DYNAMICMENUSAPI = new phoenix.impl.DynamicMenusAPI(); + + /** + * {@link phoenix.impl.DynamicMenusAPI#GetMenu} + */ + public static sagex.phoenix.menu.Menu GetMenu(java.lang.Object arg0) { + return DYNAMICMENUSAPI.GetMenu(arg0); + } + + /** + * {@link phoenix.impl.DynamicMenusAPI#ReloadMenus} + */ + public static void ReloadMenus() { + DYNAMICMENUSAPI.ReloadMenus(); + } + + /** + * {@link phoenix.impl.DynamicMenusAPI#IsMenu} + */ + public static boolean IsMenu(java.lang.Object arg0) { + return DYNAMICMENUSAPI.IsMenu(arg0); + } + + /** + * {@link phoenix.impl.DynamicMenusAPI#GetLinkedMenu} + */ + public static sagex.phoenix.menu.Menu GetLinkedMenu(sagex.phoenix.menu.IMenuItem arg0) { + return DYNAMICMENUSAPI.GetLinkedMenu(arg0); + } + + private static final phoenix.impl.FanartAPI FANARTAPI = new phoenix.impl.FanartAPI(); + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBackground} + */ + public static java.lang.String GetFanartBackground(java.lang.Object arg0) { + return FANARTAPI.GetFanartBackground(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBackgrounds} + */ + public static java.lang.String[] GetFanartBackgrounds(java.lang.Object arg0) { + return FANARTAPI.GetFanartBackgrounds(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBanner} + */ + public static java.lang.String GetFanartBanner(java.lang.Object arg0) { + return FANARTAPI.GetFanartBanner(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBanners} + */ + public static java.lang.String[] GetFanartBanners(java.lang.Object arg0) { + return FANARTAPI.GetFanartBanners(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartPoster} + */ + public static java.lang.String GetFanartPoster(java.lang.Object arg0) { + return FANARTAPI.GetFanartPoster(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartGenre} + */ + public static java.lang.String GetFanartGenre(java.lang.String arg0, java.lang.String arg1) { + return FANARTAPI.GetFanartGenre(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartGenrePath} + */ + public static java.lang.String GetFanartGenrePath(java.lang.String arg0, java.lang.String arg1) { + return FANARTAPI.GetFanartGenrePath(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartGenres} + */ + public static java.lang.String[] GetFanartGenres(java.lang.String arg0, java.lang.String arg1) { + return FANARTAPI.GetFanartGenres(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartActor} + */ + public static java.lang.String GetFanartActor(java.lang.String arg0) { + return FANARTAPI.GetFanartActor(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartActorPath} + */ + public static java.lang.String GetFanartActorPath(java.lang.String arg0) { + return FANARTAPI.GetFanartActorPath(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartActors} + */ + public static java.lang.String[] GetFanartActors(java.lang.String arg0) { + return FANARTAPI.GetFanartActors(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartPosters} + */ + public static java.lang.String[] GetFanartPosters(java.lang.Object arg0) { + return FANARTAPI.GetFanartPosters(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#IsFanartEnabled} + */ + public static boolean IsFanartEnabled() { + return FANARTAPI.IsFanartEnabled(); + } + + /** + * {@link phoenix.impl.FanartAPI#SetIsFanartEnabled} + */ + public static void SetIsFanartEnabled(boolean arg0) { + FANARTAPI.SetIsFanartEnabled(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartCentralFolder} + */ + public static java.lang.String GetFanartCentralFolder() { + return FANARTAPI.GetFanartCentralFolder(); + } + + /** + * {@link phoenix.impl.FanartAPI#SetFanartCentralFolder} + */ + public static void SetFanartCentralFolder(java.lang.Object arg0) { + FANARTAPI.SetFanartCentralFolder(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#SetFanartBackground} + */ + public static void SetFanartBackground(java.lang.Object arg0, java.lang.Object arg1) { + FANARTAPI.SetFanartBackground(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#SetFanartBanner} + */ + public static void SetFanartBanner(java.lang.Object arg0, java.lang.Object arg1) { + FANARTAPI.SetFanartBanner(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#SetFanartPoster} + */ + public static void SetFanartPoster(java.lang.Object arg0, java.lang.Object arg1) { + FANARTAPI.SetFanartPoster(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#HasFanartPoster} + */ + public static boolean HasFanartPoster(java.lang.Object arg0) { + return FANARTAPI.HasFanartPoster(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#HasFanartBackground} + */ + public static boolean HasFanartBackground(java.lang.Object arg0) { + return FANARTAPI.HasFanartBackground(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#HasFanartBanner} + */ + public static boolean HasFanartBanner(java.lang.Object arg0) { + return FANARTAPI.HasFanartBanner(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#IsMissingFanart} + */ + public static boolean IsMissingFanart(java.lang.Object arg0) { + return FANARTAPI.IsMissingFanart(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBackgroundPath} + */ + public static java.lang.String GetFanartBackgroundPath(java.lang.Object arg0) { + return FANARTAPI.GetFanartBackgroundPath(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBackgroundPath} + */ + public static java.lang.String GetFanartBackgroundPath(java.lang.Object arg0, boolean arg1) { + return FANARTAPI.GetFanartBackgroundPath(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBannerPath} + */ + public static java.lang.String GetFanartBannerPath(java.lang.Object arg0) { + return FANARTAPI.GetFanartBannerPath(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartBannerPath} + */ + public static java.lang.String GetFanartBannerPath(java.lang.Object arg0, boolean arg1) { + return FANARTAPI.GetFanartBannerPath(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartPosterPath} + */ + public static java.lang.String GetFanartPosterPath(java.lang.Object arg0) { + return FANARTAPI.GetFanartPosterPath(arg0); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartPosterPath} + */ + public static java.lang.String GetFanartPosterPath(java.lang.Object arg0, boolean arg1) { + return FANARTAPI.GetFanartPosterPath(arg0, arg1); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartArtifacts} + */ + public static java.lang.String[] GetFanartArtifacts(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, + java.lang.String arg3, java.lang.String arg4, java.util.Map arg5) { + return FANARTAPI.GetFanartArtifacts(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartArtifact} + */ + public static java.lang.String GetFanartArtifact(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, + java.lang.String arg3, java.lang.String arg4, java.util.Map arg5) { + return FANARTAPI.GetFanartArtifact(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartArtifactDir} + */ + public static java.lang.String GetFanartArtifactDir(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, + java.lang.String arg3, java.lang.String arg4, java.util.Map arg5, boolean arg6) { + return FANARTAPI.GetFanartArtifactDir(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * {@link phoenix.impl.FanartAPI#GetFanartArtifactDir} + */ + public static java.lang.String GetFanartArtifactDir(java.lang.Object arg0, sagex.phoenix.metadata.MediaType arg1, + java.lang.String arg2, sagex.phoenix.metadata.MediaArtifactType arg3, java.lang.String arg4, java.util.Map arg5, + boolean arg6) { + return FANARTAPI.GetFanartArtifactDir(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** + * {@link phoenix.impl.FanartAPI#SetFanartArtifact} + */ + public static void SetFanartArtifact(java.lang.Object arg0, java.io.File arg1, java.lang.String arg2, java.lang.String arg3, + java.lang.String arg4, java.lang.String arg5, java.util.Map arg6) { + FANARTAPI.SetFanartArtifact(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + private static final phoenix.impl.ImageAPI IMAGEAPI = new phoenix.impl.ImageAPI(); + + /** + * {@link phoenix.impl.ImageAPI#LoadImages} + */ + public static void LoadImages(java.lang.Object arg0) { + IMAGEAPI.LoadImages(arg0); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateScaledImages} + */ + public static void CreateScaledImages(java.lang.Object arg0, int arg1, int arg2) { + IMAGEAPI.CreateScaledImages(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateImages} + */ + public static void CreateImages(java.lang.String arg0, java.lang.Object arg1, java.lang.String arg2, boolean arg3) { + IMAGEAPI.CreateImages(arg0, arg1, arg2, arg3); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateImage} + */ + public static java.lang.Object CreateImage(java.lang.String arg0, java.lang.String arg1, java.lang.Object arg2, + java.lang.String arg3, boolean arg4) { + return IMAGEAPI.CreateImage(arg0, arg1, arg2, arg3, arg4); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateImage} + */ + public static java.lang.Object CreateImage(java.lang.Object arg0, java.lang.String arg1, boolean arg2) { + return IMAGEAPI.CreateImage(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateImage} + */ + public static java.lang.Object CreateImage(java.lang.String arg0, java.lang.Object arg1, java.lang.String arg2, boolean arg3) { + return IMAGEAPI.CreateImage(arg0, arg1, arg2, arg3); + } + + /** + * {@link phoenix.impl.ImageAPI#GetImage} + */ + public static java.lang.Object GetImage(java.lang.Object arg0, java.lang.String arg1) { + return IMAGEAPI.GetImage(arg0, arg1); + } + + /** + * {@link phoenix.impl.ImageAPI#GetImage} + */ + public static java.lang.Object GetImage(java.lang.String arg0, java.lang.String arg1) { + return IMAGEAPI.GetImage(arg0, arg1); + } + + /** + * {@link phoenix.impl.ImageAPI#RegisterImageTransform} + */ + public static void RegisterImageTransform(java.lang.String arg0) { + IMAGEAPI.RegisterImageTransform(arg0); + } + + /** + * {@link phoenix.impl.ImageAPI#RegisterImageTransform} + */ + public static void RegisterImageTransform(java.lang.String arg0, java.lang.String arg1) { + IMAGEAPI.RegisterImageTransform(arg0, arg1); + } + + /** + * {@link phoenix.impl.ImageAPI#RegisterImage} + */ + public static void RegisterImage(java.lang.String arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.String arg3, + boolean arg4) { + IMAGEAPI.RegisterImage(arg0, arg1, arg2, arg3, arg4); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateScaledImage} + */ + public static java.lang.Object CreateScaledImage(java.lang.Object arg0, int arg1, int arg2) { + return IMAGEAPI.CreateScaledImage(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateJustReflection} + */ + public static java.lang.Object CreateJustReflection(java.lang.Object arg0, float arg1, float arg2) { + return IMAGEAPI.CreateJustReflection(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateReflection} + */ + public static java.lang.Object CreateReflection(java.lang.Object arg0, float arg1, float arg2) { + return IMAGEAPI.CreateReflection(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateReflection} + */ + public static java.lang.Object CreateReflection(java.lang.Object arg0) { + return IMAGEAPI.CreateReflection(arg0); + } + + /** + * {@link phoenix.impl.ImageAPI#CreatePerspective} + */ + public static java.lang.Object CreatePerspective(java.lang.Object arg0, double arg1, double arg2) { + return IMAGEAPI.CreatePerspective(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateRotatedImage} + */ + public static java.lang.Object CreateRotatedImage(java.lang.Object arg0, double arg1) { + return IMAGEAPI.CreateRotatedImage(arg0, arg1); + } + + /** + * {@link phoenix.impl.ImageAPI#CreateGradientFill} + */ + public static java.lang.Object CreateGradientFill(java.lang.String arg0, int arg1, int arg2, float arg3, float arg4) { + return IMAGEAPI.CreateGradientFill(arg0, arg1, arg2, arg3, arg4); + } + + private static final phoenix.impl.MediaAPI MEDIAAPI = new phoenix.impl.MediaAPI(); + + /** + * {@link phoenix.impl.MediaAPI#GetSageMediaFile} + */ + public static java.lang.Object GetSageMediaFile(java.lang.Object arg0) { + return MEDIAAPI.GetSageMediaFile(arg0); + } + + /** + * {@link phoenix.impl.MediaAPI#getFileSystemMediaFile} + */ + public static java.io.File GetFileSystemMediaFile(java.lang.Object arg0) { + return MEDIAAPI.getFileSystemMediaFile(arg0); + } + + /** + * {@link phoenix.impl.MediaAPI#GetMediaResource} + */ + public static sagex.phoenix.vfs.IMediaResource GetMediaResource(java.lang.Object arg0) { + return MEDIAAPI.GetMediaResource(arg0); + } + + /** + * {@link phoenix.impl.MediaAPI#GetMediaFile} + */ + public static sagex.phoenix.vfs.IMediaFile GetMediaFile(java.lang.Object arg0) { + return MEDIAAPI.GetMediaFile(arg0); + } + + /** + * {@link phoenix.impl.MediaAPI#GetAlbum} + */ + public static sagex.phoenix.vfs.IAlbumInfo GetAlbum(java.lang.Object arg0) { + return MEDIAAPI.GetAlbum(arg0); + } + + /** + * {@link phoenix.impl.MediaAPI#IsMediaType} + */ + public static boolean IsMediaType(java.lang.Object arg0, java.lang.String arg1) { + return MEDIAAPI.IsMediaType(arg0, arg1); + } + + private static final phoenix.impl.MediaBrowserAPI MEDIABROWSERAPI = new phoenix.impl.MediaBrowserAPI(); + + /** + * {@link phoenix.impl.MediaBrowserAPI#GetMediaAsFolder} + */ + public static sagex.phoenix.vfs.IMediaFolder GetMediaAsFolder(java.lang.Object[] arg0, java.lang.String arg1) { + return MEDIABROWSERAPI.GetMediaAsFolder(arg0, arg1); + } + + /** + * {@link phoenix.impl.MediaBrowserAPI#GetSageMediaFiles} + */ + public static sagex.phoenix.vfs.IMediaFolder GetSageMediaFiles(java.lang.String arg0, java.lang.String arg1) { + return MEDIABROWSERAPI.GetSageMediaFiles(arg0, arg1); + } + + /** + * {@link phoenix.impl.MediaBrowserAPI#CreateView} + */ + public static sagex.phoenix.vfs.views.ViewFolder CreateView(java.lang.String arg0, java.lang.Object arg1) { + return MEDIABROWSERAPI.CreateView(arg0, arg1); + } + + /** + * {@link phoenix.impl.MediaBrowserAPI#IsPlayable} + */ + public static boolean IsPlayable(java.lang.Object arg0) { + return MEDIABROWSERAPI.IsPlayable(arg0); + } + + /** + * {@link phoenix.impl.MediaBrowserAPI#GetSageSourcesMediaFolder} + */ + public static sagex.phoenix.vfs.IMediaFolder GetSageSourcesMediaFolder(boolean arg0, java.lang.String arg1) { + return MEDIABROWSERAPI.GetSageSourcesMediaFolder(arg0, arg1); + } + + /** + * {@link phoenix.impl.MediaBrowserAPI#ReloadViews} + */ + public static void ReloadViews() { + MEDIABROWSERAPI.ReloadViews(); + } + + private static final phoenix.impl.MediaMetadataAPI MEDIAMETADATAAPI = new phoenix.impl.MediaMetadataAPI(); + + /** + * {@link phoenix.impl.MediaMetadataAPI#StartMetadataScan} + */ + public static java.lang.Object StartMetadataScan(java.lang.Object arg0, java.lang.Object arg1) { + return MEDIAMETADATAAPI.StartMetadataScan(arg0, arg1); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#IsMetadataScanRunning} + */ + public static boolean IsMetadataScanRunning(java.lang.Object arg0) { + return MEDIAMETADATAAPI.IsMetadataScanRunning(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataScanComplete} + */ + public static float GetMetadataScanComplete(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataScanComplete(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#CancelMetadataScan} + */ + public static boolean CancelMetadataScan(java.lang.Object arg0) { + return MEDIAMETADATAAPI.CancelMetadataScan(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResults} + */ + public static sagex.phoenix.metadata.IMetadataSearchResult[] GetMetadataSearchResults(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataSearchResults(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResults} + */ + public static sagex.phoenix.metadata.IMetadataSearchResult[] GetMetadataSearchResults(java.lang.Object arg0, + java.lang.String arg1, java.lang.String arg2) { + return MEDIAMETADATAAPI.GetMetadataSearchResults(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultTitle} + */ + public static java.lang.String GetMetadataSearchResultTitle(sagex.phoenix.metadata.IMetadataSearchResult arg0) { + return MEDIAMETADATAAPI.GetMetadataSearchResultTitle(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultScore} + */ + public static float GetMetadataSearchResultScore(sagex.phoenix.metadata.IMetadataSearchResult arg0) { + return MEDIAMETADATAAPI.GetMetadataSearchResultScore(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultYear} + */ + public static java.lang.String GetMetadataSearchResultYear(sagex.phoenix.metadata.IMetadataSearchResult arg0) { + return MEDIAMETADATAAPI.GetMetadataSearchResultYear(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultProviderId} + */ + public static java.lang.String GetMetadataSearchResultProviderId(sagex.phoenix.metadata.IMetadataSearchResult arg0) { + return MEDIAMETADATAAPI.GetMetadataSearchResultProviderId(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#UpdateMediaFileMetadata} + */ + public static void UpdateMediaFileMetadata(java.lang.Object arg0, sagex.phoenix.metadata.IMetadataSearchResult arg1) { + MEDIAMETADATAAPI.UpdateMediaFileMetadata(arg0, arg1); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#UpdateMediaFileMetadata} + */ + public static void UpdateMediaFileMetadata(java.lang.Object arg0, sagex.phoenix.metadata.IMetadataSearchResult arg1, + boolean arg2, java.lang.Object arg3) { + MEDIAMETADATAAPI.UpdateMediaFileMetadata(arg0, arg1, arg2, arg3); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataProgressFailedCount} + */ + public static int GetMetadataProgressFailedCount(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataProgressFailedCount(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataProgressSuccessCount} + */ + public static int GetMetadataProgressSuccessCount(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataProgressSuccessCount(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataProgressSkippedCount} + */ + public static int GetMetadataProgressSkippedCount(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataProgressSkippedCount(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataFailedItems} + */ + public static java.lang.Object[] GetMetadataFailedItems(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataFailedItems(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSuccessItems} + */ + public static java.lang.Object[] GetMetadataSuccessItems(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataSuccessItems(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSkippedItems} + */ + public static java.lang.Object[] GetMetadataSkippedItems(java.lang.Object arg0) { + return MEDIAMETADATAAPI.GetMetadataSkippedItems(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetMetadata} + */ + public static sagex.phoenix.metadata.IMetadata GetMetadata(java.lang.Object mediaFile) { + if (mediaFile instanceof IMetadata) + return (IMetadata) mediaFile; + if (mediaFile instanceof IMediaFile) + return ((IMediaFile) mediaFile).getMetadata(); + IMediaFile mf = phoenix.api.GetMediaFile(mediaFile); + if (mf != null) { + return mf.getMetadata(); + } + log.warn("GetMetadata(): Unhandled FileType: " + mediaFile); + return null; + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#GetCastMember} + */ + public static sagex.phoenix.metadata.ICastMember GetCastMember(java.lang.Object arg0) { + return MEDIAAPI.GetCastMember(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#ClearCustomMetadata} + */ + public static void ClearCustomMetadata(java.lang.Object arg0) { + MEDIAAPI.ClearCustomMetadata(arg0); + } + + /** + * {@link phoenix.impl.MediaMetadataAPI#getMetadataScanTrackers} + */ + public static java.lang.Object[] GetMetadataScanTrackers() { + return MEDIAMETADATAAPI.getMetadataScanTrackers(); + } + + private static final phoenix.impl.SkinAPI SKINAPI = new phoenix.impl.SkinAPI(); + + /** + * {@link phoenix.impl.SkinAPI#CreateSkin} + */ + public static ISkin CreateSkin(java.lang.String arg0, java.lang.String arg1, java.lang.Object arg2) { + return SKINAPI.CreateSkin(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.SkinAPI#DeleteSkin} + */ + public static void DeleteSkin(java.lang.Object arg0) { + SKINAPI.DeleteSkin(arg0); + } + + /** + * {@link phoenix.impl.SkinAPI#GetSkins} + */ + public static ISkin[] GetSkins() { + return SKINAPI.GetSkins(); + } + + /** + * {@link phoenix.impl.SkinAPI#StartSkin} + */ + public static boolean StartSkin(ISkin arg0) { + return SKINAPI.StartSkin(arg0); + } + + /** + * {@link phoenix.impl.SkinAPI#StopSkin} + */ + public static boolean StopSkin(ISkin arg0) { + return SKINAPI.StopSkin(arg0); + } + + /** + * {@link phoenix.impl.SkinAPI#GetSkinResource} + */ + public static java.io.File GetSkinResource(java.lang.Object arg0, java.lang.String arg1) { + return SKINAPI.GetSkinResource(arg0, arg1); + } + + /** + * {@link phoenix.impl.SkinAPI#FindSkin} + */ + public static ISkin FindSkin(java.lang.Object arg0) { + return SKINAPI.FindSkin(arg0); + } + + /** + * {@link phoenix.impl.SkinAPI#LoadSkin} + */ + public static void LoadSkin(java.lang.String arg0, java.lang.Object arg1) { + SKINAPI.LoadSkin(arg0, arg1); + } + + /** + * {@link phoenix.impl.SkinAPI#GetSkinProperty} + */ + public static java.lang.Object GetSkinProperty(java.lang.String arg0, java.lang.Object arg1) { + return SKINAPI.GetSkinProperty(arg0, arg1); + } + + private static final phoenix.impl.UserProfileAPI USERPROFILEAPI = new phoenix.impl.UserProfileAPI(); + + /** + * {@link phoenix.impl.UserProfileAPI#GetCurrentUserProfile} + */ + public static sagex.phoenix.profiles.Profile GetCurrentUserProfile() { + return USERPROFILEAPI.GetCurrentUserProfile(); + } + + /** + * {@link phoenix.impl.UserProfileAPI#SetCurrentUserProfile} + */ + public static void SetCurrentUserProfile(sagex.phoenix.profiles.Profile arg0) { + USERPROFILEAPI.SetCurrentUserProfile(arg0); + } + + /** + * {@link phoenix.impl.UserProfileAPI#GetUserProfileName} + */ + public static java.lang.String GetUserProfileName(sagex.phoenix.profiles.Profile arg0) { + return USERPROFILEAPI.GetUserProfileName(arg0); + } + + /** + * {@link phoenix.impl.UserProfileAPI#GetUserProfiles} + */ + public static sagex.phoenix.profiles.Profile[] GetUserProfiles() { + return USERPROFILEAPI.GetUserProfiles(); + } + + /** + * {@link phoenix.impl.UserProfileAPI#AddUserProfile} + */ + public static sagex.phoenix.profiles.Profile AddUserProfile(java.lang.String arg0) { + return USERPROFILEAPI.AddUserProfile(arg0); + } + + /** + * {@link phoenix.impl.UserProfileAPI#RemoveUserProfile} + */ + public static void RemoveUserProfile(sagex.phoenix.profiles.Profile arg0) { + USERPROFILEAPI.RemoveUserProfile(arg0); + } + + /** + * {@link phoenix.impl.UserProfileAPI#GetUserProfile} + */ + public static sagex.phoenix.profiles.Profile GetUserProfile(java.lang.String arg0) { + return USERPROFILEAPI.GetUserProfile(arg0); + } + + private static final phoenix.impl.UtilAPI UTILAPI = new phoenix.impl.UtilAPI(); + + /** + * {@link phoenix.impl.UtilAPI#ToMap} + */ + public static java.util.Map ToMap(java.lang.Object arg0) { + return UTILAPI.ToMap(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#GetRandomNumber} + */ + public static int GetRandomNumber(int arg0) { + return UTILAPI.GetRandomNumber(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#GetRandomElement} + */ + public static java.lang.Object GetRandomElement(java.lang.Object[] arg0) { + return UTILAPI.GetRandomElement(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#Shuffle} + */ + public static java.lang.Object Shuffle(java.lang.Object arg0) { + return UTILAPI.Shuffle(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#SubArray} + */ + public static java.lang.Object SubArray(java.lang.Object arg0, int arg1, int arg2) { + return UTILAPI.SubArray(arg0, arg1, arg2); + } + + /** + * {@link phoenix.impl.UtilAPI#SubArray} + */ + public static java.lang.Object SubArray(java.lang.Object arg0, int arg1) { + return UTILAPI.SubArray(arg0, arg1); + } + + /** + * {@link phoenix.impl.UtilAPI#RunPhoenixDiagnostics} + */ + public static java.lang.String RunPhoenixDiagnostics(java.lang.String arg0) { + return UTILAPI.RunPhoenixDiagnostics(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#IsAtLeastVersion} + */ + public static boolean IsAtLeastVersion(java.lang.String arg0, java.lang.String arg1) { + return UTILAPI.IsAtLeastVersion(arg0, arg1); + } + + /** + * {@link phoenix.impl.UtilAPI#RemoveMetadataFromMediaFile} + */ + public static java.lang.Object RemoveMetadataFromMediaFile(java.lang.Object arg0) { + return UTILAPI.RemoveMetadataFromMediaFile(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#Equals} + */ + public static boolean Equals(java.lang.Object arg0, java.lang.Object arg1) { + return UTILAPI.Equals(arg0, arg1); + } + + /** + * {@link phoenix.impl.UtilAPI#InitializePhoenixContext} + */ + public static void InitializePhoenixContext(java.lang.String arg0) { + UTILAPI.InitializePhoenixContext(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#GetRelativePath} + */ + public static java.lang.String GetRelativePath(java.lang.Object arg0, java.lang.Object arg1) { + return UTILAPI.GetRelativePath(arg0, arg1); + } + + /** + * {@link phoenix.impl.UtilAPI#ToString} + */ + public static java.lang.String ToString(java.lang.Object arg0) { + return UTILAPI.ToString(arg0); + } + + /** + * {@link phoenix.impl.UtilAPI#Log} + */ + public static void Log(int arg0, java.lang.String arg1) { + UTILAPI.Log(arg0, arg1); + } + + /** + * {@link phoenix.impl.UtilAPI#CreateRegexFromKeypad} + */ + public static java.lang.String CreateRegexFromKeypad(java.lang.String arg0) { + return UTILAPI.CreateRegexFromKeypad(arg0); + } + + private static final phoenix.impl.CommercialAPI COMMERCIALAPI = new phoenix.impl.CommercialAPI(); + + /** + * {@link phoenix.impl.CommercialAPI#GetCommercialFile} + */ + public static java.io.File GetCommercialFile(java.lang.Object arg0) { + return COMMERCIALAPI.GetCommercialFile(arg0); + } + + /** + * {@link phoenix.impl.CommercialAPI#HasCommercials} + */ + public static boolean HasCommercials(java.lang.Object arg0) { + return COMMERCIALAPI.HasCommercials(arg0); + } + + /** + * {@link phoenix.impl.CommercialAPI#getCommercials} + */ + public static phoenix.impl.CommercialStruct[] GetCommercials(java.lang.Object arg0) { + return COMMERCIALAPI.getCommercials(arg0); + } + + /** + * {@link phoenix.impl.CommercialAPI#getCommercialStart} + */ + public static float GetCommercialStart(phoenix.impl.CommercialStruct arg0) { + return COMMERCIALAPI.getCommercialStart(arg0); + } + + /** + * {@link phoenix.impl.CommercialAPI#getCommercialStop} + */ + public static float GetCommercialStop(phoenix.impl.CommercialStruct arg0) { + return COMMERCIALAPI.getCommercialStop(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IMediaFile#getFiles} + */ + public static java.util.List GetMediaFileFiles(Object MediaFile) { + if (MediaFile == null) { + log.warn("GetMediaFileFiles: MediaFile was null!"); + return null; + } + sagex.phoenix.vfs.IMediaFile proxy = phoenix.api.GetMediaFile(MediaFile); + if (proxy == null) { + log.warn("GetMediaFileFiles: MediaFile was null when using resolver: phoenix.api.GetMediaFile!; " + MediaFile + " "); + return null; + } + return proxy.getFiles(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaFile#getMetadata} + */ + public static sagex.phoenix.metadata.IMetadata GetMediaFileMetadata(Object MediaFile) { + if (MediaFile == null) { + log.warn("GetMediaFileMetadata: MediaFile was null!"); + return null; + } + sagex.phoenix.vfs.IMediaFile proxy = phoenix.api.GetMediaFile(MediaFile); + if (proxy == null) { + log.warn("GetMediaFileMetadata: MediaFile was null when using resolver: phoenix.api.GetMediaFile!; " + MediaFile + " "); + return null; + } + return proxy.getMetadata(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaFile#getWatchedDuration} + */ + public static long GetMediaFileWatchedDuration(Object MediaFile) { + if (MediaFile == null) { + log.warn("GetMediaFileWatchedDuration: MediaFile was null!"); + return 0; + } + sagex.phoenix.vfs.IMediaFile proxy = phoenix.api.GetMediaFile(MediaFile); + if (proxy == null) { + log.warn("GetMediaFileWatchedDuration: MediaFile was null when using resolver: phoenix.api.GetMediaFile!; " + MediaFile + + " "); + return 0; + } + return proxy.getWatchedDuration(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#getParent} + */ + public static sagex.phoenix.vfs.IMediaFolder GetMediaParent(Object Media) { + if (Media == null) { + log.warn("GetMediaParent: Media was null!"); + return null; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("GetMediaParent: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return null; + } + return proxy.getParent(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#getId} + */ + public static java.lang.String GetMediaId(Object Media) { + if (Media == null) { + log.warn("GetMediaId: Media was null!"); + return null; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("GetMediaId: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return null; + } + return proxy.getId(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#delete} + */ + public static void Delete(Object Media) { + if (Media == null) { + log.warn("Delete: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("Delete: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.delete(null); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#accept} + */ + public static void Accept(Object Media, sagex.phoenix.vfs.IMediaResourceVisitor arg0, + sagex.phoenix.progress.IProgressMonitor arg1, int arg2) { + if (Media == null) { + log.warn("Accept: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("Accept: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.accept(arg0, arg1, arg2); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#exists} + */ + public static boolean Exists(Object Media) { + if (Media == null) { + log.warn("Exists: Media was null!"); + return false; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("Exists: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return false; + } + return proxy.exists(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#lastModified} + */ + public static long LastModified(Object Media) { + if (Media == null) { + log.warn("LastModified: Media was null!"); + return 0; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("LastModified: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return 0; + } + return proxy.lastModified(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#touch} + */ + public static void Touch(Object Media, long arg0) { + if (Media == null) { + log.warn("Touch: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("Touch: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.touch(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#isType} + */ + public static boolean IsMediaType(Object Media, int arg0) { + if (Media == null) { + log.warn("IsMediaType: Media was null!"); + return false; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("IsMediaType: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return false; + } + return proxy.isType(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#getTitle} + */ + public static java.lang.String GetMediaTitle(Object Media) { + if (Media == null) { + log.warn("GetMediaTitle: Media was null!"); + return null; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("GetMediaTitle: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return null; + } + return proxy.getTitle(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#getThumbnail} + */ + public static java.lang.Object GetMediaThumbnail(Object Media) { + if (Media == null) { + log.warn("GetMediaThumbnail: Media was null!"); + return null; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("GetMediaThumbnail: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return null; + } + return proxy.getThumbnail(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#isWatched} + */ + public static boolean IsMediaWatched(Object Media) { + if (Media == null) { + log.warn("IsMediaWatched: Media was null!"); + return false; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("IsMediaWatched: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return false; + } + return proxy.isWatched(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#setWatched} + */ + public static void SetMediaWatched(Object Media, boolean arg0) { + if (Media == null) { + log.warn("SetMediaWatched: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("SetMediaWatched: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.setWatched(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#isDontLike} + */ + public static boolean IsMediaDontLike(Object Media) { + if (Media == null) { + log.warn("IsMediaDontLike: Media was null!"); + return false; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("IsMediaDontLike: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return false; + } + return proxy.isDontLike(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#setDontLike} + */ + public static void SetMediaDontLike(Object Media, boolean arg0) { + if (Media == null) { + log.warn("SetMediaDontLike: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("SetMediaDontLike: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.setDontLike(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#isFavorite} + */ + public static boolean IsMediaFavorite(Object Media) { + if (Media == null) { + log.warn("IsMediaFavorite: Media was null!"); + return false; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("IsMediaFavorite: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return false; + } + return proxy.isFavorite(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#setManualRecord} + */ + public static void SetMediaManualRecord(Object Media, boolean arg0) { + if (Media == null) { + log.warn("SetMediaManualRecord: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("SetMediaManualRecord: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.setManualRecord(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#isLibraryFile} + */ + public static boolean IsMediaLibraryFile(Object Media) { + if (Media == null) { + log.warn("IsMediaLibraryFile: Media was null!"); + return false; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("IsMediaLibraryFile: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return false; + } + return proxy.isLibraryFile(); + } + + /** + * {@link sagex.phoenix.vfs.IMediaResource#setLibraryFile} + */ + public static void SetMediaLibraryFile(Object Media, boolean arg0) { + if (Media == null) { + log.warn("SetMediaLibraryFile: Media was null!"); + return; + } + sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); + if (proxy == null) { + log.warn("SetMediaLibraryFile: Media was null when using resolver: GetMediaResource!; " + Media + " "); + return; + } + proxy.setLibraryFile(arg0); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#getName} + */ + public static java.lang.String GetAlbumName(Object Album) { + if (Album == null) { + log.warn("GetAlbumName: Album was null!"); + return null; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("GetAlbumName: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return null; + } + return proxy.getName(); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#getYear} + */ + public static java.lang.String GetAlbumYear(Object Album) { + if (Album == null) { + log.warn("GetAlbumYear: Album was null!"); + return null; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("GetAlbumYear: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return null; + } + return proxy.getYear(); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#getArt} + */ + public static java.lang.Object GetAlbumArt(Object Album) { + if (Album == null) { + log.warn("GetAlbumArt: Album was null!"); + return null; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("GetAlbumArt: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return null; + } + return proxy.getArt(); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#getArtist} + */ + public static java.lang.String GetAlbumArtist(Object Album) { + if (Album == null) { + log.warn("GetAlbumArtist: Album was null!"); + return null; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("GetAlbumArtist: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return null; + } + return proxy.getArtist(); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#getGenre} + */ + public static java.lang.String GetAlbumGenre(Object Album) { + if (Album == null) { + log.warn("GetAlbumGenre: Album was null!"); + return null; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("GetAlbumGenre: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return null; + } + return proxy.getGenre(); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#getTracks} + */ + public static java.util.List GetAlbumTracks(Object Album) { + if (Album == null) { + log.warn("GetAlbumTracks: Album was null!"); + return null; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("GetAlbumTracks: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return null; + } + return proxy.getTracks(); + } + + /** + * {@link sagex.phoenix.vfs.IAlbumInfo#hasArt} + */ + public static boolean HasArt(Object Album) { + if (Album == null) { + log.warn("HasArt: Album was null!"); + return false; + } + sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); + if (proxy == null) { + log.warn("HasArt: Album was null when using resolver: phoenix.api.GetAlbum!; " + Album + " "); + return false; + } + return proxy.hasArt(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getComment} + */ + public static java.lang.String GetMetadataComment(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataComment: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataComment: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getComment(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getDuration} + */ + public static long GetMetadataDuration(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataDuration: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataDuration: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getDuration(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getWidth} + */ + public static int GetMetadataWidth(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataWidth: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataWidth: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getWidth(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getHeight} + */ + public static int GetMetadataHeight(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataHeight: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataHeight: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getHeight(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getTrack} + */ + public static int GetMetadataTrack(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataTrack: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataTrack: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getTrack(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getTotalTracks} + */ + public static int GetMetadataTotalTracks(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataTotalTracks: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataTotalTracks: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getTotalTracks(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getAiringTime} + */ + public static java.util.Date GetMetadataAiringTime(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataAiringTime: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataAiringTime: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getAiringTime(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getThumbnailOffset} + */ + public static int GetMetadataThumbnailOffset(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataThumbnailOffset: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataThumbnailOffset: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return 0; + } + return proxy.getThumbnailOffset(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getThumbnailSize} + */ + public static int GetMetadataThumbnailSize(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataThumbnailSize: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataThumbnailSize: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getThumbnailSize(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getThumbnailDesc} + */ + public static java.lang.String GetMetadataThumbnailDesc(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataThumbnailDesc: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataThumbnailDesc: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getThumbnailDesc(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getPictureResolution} + */ + public static java.lang.String GetMetadataPictureResolution(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataPictureResolution: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataPictureResolution: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getPictureResolution(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getLanguage} + */ + public static java.lang.String GetMetadataLanguage(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataLanguage: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getLanguage(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getYear} + */ + public static int GetMetadataYear(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataYear: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataYear: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getYear(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getDescription} + */ + public static java.lang.String GetMetadataDescription(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataDescription: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataDescription: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getDescription(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setDescription} + */ + public static void SetMetadataDescription(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataDescription: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataDescription: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setDescription(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setYear} + */ + public static void SetMetadataYear(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataYear: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataYear: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setYear(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getEpisodeName} + */ + public static java.lang.String GetMetadataEpisodeName(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataEpisodeName: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataEpisodeName: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getEpisodeName(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setEpisodeName} + */ + public static void SetMetadataEpisodeName(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataEpisodeName: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataEpisodeName: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setEpisodeName(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getAlbum} + */ + public static java.lang.String GetMetadataAlbum(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataAlbum: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataAlbum: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getAlbum(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setAlbum} + */ + public static void SetMetadataAlbum(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataAlbum: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataAlbum: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setAlbum(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getGenres} + */ + public static java.util.List GetMetadataGenres(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataGenres: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataGenres: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getGenres(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getGenreID} + */ + public static java.lang.String GetMetadataGenreID(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataGenreID: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataGenreID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getGenreID(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setGenreID} + */ + public static void SetMetadataGenreID(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataGenreID: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataGenreID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setGenreID(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setLanguage} + */ + public static void SetMetadataLanguage(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataLanguage: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setLanguage(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getRated} + */ + public static java.lang.String GetMetadataRated(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataRated: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataRated: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getRated(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setRated} + */ + public static void SetMetadataRated(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataRated: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataRated: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setRated(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getRunningTime} + */ + public static long GetMetadataRunningTime(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataRunningTime: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataRunningTime: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getRunningTime(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setRunningTime} + */ + public static void SetMetadataRunningTime(Object Metadata, long arg0) { + if (Metadata == null) { + log.warn("SetMetadataRunningTime: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataRunningTime: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setRunningTime(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getOriginalAirDate} + */ + public static java.util.Date GetMetadataOriginalAirDate(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataOriginalAirDate: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataOriginalAirDate: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getOriginalAirDate(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setOriginalAirDate} + */ + public static void SetMetadataOriginalAirDate(Object Metadata, java.util.Date arg0) { + if (Metadata == null) { + log.warn("SetMetadataOriginalAirDate: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataOriginalAirDate: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setOriginalAirDate(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getExtendedRatings} + */ + public static java.lang.String GetMetadataExtendedRatings(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataExtendedRatings: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataExtendedRatings: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getExtendedRatings(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setExtendedRatings} + */ + public static void SetMetadataExtendedRatings(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataExtendedRatings: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataExtendedRatings: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setExtendedRatings(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getMisc} + */ + public static java.lang.String GetMetadataMisc(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataMisc: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataMisc: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getMisc(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setMisc} + */ + public static void SetMetadataMisc(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataMisc: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataMisc: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setMisc(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getPartNumber} + */ + public static int GetMetadataPartNumber(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataPartNumber: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataPartNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getPartNumber(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setPartNumber} + */ + public static void SetMetadataPartNumber(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataPartNumber: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataPartNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setPartNumber(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getTotalParts} + */ + public static int GetMetadataTotalParts(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataTotalParts: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataTotalParts: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getTotalParts(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setTotalParts} + */ + public static void SetMetadataTotalParts(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataTotalParts: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataTotalParts: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setTotalParts(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isHDTV} + */ + public static boolean IsMetadataHDTV(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataHDTV: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataHDTV: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isHDTV(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setHDTV} + */ + public static void SetMetadataHDTV(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataHDTV: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataHDTV: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setHDTV(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isCC} + */ + public static boolean IsMetadataCC(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataCC: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataCC: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isCC(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setCC} + */ + public static void SetMetadataCC(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataCC: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataCC: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setCC(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getStereo} + */ + public static boolean GetMetadataStereo(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataStereo: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataStereo: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.getStereo(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setStereo} + */ + public static void SetMetadataStereo(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataStereo: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataStereo: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setStereo(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isSubtitled} + */ + public static boolean IsMetadataSubtitled(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataSubtitled: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataSubtitled: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isSubtitled(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSubtitled} + */ + public static void SetMetadataSubtitled(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataSubtitled: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSubtitled: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setSubtitled(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getPremiere} + */ + public static boolean GetMetadataPremiere(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataPremiere: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.getPremiere(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setPremiere} + */ + public static void SetMetadataPremiere(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataPremiere: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setPremiere(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isSeasonPremiere} + */ + public static boolean IsMetadataSeasonPremiere(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataSeasonPremiere: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataSeasonPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isSeasonPremiere(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSeasonPremiere} + */ + public static void SetMetadataSeasonPremiere(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataSeasonPremiere: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSeasonPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setSeasonPremiere(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isSeriesPremiere} + */ + public static boolean IsMetadataSeriesPremiere(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataSeriesPremiere: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataSeriesPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isSeriesPremiere(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSeriesPremiere} + */ + public static void SetMetadataSeriesPremiere(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataSeriesPremiere: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSeriesPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setSeriesPremiere(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isChannelPremiere} + */ + public static boolean IsMetadataChannelPremiere(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataChannelPremiere: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataChannelPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return false; + } + return proxy.isChannelPremiere(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setChannelPremiere} + */ + public static void SetMetadataChannelPremiere(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataChannelPremiere: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataChannelPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setChannelPremiere(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isSeasonFinal} + */ + public static boolean IsMetadataSeasonFinal(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataSeasonFinal: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataSeasonFinal: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isSeasonFinal(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSeasonFinal} + */ + public static void SetMetadataSeasonFinal(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataSeasonFinal: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSeasonFinal: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setSeasonFinal(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isSeriesFinale} + */ + public static boolean IsMetadataSeriesFinale(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataSeriesFinale: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataSeriesFinale: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isSeriesFinale(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSeriesFinale} + */ + public static void SetMetadataSeriesFinale(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataSeriesFinale: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSeriesFinale: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setSeriesFinale(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#isSAP} + */ + public static boolean IsMetadataSAP(Object Metadata) { + if (Metadata == null) { + log.warn("IsMetadataSAP: Metadata was null!"); + return false; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("IsMetadataSAP: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return false; + } + return proxy.isSAP(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSAP} + */ + public static void SetMetadataSAP(Object Metadata, boolean arg0) { + if (Metadata == null) { + log.warn("SetMetadataSAP: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSAP: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setSAP(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getExternalID} + */ + public static java.lang.String GetMetadataExternalID(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataExternalID: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataExternalID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getExternalID(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setExternalID} + */ + public static void SetMetadataExternalID(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataExternalID: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataExternalID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setExternalID(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoHeight} + */ + public static java.lang.String GetMetadataFormatVideoHeight(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoHeight: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoHeight: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatVideoHeight(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoWidth} + */ + public static java.lang.String GetMetadataFormatVideoWidth(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoWidth: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoWidth: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatVideoWidth(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoFPS} + */ + public static java.lang.String GetMetadataFormatVideoFPS(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoFPS: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoFPS: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatVideoFPS(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoInterlaced} + */ + public static java.lang.String GetMetadataFormatVideoInterlaced(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoInterlaced: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoInterlaced: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatVideoInterlaced(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoProgressive} + */ + public static java.lang.String GetMetadataFormatVideoProgressive(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoProgressive: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoProgressive: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatVideoProgressive(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioNumStreams} + */ + public static int GetMetadataFormatAudioNumStreams(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioNumStreams: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioNumStreams: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return 0; + } + return proxy.getFormatAudioNumStreams(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioStreamNumProperty} + */ + public static java.lang.String GetMetadataFormatAudioStreamNumProperty(Object Metadata, int arg0, java.lang.String arg1) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioStreamNumProperty: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioStreamNumProperty: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatAudioStreamNumProperty(arg0, arg1); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#FormatSubtitleNumStreams} + */ + public static int FormatSubtitleNumStreams(Object Metadata) { + if (Metadata == null) { + log.warn("FormatSubtitleNumStreams: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("FormatSubtitleNumStreams: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.FormatSubtitleNumStreams(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatSubtitleStreamNumPropery} + */ + public static java.lang.String GetMetadataFormatSubtitleStreamNumPropery(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatSubtitleStreamNumPropery: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatSubtitleStreamNumPropery: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatSubtitleStreamNumPropery(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatSubtitleCodec} + */ + public static java.lang.String GetMetadataFormatSubtitleCodec(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatSubtitleCodec: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatSubtitleCodec: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatSubtitleCodec(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatContainer} + */ + public static java.lang.String GetMetadataFormatContainer(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatContainer: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatContainer: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatContainer(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoCodec} + */ + public static java.lang.String GetMetadataFormatVideoCodec(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoCodec: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoCodec: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatVideoCodec(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoResolution} + */ + public static java.lang.String GetMetadataFormatVideoResolution(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoResolution: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoResolution: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatVideoResolution(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoAspect} + */ + public static java.lang.String GetMetadataFormatVideoAspect(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoAspect: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoAspect: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatVideoAspect(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioCodec} + */ + public static java.lang.String GetMetadataFormatAudioCodec(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioCodec: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioCodec: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatAudioCodec(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#FormatAudioChannels} + */ + public static java.lang.String FormatAudioChannels(Object Metadata) { + if (Metadata == null) { + log.warn("FormatAudioChannels: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("FormatAudioChannels: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.FormatAudioChannels(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioLanguage} + */ + public static java.lang.String GetMetadataFormatAudioLanguage(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioLanguage: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getFormatAudioLanguage(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioSampleRate} + */ + public static java.lang.String GetMetadataFormatAudioSampleRate(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioSampleRate: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioSampleRate: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatAudioSampleRate(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioBitsPerSample} + */ + public static java.lang.String GetMetadataFormatAudioBitsPerSample(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioBitsPerSample: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioBitsPerSample: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatAudioBitsPerSample(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioBitrateKbps} + */ + public static java.lang.String GetMetadataFormatAudioBitrateKbps(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatAudioBitrateKbps: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatAudioBitrateKbps: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatAudioBitrateKbps(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatSubtitleLanguage} + */ + public static java.lang.String GetMetadataFormatSubtitleLanguage(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatSubtitleLanguage: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatSubtitleLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatSubtitleLanguage(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoBitrateMbps} + */ + public static java.lang.String GetMetadataFormatVideoBitrateMbps(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFormatVideoBitrateMbps: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFormatVideoBitrateMbps: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + + Metadata + " "); + return null; + } + return proxy.getFormatVideoBitrateMbps(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getActors} + */ + public static java.util.List GetMetadataActors(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataActors: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataActors: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getActors(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getLeadActors} + */ + public static java.util.List GetMetadataLeadActors(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataLeadActors: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataLeadActors: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getLeadActors(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getSupportingActors} + */ + public static java.util.List GetMetadataSupportingActors(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataSupportingActors: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataSupportingActors: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getSupportingActors(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getActresses} + */ + public static java.util.List GetMetadataActresses(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataActresses: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataActresses: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getActresses(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getLeadActresses} + */ + public static java.util.List GetMetadataLeadActresses(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataLeadActresses: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataLeadActresses: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getLeadActresses(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getSupportingActresses} + */ + public static java.util.List GetMetadataSupportingActresses(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataSupportingActresses: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataSupportingActresses: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getSupportingActresses(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getGuests} + */ + public static java.util.List GetMetadataGuests(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataGuests: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataGuests: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getGuests(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getGuestStars} + */ + public static java.util.List GetMetadataGuestStars(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataGuestStars: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataGuestStars: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getGuestStars(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getDirectors} + */ + public static java.util.List GetMetadataDirectors(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataDirectors: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataDirectors: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getDirectors(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getProducers} + */ + public static java.util.List GetMetadataProducers(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataProducers: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataProducers: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getProducers(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getWriters} + */ + public static java.util.List GetMetadataWriters(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataWriters: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataWriters: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getWriters(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getChoreographers} + */ + public static java.util.List GetMetadataChoreographers(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataChoreographers: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataChoreographers: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getChoreographers(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getSportsFigures} + */ + public static java.util.List GetMetadataSportsFigures(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataSportsFigures: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataSportsFigures: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getSportsFigures(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getCoaches} + */ + public static java.util.List GetMetadataCoaches(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataCoaches: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataCoaches: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getCoaches(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getHosts} + */ + public static java.util.List GetMetadataHosts(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataHosts: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataHosts: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getHosts(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getExecutiveProducers} + */ + public static java.util.List GetMetadataExecutiveProducers(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataExecutiveProducers: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataExecutiveProducers: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getExecutiveProducers(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getArtists} + */ + public static java.util.List GetMetadataArtists(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataArtists: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataArtists: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getArtists(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getAlbumArtists} + */ + public static java.util.List GetMetadataAlbumArtists(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataAlbumArtists: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataAlbumArtists: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getAlbumArtists(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getComposers} + */ + public static java.util.List GetMetadataComposers(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataComposers: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataComposers: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getComposers(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getJudges} + */ + public static java.util.List GetMetadataJudges(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataJudges: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataJudges: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getJudges(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getNarrators} + */ + public static java.util.List GetMetadataNarrators(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataNarrators: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataNarrators: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getNarrators(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getContestants} + */ + public static java.util.List GetMetadataContestants(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataContestants: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataContestants: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getContestants(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getCorrespondents} + */ + public static java.util.List GetMetadataCorrespondents(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataCorrespondents: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataCorrespondents: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getCorrespondents(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setDiscNumber} + */ + public static void SetMetadataDiscNumber(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataDiscNumber: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataDiscNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setDiscNumber(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setEpisodeNumber} + */ + public static void SetMetadataEpisodeNumber(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataEpisodeNumber: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataEpisodeNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setEpisodeNumber(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setIMDBID} + */ + public static void SetMetadataIMDBID(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataIMDBID: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataIMDBID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setIMDBID(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setMediaProviderDataID} + */ + public static void SetMetadataMediaProviderDataID(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataMediaProviderDataID: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataMediaProviderDataID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setMediaProviderDataID(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setMediaProviderID} + */ + public static void SetMetadataMediaProviderID(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataMediaProviderID: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataMediaProviderID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return; + } + proxy.setMediaProviderID(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setMediaTitle} + */ + public static void SetMetadataMediaTitle(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataMediaTitle: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataMediaTitle: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setMediaTitle(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setMediaType} + */ + public static void SetMetadataMediaType(Object Metadata, java.lang.String arg0) { + if (Metadata == null) { + log.warn("SetMetadataMediaType: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataMediaType: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setMediaType(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setSeasonNumber} + */ + public static void SetMetadataSeasonNumber(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataSeasonNumber: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataSeasonNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setSeasonNumber(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#setUserRating} + */ + public static void SetMetadataUserRating(Object Metadata, int arg0) { + if (Metadata == null) { + log.warn("SetMetadataUserRating: Metadata was null!"); + return; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("SetMetadataUserRating: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return; + } + proxy.setUserRating(arg0); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getMediaTitle} + */ + public static java.lang.String GetMetadataMediaTitle(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataMediaTitle: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataMediaTitle: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getMediaTitle(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getMediaType} + */ + public static java.lang.String GetMetadataMediaType(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataMediaType: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataMediaType: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getMediaType(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getSeasonNumber} + */ + public static int GetMetadataSeasonNumber(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataSeasonNumber: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataSeasonNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getSeasonNumber(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getEpisodeNumber} + */ + public static int GetMetadataEpisodeNumber(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataEpisodeNumber: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataEpisodeNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getEpisodeNumber(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getIMDBID} + */ + public static java.lang.String GetMetadataIMDBID(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataIMDBID: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataIMDBID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getIMDBID(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getDiscNumber} + */ + public static int GetMetadataDiscNumber(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataDiscNumber: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataDiscNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getDiscNumber(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getMediaProviderID} + */ + public static java.lang.String GetMetadataMediaProviderID(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataMediaProviderID: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataMediaProviderID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getMediaProviderID(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getMediaProviderDataID} + */ + public static java.lang.String GetMetadataMediaProviderDataID(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataMediaProviderDataID: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataMediaProviderDataID: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + + " "); + return null; + } + return proxy.getMediaProviderDataID(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getUserRating} + */ + public static int GetMetadataUserRating(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataUserRating: Metadata was null!"); + return 0; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataUserRating: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return 0; + } + return proxy.getUserRating(); + } + + /** + * {@link sagex.phoenix.metadata.IMetadata#getFanart} + */ + public static java.util.List GetMetadataFanart(Object Metadata) { + if (Metadata == null) { + log.warn("GetMetadataFanart: Metadata was null!"); + return null; + } + sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); + if (proxy == null) { + log.warn("GetMetadataFanart: Metadata was null when using resolver: phoenix.api.GetMetadata!; " + Metadata + " "); + return null; + } + return proxy.getFanart(); + } + + /** + * {@link sagex.phoenix.metadata.ICastMember#getName} + */ + public static java.lang.String GetCastName(Object Cast) { + if (Cast == null) { + log.warn("GetCastName: Cast was null!"); + return null; + } + sagex.phoenix.metadata.ICastMember proxy = phoenix.api.GetCastMember(Cast); + if (proxy == null) { + log.warn("GetCastName: Cast was null when using resolver: phoenix.api.GetCastMember!; " + Cast + " "); + return null; + } + return proxy.getName(); + } + + /** + * {@link sagex.phoenix.metadata.ICastMember#getRole} + */ + public static java.lang.String GetCastRole(Object Cast) { + if (Cast == null) { + log.warn("GetCastRole: Cast was null!"); + return null; + } + sagex.phoenix.metadata.ICastMember proxy = phoenix.api.GetCastMember(Cast); + if (proxy == null) { + log.warn("GetCastRole: Cast was null when using resolver: phoenix.api.GetCastMember!; " + Cast + " "); + return null; + } + return proxy.getRole(); + } + + private static final phoenix.impl.DeprecatedAPI DEPRECATEDAPI = new phoenix.impl.DeprecatedAPI(); + + /** + * {@link phoenix.impl.DeprecatedAPI#StartMetadataScan} + */ + public static java.lang.Object StartMetadataScan(java.lang.Object arg0, java.lang.Object[] arg1) { + return DEPRECATEDAPI.StartMetadataScan(arg0, arg1); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#IsMetadataScanRunning} + */ + public static boolean IsMetadataScanRunning() { + return DEPRECATEDAPI.IsMetadataScanRunning(); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataScanComplete} + */ + public static float GetMetadataScanComplete() { + return DEPRECATEDAPI.GetMetadataScanComplete(); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataSearchResults} + */ + public static sagex.phoenix.metadata.IMetadataSearchResult[] GetMetadataSearchResults(java.lang.Object arg0, + java.lang.Object arg1) { + return DEPRECATEDAPI.GetMetadataSearchResults(arg0, arg1); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetInActiveMetadataProviders} + */ + public static sagex.phoenix.metadata.IMetadataProviderInfo[] GetInActiveMetadataProviders() { + return DEPRECATEDAPI.GetInActiveMetadataProviders(); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetActiveMetadataProviders} + */ + public static sagex.phoenix.metadata.IMetadataProviderInfo[] GetActiveMetadataProviders() { + return DEPRECATEDAPI.GetActiveMetadataProviders(); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetInstalledMetadataProviders} + */ + public static sagex.phoenix.metadata.IMetadataProviderInfo[] GetInstalledMetadataProviders() { + return DEPRECATEDAPI.GetInstalledMetadataProviders(); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#IsActiveMetadataProvider} + */ + public static boolean IsActiveMetadataProvider(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + return DEPRECATEDAPI.IsActiveMetadataProvider(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#IncreaseMetadataProviderPriority} + */ + public static void IncreaseMetadataProviderPriority(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + DEPRECATEDAPI.IncreaseMetadataProviderPriority(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#DecreaseMetadataProviderPriority} + */ + public static void DecreaseMetadataProviderPriority(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + DEPRECATEDAPI.DecreaseMetadataProviderPriority(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#AddActiveMetadataProvider} + */ + public static void AddActiveMetadataProvider(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + DEPRECATEDAPI.AddActiveMetadataProvider(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#RemoveActiveMetadataProvider} + */ + public static void RemoveActiveMetadataProvider(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + DEPRECATEDAPI.RemoveActiveMetadataProvider(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataProviderId} + */ + public static java.lang.String GetMetadataProviderId(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + return DEPRECATEDAPI.GetMetadataProviderId(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataProviderName} + */ + public static java.lang.String GetMetadataProviderName(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + return DEPRECATEDAPI.GetMetadataProviderName(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataProviderDescription} + */ + public static java.lang.String GetMetadataProviderDescription(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { + return DEPRECATEDAPI.GetMetadataProviderDescription(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#IsMetadataProviderSupportEnabled} + */ + public static boolean IsMetadataProviderSupportEnabled() { + return DEPRECATEDAPI.IsMetadataProviderSupportEnabled(); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataKeys} + */ + public static java.lang.String[] GetMetadataKeys(java.lang.String arg0) { + return DEPRECATEDAPI.GetMetadataKeys(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataLabel} + */ + public static java.lang.String GetMetadataLabel(java.lang.String arg0) { + return DEPRECATEDAPI.GetMetadataLabel(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetMetadataDescription} + */ + public static java.lang.String GetMetadataDescription(java.lang.String arg0) { + return DEPRECATEDAPI.GetMetadataDescription(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetAiringStartTime} + */ + public static long GetAiringStartTime(java.lang.Object arg0) { + return DEPRECATEDAPI.GetAiringStartTime(arg0); + } + + /** + * {@link phoenix.impl.DeprecatedAPI#GetAiringEndTime} + */ + public static long GetAiringEndTime(java.lang.Object arg0) { + return DEPRECATEDAPI.GetAiringEndTime(arg0); + } - private static final phoenix.impl.ConfigurationAPI CONFIGURATIONAPI = new phoenix.impl.ConfigurationAPI(); - /** - * {@link phoenix.impl.ConfigurationAPI#GetProperty} - */ - public static java.lang.String GetProperty(java.lang.String arg0, java.lang.String arg1) { - return CONFIGURATIONAPI.GetProperty(arg0, arg1); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetProperty} - */ - public static java.lang.Object GetProperty(java.lang.Object arg0) { - return CONFIGURATIONAPI.GetProperty(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetServerProperty} - */ - public static java.lang.String GetServerProperty(java.lang.String arg0, java.lang.String arg1) { - return CONFIGURATIONAPI.GetServerProperty(arg0, arg1); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetServerProperty} - */ - public static java.lang.Object GetServerProperty(java.lang.Object arg0) { - return CONFIGURATIONAPI.GetServerProperty(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetUserProperty} - */ - public static java.lang.Object GetUserProperty(java.lang.String arg0, java.lang.Object arg1) { - return CONFIGURATIONAPI.GetUserProperty(arg0, arg1); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetUserProperty} - */ - public static java.lang.Object GetUserProperty(java.lang.Object arg0) { - return CONFIGURATIONAPI.GetUserProperty(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationGroups} - */ - public static sagex.phoenix.configuration.IConfigurationElement[] GetConfigurationGroups() { - return CONFIGURATIONAPI.GetConfigurationGroups(); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationRoot} - */ - public static sagex.phoenix.configuration.Group GetConfigurationRoot() { - return CONFIGURATIONAPI.GetConfigurationRoot(); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfiguration} - */ - public static sagex.phoenix.configuration.Group GetConfiguration(java.lang.String arg0) { - return CONFIGURATIONAPI.GetConfiguration(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationParent} - */ - public static sagex.phoenix.configuration.Group GetConfigurationParent(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.GetConfigurationParent(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationChildren} - */ - public static sagex.phoenix.configuration.IConfigurationElement[] GetConfigurationChildren(sagex.phoenix.configuration.Group arg0) { - return CONFIGURATIONAPI.GetConfigurationChildren(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#IsConfigurationGroup} - */ - public static boolean IsConfigurationGroup(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.IsConfigurationGroup(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#IsConfigurationApplication} - */ - public static boolean IsConfigurationApplication(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.IsConfigurationApplication(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#IsConfigurationField} - */ - public static boolean IsConfigurationField(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.IsConfigurationField(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationLabel} - */ - public static java.lang.String GetConfigurationLabel(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.GetConfigurationLabel(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationDescription} - */ - public static java.lang.String GetConfigurationDescription(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.GetConfigurationDescription(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationFieldType} - */ - public static java.lang.String GetConfigurationFieldType(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.GetConfigurationFieldType(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationDefaultValue} - */ - public static java.lang.String GetConfigurationDefaultValue(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.GetConfigurationDefaultValue(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#GetConfigurationKey} - */ - public static java.lang.String GetConfigurationKey(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.GetConfigurationKey(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#ReloadConfiguration} - */ - public static void ReloadConfiguration() { - CONFIGURATIONAPI.ReloadConfiguration(); - } - /** - * {@link phoenix.impl.ConfigurationAPI#IsConfigurationNewSearchButton} - */ - public static boolean IsConfigurationNewSearchButton(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.IsConfigurationNewSearchButton(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#IsConfigurationSearchResult} - */ - public static boolean IsConfigurationSearchResult(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.IsConfigurationSearchResult(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#UpdateConfigurationSearch} - */ - public static void UpdateConfigurationSearch(java.lang.String arg0, sagex.phoenix.configuration.IConfigurationElement arg1) { - CONFIGURATIONAPI.UpdateConfigurationSearch(arg0, arg1); - } - /** - * {@link phoenix.impl.ConfigurationAPI#AddConfigurationSearch} - */ - public static sagex.phoenix.configuration.Group AddConfigurationSearch(java.lang.String arg0) { - return CONFIGURATIONAPI.AddConfigurationSearch(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#RemoveConfigurationSearch} - */ - public static void RemoveConfigurationSearch(sagex.phoenix.configuration.IConfigurationElement arg0) { - CONFIGURATIONAPI.RemoveConfigurationSearch(arg0); - } - /** - * {@link phoenix.impl.ConfigurationAPI#HasConfigurationChildren} - */ - public static boolean HasConfigurationChildren(sagex.phoenix.configuration.IConfigurationElement arg0) { - return CONFIGURATIONAPI.HasConfigurationChildren(arg0); - } - private static final phoenix.impl.DynamicMenusAPI DYNAMICMENUSAPI = new phoenix.impl.DynamicMenusAPI(); - /** - * {@link phoenix.impl.DynamicMenusAPI#GetMenu} - */ - public static sagex.phoenix.menu.Menu GetMenu(java.lang.Object arg0) { - return DYNAMICMENUSAPI.GetMenu(arg0); - } - /** - * {@link phoenix.impl.DynamicMenusAPI#ReloadMenus} - */ - public static void ReloadMenus() { - DYNAMICMENUSAPI.ReloadMenus(); - } - /** - * {@link phoenix.impl.DynamicMenusAPI#IsMenu} - */ - public static boolean IsMenu(java.lang.Object arg0) { - return DYNAMICMENUSAPI.IsMenu(arg0); - } - /** - * {@link phoenix.impl.DynamicMenusAPI#GetLinkedMenu} - */ - public static sagex.phoenix.menu.Menu GetLinkedMenu(sagex.phoenix.menu.IMenuItem arg0) { - return DYNAMICMENUSAPI.GetLinkedMenu(arg0); - } - private static final phoenix.impl.FanartAPI FANARTAPI = new phoenix.impl.FanartAPI(); - /** - * {@link phoenix.impl.FanartAPI#GetFanartBackground} - */ - public static java.lang.String GetFanartBackground(java.lang.Object arg0) { - return FANARTAPI.GetFanartBackground(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBackgrounds} - */ - public static java.lang.String[] GetFanartBackgrounds(java.lang.Object arg0) { - return FANARTAPI.GetFanartBackgrounds(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBanner} - */ - public static java.lang.String GetFanartBanner(java.lang.Object arg0) { - return FANARTAPI.GetFanartBanner(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBanners} - */ - public static java.lang.String[] GetFanartBanners(java.lang.Object arg0) { - return FANARTAPI.GetFanartBanners(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartPoster} - */ - public static java.lang.String GetFanartPoster(java.lang.Object arg0) { - return FANARTAPI.GetFanartPoster(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartGenre} - */ - public static java.lang.String GetFanartGenre(java.lang.String arg0, java.lang.String arg1) { - return FANARTAPI.GetFanartGenre(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartGenrePath} - */ - public static java.lang.String GetFanartGenrePath(java.lang.String arg0, java.lang.String arg1) { - return FANARTAPI.GetFanartGenrePath(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartGenres} - */ - public static java.lang.String[] GetFanartGenres(java.lang.String arg0, java.lang.String arg1) { - return FANARTAPI.GetFanartGenres(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartActor} - */ - public static java.lang.String GetFanartActor(java.lang.String arg0) { - return FANARTAPI.GetFanartActor(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartActorPath} - */ - public static java.lang.String GetFanartActorPath(java.lang.String arg0) { - return FANARTAPI.GetFanartActorPath(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartActors} - */ - public static java.lang.String[] GetFanartActors(java.lang.String arg0) { - return FANARTAPI.GetFanartActors(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartPosters} - */ - public static java.lang.String[] GetFanartPosters(java.lang.Object arg0) { - return FANARTAPI.GetFanartPosters(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#IsFanartEnabled} - */ - public static boolean IsFanartEnabled() { - return FANARTAPI.IsFanartEnabled(); - } - /** - * {@link phoenix.impl.FanartAPI#SetIsFanartEnabled} - */ - public static void SetIsFanartEnabled(boolean arg0) { - FANARTAPI.SetIsFanartEnabled(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartCentralFolder} - */ - public static java.lang.String GetFanartCentralFolder() { - return FANARTAPI.GetFanartCentralFolder(); - } - /** - * {@link phoenix.impl.FanartAPI#SetFanartCentralFolder} - */ - public static void SetFanartCentralFolder(java.lang.Object arg0) { - FANARTAPI.SetFanartCentralFolder(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#SetFanartBackground} - */ - public static void SetFanartBackground(java.lang.Object arg0, java.lang.Object arg1) { - FANARTAPI.SetFanartBackground(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#SetFanartBanner} - */ - public static void SetFanartBanner(java.lang.Object arg0, java.lang.Object arg1) { - FANARTAPI.SetFanartBanner(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#SetFanartPoster} - */ - public static void SetFanartPoster(java.lang.Object arg0, java.lang.Object arg1) { - FANARTAPI.SetFanartPoster(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#HasFanartPoster} - */ - public static boolean HasFanartPoster(java.lang.Object arg0) { - return FANARTAPI.HasFanartPoster(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#HasFanartBackground} - */ - public static boolean HasFanartBackground(java.lang.Object arg0) { - return FANARTAPI.HasFanartBackground(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#HasFanartBanner} - */ - public static boolean HasFanartBanner(java.lang.Object arg0) { - return FANARTAPI.HasFanartBanner(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#IsMissingFanart} - */ - public static boolean IsMissingFanart(java.lang.Object arg0) { - return FANARTAPI.IsMissingFanart(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBackgroundPath} - */ - public static java.lang.String GetFanartBackgroundPath(java.lang.Object arg0) { - return FANARTAPI.GetFanartBackgroundPath(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBackgroundPath} - */ - public static java.lang.String GetFanartBackgroundPath(java.lang.Object arg0, boolean arg1) { - return FANARTAPI.GetFanartBackgroundPath(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBannerPath} - */ - public static java.lang.String GetFanartBannerPath(java.lang.Object arg0) { - return FANARTAPI.GetFanartBannerPath(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartBannerPath} - */ - public static java.lang.String GetFanartBannerPath(java.lang.Object arg0, boolean arg1) { - return FANARTAPI.GetFanartBannerPath(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartPosterPath} - */ - public static java.lang.String GetFanartPosterPath(java.lang.Object arg0) { - return FANARTAPI.GetFanartPosterPath(arg0); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartPosterPath} - */ - public static java.lang.String GetFanartPosterPath(java.lang.Object arg0, boolean arg1) { - return FANARTAPI.GetFanartPosterPath(arg0, arg1); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartArtifacts} - */ - public static java.lang.String[] GetFanartArtifacts(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.util.Map arg5) { - return FANARTAPI.GetFanartArtifacts(arg0, arg1, arg2, arg3, arg4, arg5); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartArtifact} - */ - public static java.lang.String GetFanartArtifact(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.util.Map arg5) { - return FANARTAPI.GetFanartArtifact(arg0, arg1, arg2, arg3, arg4, arg5); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartArtifactDir} - */ - public static java.lang.String GetFanartArtifactDir(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.util.Map arg5, boolean arg6) { - return FANARTAPI.GetFanartArtifactDir(arg0, arg1, arg2, arg3, arg4, arg5, arg6); - } - /** - * {@link phoenix.impl.FanartAPI#GetFanartArtifactDir} - */ - public static java.lang.String GetFanartArtifactDir(java.lang.Object arg0, sagex.phoenix.metadata.MediaType arg1, java.lang.String arg2, sagex.phoenix.metadata.MediaArtifactType arg3, java.lang.String arg4, java.util.Map arg5, boolean arg6) { - return FANARTAPI.GetFanartArtifactDir(arg0, arg1, arg2, arg3, arg4, arg5, arg6); - } - /** - * {@link phoenix.impl.FanartAPI#SetFanartArtifact} - */ - public static void SetFanartArtifact(java.lang.Object arg0, java.io.File arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4, java.lang.String arg5, java.util.Map arg6) { - FANARTAPI.SetFanartArtifact(arg0, arg1, arg2, arg3, arg4, arg5, arg6); - } - private static final phoenix.impl.ImageAPI IMAGEAPI = new phoenix.impl.ImageAPI(); - /** - * {@link phoenix.impl.ImageAPI#LoadImages} - */ - public static void LoadImages(java.lang.Object arg0) { - IMAGEAPI.LoadImages(arg0); - } - /** - * {@link phoenix.impl.ImageAPI#CreateScaledImages} - */ - public static void CreateScaledImages(java.lang.Object arg0, int arg1, int arg2) { - IMAGEAPI.CreateScaledImages(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.ImageAPI#CreateImages} - */ - public static void CreateImages(java.lang.String arg0, java.lang.Object arg1, java.lang.String arg2, boolean arg3) { - IMAGEAPI.CreateImages(arg0, arg1, arg2, arg3); - } - /** - * {@link phoenix.impl.ImageAPI#CreateImage} - */ - public static java.lang.Object CreateImage(java.lang.String arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.String arg3, boolean arg4) { - return IMAGEAPI.CreateImage(arg0, arg1, arg2, arg3, arg4); - } - /** - * {@link phoenix.impl.ImageAPI#CreateImage} - */ - public static java.lang.Object CreateImage(java.lang.Object arg0, java.lang.String arg1, boolean arg2) { - return IMAGEAPI.CreateImage(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.ImageAPI#CreateImage} - */ - public static java.lang.Object CreateImage(java.lang.String arg0, java.lang.Object arg1, java.lang.String arg2, boolean arg3) { - return IMAGEAPI.CreateImage(arg0, arg1, arg2, arg3); - } - /** - * {@link phoenix.impl.ImageAPI#GetImage} - */ - public static java.lang.Object GetImage(java.lang.Object arg0, java.lang.String arg1) { - return IMAGEAPI.GetImage(arg0, arg1); - } - /** - * {@link phoenix.impl.ImageAPI#GetImage} - */ - public static java.lang.Object GetImage(java.lang.String arg0, java.lang.String arg1) { - return IMAGEAPI.GetImage(arg0, arg1); - } - /** - * {@link phoenix.impl.ImageAPI#RegisterImageTransform} - */ - public static void RegisterImageTransform(java.lang.String arg0) { - IMAGEAPI.RegisterImageTransform(arg0); - } - /** - * {@link phoenix.impl.ImageAPI#RegisterImageTransform} - */ - public static void RegisterImageTransform(java.lang.String arg0, java.lang.String arg1) { - IMAGEAPI.RegisterImageTransform(arg0, arg1); - } - /** - * {@link phoenix.impl.ImageAPI#RegisterImage} - */ - public static void RegisterImage(java.lang.String arg0, java.lang.String arg1, java.lang.Object arg2, java.lang.String arg3, boolean arg4) { - IMAGEAPI.RegisterImage(arg0, arg1, arg2, arg3, arg4); - } - /** - * {@link phoenix.impl.ImageAPI#CreateScaledImage} - */ - public static java.lang.Object CreateScaledImage(java.lang.Object arg0, int arg1, int arg2) { - return IMAGEAPI.CreateScaledImage(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.ImageAPI#CreateJustReflection} - */ - public static java.lang.Object CreateJustReflection(java.lang.Object arg0, float arg1, float arg2) { - return IMAGEAPI.CreateJustReflection(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.ImageAPI#CreateReflection} - */ - public static java.lang.Object CreateReflection(java.lang.Object arg0, float arg1, float arg2) { - return IMAGEAPI.CreateReflection(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.ImageAPI#CreateReflection} - */ - public static java.lang.Object CreateReflection(java.lang.Object arg0) { - return IMAGEAPI.CreateReflection(arg0); - } - /** - * {@link phoenix.impl.ImageAPI#CreatePerspective} - */ - public static java.lang.Object CreatePerspective(java.lang.Object arg0, double arg1, double arg2) { - return IMAGEAPI.CreatePerspective(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.ImageAPI#CreateRotatedImage} - */ - public static java.lang.Object CreateRotatedImage(java.lang.Object arg0, double arg1) { - return IMAGEAPI.CreateRotatedImage(arg0, arg1); - } - /** - * {@link phoenix.impl.ImageAPI#CreateGradientFill} - */ - public static java.lang.Object CreateGradientFill(java.lang.String arg0, int arg1, int arg2, float arg3, float arg4) { - return IMAGEAPI.CreateGradientFill(arg0, arg1, arg2, arg3, arg4); - } - private static final phoenix.impl.MediaAPI MEDIAAPI = new phoenix.impl.MediaAPI(); - /** - * {@link phoenix.impl.MediaAPI#GetSageMediaFile} - */ - public static java.lang.Object GetSageMediaFile(java.lang.Object arg0) { - return MEDIAAPI.GetSageMediaFile(arg0); - } - /** - * {@link phoenix.impl.MediaAPI#getFileSystemMediaFile} - */ - public static java.io.File GetFileSystemMediaFile(java.lang.Object arg0) { - return MEDIAAPI.getFileSystemMediaFile(arg0); - } - /** - * {@link phoenix.impl.MediaAPI#GetMediaResource} - */ - public static sagex.phoenix.vfs.IMediaResource GetMediaResource(java.lang.Object arg0) { - return MEDIAAPI.GetMediaResource(arg0); - } - /** - * {@link phoenix.impl.MediaAPI#GetMediaFile} - */ - public static sagex.phoenix.vfs.IMediaFile GetMediaFile(java.lang.Object arg0) { - return MEDIAAPI.GetMediaFile(arg0); - } - /** - * {@link phoenix.impl.MediaAPI#GetAlbum} - */ - public static sagex.phoenix.vfs.IAlbumInfo GetAlbum(java.lang.Object arg0) { - return MEDIAAPI.GetAlbum(arg0); - } - /** - * {@link phoenix.impl.MediaAPI#IsMediaType} - */ - public static boolean IsMediaType(java.lang.Object arg0, java.lang.String arg1) { - return MEDIAAPI.IsMediaType(arg0, arg1); - } - private static final phoenix.impl.MediaBrowserAPI MEDIABROWSERAPI = new phoenix.impl.MediaBrowserAPI(); - /** - * {@link phoenix.impl.MediaBrowserAPI#GetMediaAsFolder} - */ - public static sagex.phoenix.vfs.IMediaFolder GetMediaAsFolder(java.lang.Object[] arg0, java.lang.String arg1) { - return MEDIABROWSERAPI.GetMediaAsFolder(arg0, arg1); - } - /** - * {@link phoenix.impl.MediaBrowserAPI#GetSageMediaFiles} - */ - public static sagex.phoenix.vfs.IMediaFolder GetSageMediaFiles(java.lang.String arg0, java.lang.String arg1) { - return MEDIABROWSERAPI.GetSageMediaFiles(arg0, arg1); - } - /** - * {@link phoenix.impl.MediaBrowserAPI#CreateView} - */ - public static sagex.phoenix.vfs.views.ViewFolder CreateView(java.lang.String arg0, java.lang.Object arg1) { - return MEDIABROWSERAPI.CreateView(arg0, arg1); - } - /** - * {@link phoenix.impl.MediaBrowserAPI#IsPlayable} - */ - public static boolean IsPlayable(java.lang.Object arg0) { - return MEDIABROWSERAPI.IsPlayable(arg0); - } - /** - * {@link phoenix.impl.MediaBrowserAPI#GetSageSourcesMediaFolder} - */ - public static sagex.phoenix.vfs.IMediaFolder GetSageSourcesMediaFolder(boolean arg0, java.lang.String arg1) { - return MEDIABROWSERAPI.GetSageSourcesMediaFolder(arg0, arg1); - } - /** - * {@link phoenix.impl.MediaBrowserAPI#ReloadViews} - */ - public static void ReloadViews() { - MEDIABROWSERAPI.ReloadViews(); - } - private static final phoenix.impl.MediaMetadataAPI MEDIAMETADATAAPI = new phoenix.impl.MediaMetadataAPI(); - /** - * {@link phoenix.impl.MediaMetadataAPI#StartMetadataScan} - */ - public static java.lang.Object StartMetadataScan(java.lang.Object arg0, java.lang.Object arg1) { - return MEDIAMETADATAAPI.StartMetadataScan(arg0, arg1); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#IsMetadataScanRunning} - */ - public static boolean IsMetadataScanRunning(java.lang.Object arg0) { - return MEDIAMETADATAAPI.IsMetadataScanRunning(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataScanComplete} - */ - public static float GetMetadataScanComplete(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataScanComplete(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#CancelMetadataScan} - */ - public static boolean CancelMetadataScan(java.lang.Object arg0) { - return MEDIAMETADATAAPI.CancelMetadataScan(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResults} - */ - public static sagex.phoenix.metadata.IMetadataSearchResult[] GetMetadataSearchResults(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataSearchResults(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResults} - */ - public static sagex.phoenix.metadata.IMetadataSearchResult[] GetMetadataSearchResults(java.lang.Object arg0, java.lang.String arg1, java.lang.String arg2) { - return MEDIAMETADATAAPI.GetMetadataSearchResults(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultTitle} - */ - public static java.lang.String GetMetadataSearchResultTitle(sagex.phoenix.metadata.IMetadataSearchResult arg0) { - return MEDIAMETADATAAPI.GetMetadataSearchResultTitle(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultScore} - */ - public static float GetMetadataSearchResultScore(sagex.phoenix.metadata.IMetadataSearchResult arg0) { - return MEDIAMETADATAAPI.GetMetadataSearchResultScore(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultYear} - */ - public static java.lang.String GetMetadataSearchResultYear(sagex.phoenix.metadata.IMetadataSearchResult arg0) { - return MEDIAMETADATAAPI.GetMetadataSearchResultYear(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSearchResultProviderId} - */ - public static java.lang.String GetMetadataSearchResultProviderId(sagex.phoenix.metadata.IMetadataSearchResult arg0) { - return MEDIAMETADATAAPI.GetMetadataSearchResultProviderId(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#UpdateMediaFileMetadata} - */ - public static void UpdateMediaFileMetadata(java.lang.Object arg0, sagex.phoenix.metadata.IMetadataSearchResult arg1) { - MEDIAMETADATAAPI.UpdateMediaFileMetadata(arg0, arg1); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#UpdateMediaFileMetadata} - */ - public static void UpdateMediaFileMetadata(java.lang.Object arg0, sagex.phoenix.metadata.IMetadataSearchResult arg1, boolean arg2, java.lang.Object arg3) { - MEDIAMETADATAAPI.UpdateMediaFileMetadata(arg0, arg1, arg2, arg3); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataProgressFailedCount} - */ - public static int GetMetadataProgressFailedCount(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataProgressFailedCount(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataProgressSuccessCount} - */ - public static int GetMetadataProgressSuccessCount(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataProgressSuccessCount(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataProgressSkippedCount} - */ - public static int GetMetadataProgressSkippedCount(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataProgressSkippedCount(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataFailedItems} - */ - public static java.lang.Object[] GetMetadataFailedItems(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataFailedItems(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSuccessItems} - */ - public static java.lang.Object[] GetMetadataSuccessItems(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataSuccessItems(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadataSkippedItems} - */ - public static java.lang.Object[] GetMetadataSkippedItems(java.lang.Object arg0) { - return MEDIAMETADATAAPI.GetMetadataSkippedItems(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetMetadata} - */ - public static sagex.phoenix.metadata.IMetadata GetMetadata(java.lang.Object mediaFile) { - if (mediaFile instanceof IMetadata) return (IMetadata) mediaFile; - if (mediaFile instanceof IMediaFile) return ((IMediaFile)mediaFile).getMetadata(); - IMediaFile mf = phoenix.api.GetMediaFile(mediaFile); - if (mf!=null) { - return mf.getMetadata(); - } - log.warn("GetMetadata(): Unhandled FileType: " + mediaFile ); - return null; - } - /** - * {@link phoenix.impl.MediaMetadataAPI#GetCastMember} - */ - public static sagex.phoenix.metadata.ICastMember GetCastMember(java.lang.Object arg0) { - return MEDIAAPI.GetCastMember(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#ClearCustomMetadata} - */ - public static void ClearCustomMetadata(java.lang.Object arg0) { - MEDIAAPI.ClearCustomMetadata(arg0); - } - /** - * {@link phoenix.impl.MediaMetadataAPI#getMetadataScanTrackers} - */ - public static java.lang.Object[] GetMetadataScanTrackers() { - return MEDIAMETADATAAPI.getMetadataScanTrackers(); - } - private static final phoenix.impl.SkinAPI SKINAPI = new phoenix.impl.SkinAPI(); - /** - * {@link phoenix.impl.SkinAPI#CreateSkin} - */ - public static ISkin CreateSkin(java.lang.String arg0, java.lang.String arg1, java.lang.Object arg2) { - return SKINAPI.CreateSkin(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.SkinAPI#DeleteSkin} - */ - public static void DeleteSkin(java.lang.Object arg0) { - SKINAPI.DeleteSkin(arg0); - } - /** - * {@link phoenix.impl.SkinAPI#GetSkins} - */ - public static ISkin[] GetSkins() { - return SKINAPI.GetSkins(); - } - /** - * {@link phoenix.impl.SkinAPI#StartSkin} - */ - public static boolean StartSkin(ISkin arg0) { - return SKINAPI.StartSkin(arg0); - } - /** - * {@link phoenix.impl.SkinAPI#StopSkin} - */ - public static boolean StopSkin(ISkin arg0) { - return SKINAPI.StopSkin(arg0); - } - /** - * {@link phoenix.impl.SkinAPI#GetSkinResource} - */ - public static java.io.File GetSkinResource(java.lang.Object arg0, java.lang.String arg1) { - return SKINAPI.GetSkinResource(arg0, arg1); - } - /** - * {@link phoenix.impl.SkinAPI#FindSkin} - */ - public static ISkin FindSkin(java.lang.Object arg0) { - return SKINAPI.FindSkin(arg0); - } - /** - * {@link phoenix.impl.SkinAPI#LoadSkin} - */ - public static void LoadSkin(java.lang.String arg0, java.lang.Object arg1) { - SKINAPI.LoadSkin(arg0, arg1); - } - /** - * {@link phoenix.impl.SkinAPI#GetSkinProperty} - */ - public static java.lang.Object GetSkinProperty(java.lang.String arg0, java.lang.Object arg1) { - return SKINAPI.GetSkinProperty(arg0, arg1); - } - private static final phoenix.impl.UserProfileAPI USERPROFILEAPI = new phoenix.impl.UserProfileAPI(); - /** - * {@link phoenix.impl.UserProfileAPI#GetCurrentUserProfile} - */ - public static sagex.phoenix.profiles.Profile GetCurrentUserProfile() { - return USERPROFILEAPI.GetCurrentUserProfile(); - } - /** - * {@link phoenix.impl.UserProfileAPI#SetCurrentUserProfile} - */ - public static void SetCurrentUserProfile(sagex.phoenix.profiles.Profile arg0) { - USERPROFILEAPI.SetCurrentUserProfile(arg0); - } - /** - * {@link phoenix.impl.UserProfileAPI#GetUserProfileName} - */ - public static java.lang.String GetUserProfileName(sagex.phoenix.profiles.Profile arg0) { - return USERPROFILEAPI.GetUserProfileName(arg0); - } - /** - * {@link phoenix.impl.UserProfileAPI#GetUserProfiles} - */ - public static sagex.phoenix.profiles.Profile[] GetUserProfiles() { - return USERPROFILEAPI.GetUserProfiles(); - } - /** - * {@link phoenix.impl.UserProfileAPI#AddUserProfile} - */ - public static sagex.phoenix.profiles.Profile AddUserProfile(java.lang.String arg0) { - return USERPROFILEAPI.AddUserProfile(arg0); - } - /** - * {@link phoenix.impl.UserProfileAPI#RemoveUserProfile} - */ - public static void RemoveUserProfile(sagex.phoenix.profiles.Profile arg0) { - USERPROFILEAPI.RemoveUserProfile(arg0); - } - /** - * {@link phoenix.impl.UserProfileAPI#GetUserProfile} - */ - public static sagex.phoenix.profiles.Profile GetUserProfile(java.lang.String arg0) { - return USERPROFILEAPI.GetUserProfile(arg0); - } - private static final phoenix.impl.UtilAPI UTILAPI = new phoenix.impl.UtilAPI(); - /** - * {@link phoenix.impl.UtilAPI#ToMap} - */ - public static java.util.Map ToMap(java.lang.Object arg0) { - return UTILAPI.ToMap(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#GetRandomNumber} - */ - public static int GetRandomNumber(int arg0) { - return UTILAPI.GetRandomNumber(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#GetRandomElement} - */ - public static java.lang.Object GetRandomElement(java.lang.Object[] arg0) { - return UTILAPI.GetRandomElement(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#Shuffle} - */ - public static java.lang.Object Shuffle(java.lang.Object arg0) { - return UTILAPI.Shuffle(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#SubArray} - */ - public static java.lang.Object SubArray(java.lang.Object arg0, int arg1, int arg2) { - return UTILAPI.SubArray(arg0, arg1, arg2); - } - /** - * {@link phoenix.impl.UtilAPI#SubArray} - */ - public static java.lang.Object SubArray(java.lang.Object arg0, int arg1) { - return UTILAPI.SubArray(arg0, arg1); - } - /** - * {@link phoenix.impl.UtilAPI#RunPhoenixDiagnostics} - */ - public static java.lang.String RunPhoenixDiagnostics(java.lang.String arg0) { - return UTILAPI.RunPhoenixDiagnostics(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#IsAtLeastVersion} - */ - public static boolean IsAtLeastVersion(java.lang.String arg0, java.lang.String arg1) { - return UTILAPI.IsAtLeastVersion(arg0, arg1); - } - /** - * {@link phoenix.impl.UtilAPI#RemoveMetadataFromMediaFile} - */ - public static java.lang.Object RemoveMetadataFromMediaFile(java.lang.Object arg0) { - return UTILAPI.RemoveMetadataFromMediaFile(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#Equals} - */ - public static boolean Equals(java.lang.Object arg0, java.lang.Object arg1) { - return UTILAPI.Equals(arg0, arg1); - } - /** - * {@link phoenix.impl.UtilAPI#InitializePhoenixContext} - */ - public static void InitializePhoenixContext(java.lang.String arg0) { - UTILAPI.InitializePhoenixContext(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#GetRelativePath} - */ - public static java.lang.String GetRelativePath(java.lang.Object arg0, java.lang.Object arg1) { - return UTILAPI.GetRelativePath(arg0, arg1); - } - /** - * {@link phoenix.impl.UtilAPI#ToString} - */ - public static java.lang.String ToString(java.lang.Object arg0) { - return UTILAPI.ToString(arg0); - } - /** - * {@link phoenix.impl.UtilAPI#Log} - */ - public static void Log(int arg0, java.lang.String arg1) { - UTILAPI.Log(arg0, arg1); - } - /** - * {@link phoenix.impl.UtilAPI#CreateRegexFromKeypad} - */ - public static java.lang.String CreateRegexFromKeypad(java.lang.String arg0) { - return UTILAPI.CreateRegexFromKeypad(arg0); - } - private static final phoenix.impl.CommercialAPI COMMERCIALAPI = new phoenix.impl.CommercialAPI(); - /** - * {@link phoenix.impl.CommercialAPI#GetCommercialFile} - */ - public static java.io.File GetCommercialFile(java.lang.Object arg0) { - return COMMERCIALAPI.GetCommercialFile(arg0); - } - /** - * {@link phoenix.impl.CommercialAPI#HasCommercials} - */ - public static boolean HasCommercials(java.lang.Object arg0) { - return COMMERCIALAPI.HasCommercials(arg0); - } - /** - * {@link phoenix.impl.CommercialAPI#getCommercials} - */ - public static phoenix.impl.CommercialStruct[] GetCommercials(java.lang.Object arg0) { - return COMMERCIALAPI.getCommercials(arg0); - } - /** - * {@link phoenix.impl.CommercialAPI#getCommercialStart} - */ - public static float GetCommercialStart(phoenix.impl.CommercialStruct arg0) { - return COMMERCIALAPI.getCommercialStart(arg0); - } - /** - * {@link phoenix.impl.CommercialAPI#getCommercialStop} - */ - public static float GetCommercialStop(phoenix.impl.CommercialStruct arg0) { - return COMMERCIALAPI.getCommercialStop(arg0); - } - /** - * {@link sagex.phoenix.vfs.IMediaFile#getFiles} - */ - public static java.util.List GetMediaFileFiles(Object MediaFile) { - if (MediaFile==null) {log.warn("GetMediaFileFiles: MediaFile was null!"); return null;} - sagex.phoenix.vfs.IMediaFile proxy = phoenix.api.GetMediaFile(MediaFile); - if (proxy==null) {log.warn("GetMediaFileFiles: MediaFile was null when using resolver: phoenix.api.GetMediaFile!; "+ MediaFile +" "); return null;} - return proxy.getFiles(); - } - /** - * {@link sagex.phoenix.vfs.IMediaFile#getMetadata} - */ - public static sagex.phoenix.metadata.IMetadata GetMediaFileMetadata(Object MediaFile) { - if (MediaFile==null) {log.warn("GetMediaFileMetadata: MediaFile was null!"); return null;} - sagex.phoenix.vfs.IMediaFile proxy = phoenix.api.GetMediaFile(MediaFile); - if (proxy==null) {log.warn("GetMediaFileMetadata: MediaFile was null when using resolver: phoenix.api.GetMediaFile!; "+ MediaFile +" "); return null;} - return proxy.getMetadata(); - } - /** - * {@link sagex.phoenix.vfs.IMediaFile#getWatchedDuration} - */ - public static long GetMediaFileWatchedDuration(Object MediaFile) { - if (MediaFile==null) {log.warn("GetMediaFileWatchedDuration: MediaFile was null!"); return 0;} - sagex.phoenix.vfs.IMediaFile proxy = phoenix.api.GetMediaFile(MediaFile); - if (proxy==null) {log.warn("GetMediaFileWatchedDuration: MediaFile was null when using resolver: phoenix.api.GetMediaFile!; "+ MediaFile +" "); return 0;} - return proxy.getWatchedDuration(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#getParent} - */ - public static sagex.phoenix.vfs.IMediaFolder GetMediaParent(Object Media) { - if (Media==null) {log.warn("GetMediaParent: Media was null!"); return null;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("GetMediaParent: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return null;} - return proxy.getParent(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#getId} - */ - public static java.lang.String GetMediaId(Object Media) { - if (Media==null) {log.warn("GetMediaId: Media was null!"); return null;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("GetMediaId: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return null;} - return proxy.getId(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#delete} - */ - public static void Delete(Object Media) { - if (Media==null) {log.warn("Delete: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("Delete: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.delete(null); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#accept} - */ - public static void Accept(Object Media, sagex.phoenix.vfs.IMediaResourceVisitor arg0, sagex.phoenix.progress.IProgressMonitor arg1, int arg2) { - if (Media==null) {log.warn("Accept: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("Accept: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.accept(arg0, arg1, arg2); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#exists} - */ - public static boolean Exists(Object Media) { - if (Media==null) {log.warn("Exists: Media was null!"); return false;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("Exists: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return false;} - return proxy.exists(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#lastModified} - */ - public static long LastModified(Object Media) { - if (Media==null) {log.warn("LastModified: Media was null!"); return 0;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("LastModified: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return 0;} - return proxy.lastModified(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#touch} - */ - public static void Touch(Object Media, long arg0) { - if (Media==null) {log.warn("Touch: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("Touch: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.touch(arg0); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#isType} - */ - public static boolean IsMediaType(Object Media, int arg0) { - if (Media==null) {log.warn("IsMediaType: Media was null!"); return false;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("IsMediaType: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return false;} - return proxy.isType(arg0); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#getTitle} - */ - public static java.lang.String GetMediaTitle(Object Media) { - if (Media==null) {log.warn("GetMediaTitle: Media was null!"); return null;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("GetMediaTitle: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return null;} - return proxy.getTitle(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#getThumbnail} - */ - public static java.lang.Object GetMediaThumbnail(Object Media) { - if (Media==null) {log.warn("GetMediaThumbnail: Media was null!"); return null;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("GetMediaThumbnail: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return null;} - return proxy.getThumbnail(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#isWatched} - */ - public static boolean IsMediaWatched(Object Media) { - if (Media==null) {log.warn("IsMediaWatched: Media was null!"); return false;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("IsMediaWatched: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return false;} - return proxy.isWatched(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#setWatched} - */ - public static void SetMediaWatched(Object Media, boolean arg0) { - if (Media==null) {log.warn("SetMediaWatched: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("SetMediaWatched: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.setWatched(arg0); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#isDontLike} - */ - public static boolean IsMediaDontLike(Object Media) { - if (Media==null) {log.warn("IsMediaDontLike: Media was null!"); return false;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("IsMediaDontLike: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return false;} - return proxy.isDontLike(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#setDontLike} - */ - public static void SetMediaDontLike(Object Media, boolean arg0) { - if (Media==null) {log.warn("SetMediaDontLike: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("SetMediaDontLike: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.setDontLike(arg0); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#isFavorite} - */ - public static boolean IsMediaFavorite(Object Media) { - if (Media==null) {log.warn("IsMediaFavorite: Media was null!"); return false;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("IsMediaFavorite: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return false;} - return proxy.isFavorite(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#setManualRecord} - */ - public static void SetMediaManualRecord(Object Media, boolean arg0) { - if (Media==null) {log.warn("SetMediaManualRecord: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("SetMediaManualRecord: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.setManualRecord(arg0); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#isLibraryFile} - */ - public static boolean IsMediaLibraryFile(Object Media) { - if (Media==null) {log.warn("IsMediaLibraryFile: Media was null!"); return false;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("IsMediaLibraryFile: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return false;} - return proxy.isLibraryFile(); - } - /** - * {@link sagex.phoenix.vfs.IMediaResource#setLibraryFile} - */ - public static void SetMediaLibraryFile(Object Media, boolean arg0) { - if (Media==null) {log.warn("SetMediaLibraryFile: Media was null!"); return ;} - sagex.phoenix.vfs.IMediaResource proxy = GetMediaResource(Media); - if (proxy==null) {log.warn("SetMediaLibraryFile: Media was null when using resolver: GetMediaResource!; "+ Media +" "); return ;} - proxy.setLibraryFile(arg0); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#getName} - */ - public static java.lang.String GetAlbumName(Object Album) { - if (Album==null) {log.warn("GetAlbumName: Album was null!"); return null;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("GetAlbumName: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return null;} - return proxy.getName(); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#getYear} - */ - public static java.lang.String GetAlbumYear(Object Album) { - if (Album==null) {log.warn("GetAlbumYear: Album was null!"); return null;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("GetAlbumYear: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return null;} - return proxy.getYear(); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#getArt} - */ - public static java.lang.Object GetAlbumArt(Object Album) { - if (Album==null) {log.warn("GetAlbumArt: Album was null!"); return null;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("GetAlbumArt: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return null;} - return proxy.getArt(); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#getArtist} - */ - public static java.lang.String GetAlbumArtist(Object Album) { - if (Album==null) {log.warn("GetAlbumArtist: Album was null!"); return null;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("GetAlbumArtist: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return null;} - return proxy.getArtist(); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#getGenre} - */ - public static java.lang.String GetAlbumGenre(Object Album) { - if (Album==null) {log.warn("GetAlbumGenre: Album was null!"); return null;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("GetAlbumGenre: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return null;} - return proxy.getGenre(); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#getTracks} - */ - public static java.util.List GetAlbumTracks(Object Album) { - if (Album==null) {log.warn("GetAlbumTracks: Album was null!"); return null;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("GetAlbumTracks: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return null;} - return proxy.getTracks(); - } - /** - * {@link sagex.phoenix.vfs.IAlbumInfo#hasArt} - */ - public static boolean HasArt(Object Album) { - if (Album==null) {log.warn("HasArt: Album was null!"); return false;} - sagex.phoenix.vfs.IAlbumInfo proxy = phoenix.api.GetAlbum(Album); - if (proxy==null) {log.warn("HasArt: Album was null when using resolver: phoenix.api.GetAlbum!; "+ Album +" "); return false;} - return proxy.hasArt(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getComment} - */ - public static java.lang.String GetMetadataComment(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataComment: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataComment: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getComment(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getDuration} - */ - public static long GetMetadataDuration(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataDuration: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataDuration: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getDuration(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getWidth} - */ - public static int GetMetadataWidth(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataWidth: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataWidth: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getWidth(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getHeight} - */ - public static int GetMetadataHeight(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataHeight: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataHeight: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getHeight(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getTrack} - */ - public static int GetMetadataTrack(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataTrack: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataTrack: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getTrack(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getTotalTracks} - */ - public static int GetMetadataTotalTracks(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataTotalTracks: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataTotalTracks: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getTotalTracks(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getAiringTime} - */ - public static java.util.Date GetMetadataAiringTime(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataAiringTime: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataAiringTime: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getAiringTime(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getThumbnailOffset} - */ - public static int GetMetadataThumbnailOffset(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataThumbnailOffset: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataThumbnailOffset: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getThumbnailOffset(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getThumbnailSize} - */ - public static int GetMetadataThumbnailSize(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataThumbnailSize: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataThumbnailSize: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getThumbnailSize(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getThumbnailDesc} - */ - public static java.lang.String GetMetadataThumbnailDesc(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataThumbnailDesc: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataThumbnailDesc: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getThumbnailDesc(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getPictureResolution} - */ - public static java.lang.String GetMetadataPictureResolution(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataPictureResolution: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataPictureResolution: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getPictureResolution(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getLanguage} - */ - public static java.lang.String GetMetadataLanguage(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataLanguage: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getLanguage(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getYear} - */ - public static int GetMetadataYear(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataYear: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataYear: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getYear(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getDescription} - */ - public static java.lang.String GetMetadataDescription(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataDescription: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataDescription: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getDescription(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setDescription} - */ - public static void SetMetadataDescription(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataDescription: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataDescription: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setDescription(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setYear} - */ - public static void SetMetadataYear(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataYear: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataYear: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setYear(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getEpisodeName} - */ - public static java.lang.String GetMetadataEpisodeName(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataEpisodeName: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataEpisodeName: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getEpisodeName(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setEpisodeName} - */ - public static void SetMetadataEpisodeName(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataEpisodeName: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataEpisodeName: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setEpisodeName(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getAlbum} - */ - public static java.lang.String GetMetadataAlbum(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataAlbum: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataAlbum: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getAlbum(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setAlbum} - */ - public static void SetMetadataAlbum(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataAlbum: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataAlbum: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setAlbum(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getGenres} - */ - public static java.util.List GetMetadataGenres(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataGenres: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataGenres: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getGenres(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getGenreID} - */ - public static java.lang.String GetMetadataGenreID(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataGenreID: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataGenreID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getGenreID(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setGenreID} - */ - public static void SetMetadataGenreID(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataGenreID: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataGenreID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setGenreID(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setLanguage} - */ - public static void SetMetadataLanguage(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataLanguage: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setLanguage(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getRated} - */ - public static java.lang.String GetMetadataRated(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataRated: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataRated: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getRated(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setRated} - */ - public static void SetMetadataRated(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataRated: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataRated: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setRated(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getRunningTime} - */ - public static long GetMetadataRunningTime(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataRunningTime: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataRunningTime: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getRunningTime(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setRunningTime} - */ - public static void SetMetadataRunningTime(Object Metadata, long arg0) { - if (Metadata==null) {log.warn("SetMetadataRunningTime: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataRunningTime: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setRunningTime(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getOriginalAirDate} - */ - public static java.util.Date GetMetadataOriginalAirDate(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataOriginalAirDate: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataOriginalAirDate: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getOriginalAirDate(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setOriginalAirDate} - */ - public static void SetMetadataOriginalAirDate(Object Metadata, java.util.Date arg0) { - if (Metadata==null) {log.warn("SetMetadataOriginalAirDate: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataOriginalAirDate: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setOriginalAirDate(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getExtendedRatings} - */ - public static java.lang.String GetMetadataExtendedRatings(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataExtendedRatings: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataExtendedRatings: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getExtendedRatings(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setExtendedRatings} - */ - public static void SetMetadataExtendedRatings(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataExtendedRatings: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataExtendedRatings: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setExtendedRatings(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getMisc} - */ - public static java.lang.String GetMetadataMisc(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataMisc: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataMisc: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getMisc(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setMisc} - */ - public static void SetMetadataMisc(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataMisc: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataMisc: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setMisc(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getPartNumber} - */ - public static int GetMetadataPartNumber(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataPartNumber: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataPartNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getPartNumber(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setPartNumber} - */ - public static void SetMetadataPartNumber(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataPartNumber: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataPartNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setPartNumber(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getTotalParts} - */ - public static int GetMetadataTotalParts(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataTotalParts: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataTotalParts: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getTotalParts(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setTotalParts} - */ - public static void SetMetadataTotalParts(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataTotalParts: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataTotalParts: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setTotalParts(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isHDTV} - */ - public static boolean IsMetadataHDTV(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataHDTV: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataHDTV: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isHDTV(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setHDTV} - */ - public static void SetMetadataHDTV(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataHDTV: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataHDTV: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setHDTV(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isCC} - */ - public static boolean IsMetadataCC(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataCC: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataCC: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isCC(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setCC} - */ - public static void SetMetadataCC(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataCC: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataCC: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setCC(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getStereo} - */ - public static boolean GetMetadataStereo(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataStereo: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataStereo: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.getStereo(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setStereo} - */ - public static void SetMetadataStereo(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataStereo: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataStereo: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setStereo(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isSubtitled} - */ - public static boolean IsMetadataSubtitled(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataSubtitled: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataSubtitled: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isSubtitled(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSubtitled} - */ - public static void SetMetadataSubtitled(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataSubtitled: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSubtitled: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSubtitled(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getPremiere} - */ - public static boolean GetMetadataPremiere(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataPremiere: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.getPremiere(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setPremiere} - */ - public static void SetMetadataPremiere(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataPremiere: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setPremiere(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isSeasonPremiere} - */ - public static boolean IsMetadataSeasonPremiere(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataSeasonPremiere: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataSeasonPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isSeasonPremiere(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSeasonPremiere} - */ - public static void SetMetadataSeasonPremiere(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataSeasonPremiere: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSeasonPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSeasonPremiere(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isSeriesPremiere} - */ - public static boolean IsMetadataSeriesPremiere(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataSeriesPremiere: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataSeriesPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isSeriesPremiere(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSeriesPremiere} - */ - public static void SetMetadataSeriesPremiere(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataSeriesPremiere: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSeriesPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSeriesPremiere(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isChannelPremiere} - */ - public static boolean IsMetadataChannelPremiere(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataChannelPremiere: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataChannelPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isChannelPremiere(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setChannelPremiere} - */ - public static void SetMetadataChannelPremiere(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataChannelPremiere: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataChannelPremiere: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setChannelPremiere(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isSeasonFinal} - */ - public static boolean IsMetadataSeasonFinal(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataSeasonFinal: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataSeasonFinal: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isSeasonFinal(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSeasonFinal} - */ - public static void SetMetadataSeasonFinal(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataSeasonFinal: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSeasonFinal: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSeasonFinal(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isSeriesFinale} - */ - public static boolean IsMetadataSeriesFinale(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataSeriesFinale: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataSeriesFinale: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isSeriesFinale(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSeriesFinale} - */ - public static void SetMetadataSeriesFinale(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataSeriesFinale: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSeriesFinale: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSeriesFinale(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#isSAP} - */ - public static boolean IsMetadataSAP(Object Metadata) { - if (Metadata==null) {log.warn("IsMetadataSAP: Metadata was null!"); return false;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("IsMetadataSAP: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return false;} - return proxy.isSAP(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSAP} - */ - public static void SetMetadataSAP(Object Metadata, boolean arg0) { - if (Metadata==null) {log.warn("SetMetadataSAP: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSAP: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSAP(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getExternalID} - */ - public static java.lang.String GetMetadataExternalID(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataExternalID: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataExternalID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getExternalID(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setExternalID} - */ - public static void SetMetadataExternalID(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataExternalID: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataExternalID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setExternalID(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoHeight} - */ - public static java.lang.String GetMetadataFormatVideoHeight(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoHeight: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoHeight: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoHeight(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoWidth} - */ - public static java.lang.String GetMetadataFormatVideoWidth(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoWidth: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoWidth: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoWidth(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoFPS} - */ - public static java.lang.String GetMetadataFormatVideoFPS(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoFPS: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoFPS: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoFPS(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoInterlaced} - */ - public static java.lang.String GetMetadataFormatVideoInterlaced(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoInterlaced: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoInterlaced: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoInterlaced(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoProgressive} - */ - public static java.lang.String GetMetadataFormatVideoProgressive(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoProgressive: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoProgressive: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoProgressive(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioNumStreams} - */ - public static int GetMetadataFormatAudioNumStreams(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioNumStreams: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioNumStreams: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getFormatAudioNumStreams(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioStreamNumProperty} - */ - public static java.lang.String GetMetadataFormatAudioStreamNumProperty(Object Metadata, int arg0, java.lang.String arg1) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioStreamNumProperty: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioStreamNumProperty: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatAudioStreamNumProperty(arg0, arg1); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#FormatSubtitleNumStreams} - */ - public static int FormatSubtitleNumStreams(Object Metadata) { - if (Metadata==null) {log.warn("FormatSubtitleNumStreams: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("FormatSubtitleNumStreams: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.FormatSubtitleNumStreams(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatSubtitleStreamNumPropery} - */ - public static java.lang.String GetMetadataFormatSubtitleStreamNumPropery(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatSubtitleStreamNumPropery: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatSubtitleStreamNumPropery: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatSubtitleStreamNumPropery(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatSubtitleCodec} - */ - public static java.lang.String GetMetadataFormatSubtitleCodec(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatSubtitleCodec: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatSubtitleCodec: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatSubtitleCodec(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatContainer} - */ - public static java.lang.String GetMetadataFormatContainer(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatContainer: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatContainer: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatContainer(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoCodec} - */ - public static java.lang.String GetMetadataFormatVideoCodec(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoCodec: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoCodec: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoCodec(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoResolution} - */ - public static java.lang.String GetMetadataFormatVideoResolution(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoResolution: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoResolution: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoResolution(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoAspect} - */ - public static java.lang.String GetMetadataFormatVideoAspect(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoAspect: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoAspect: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoAspect(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioCodec} - */ - public static java.lang.String GetMetadataFormatAudioCodec(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioCodec: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioCodec: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatAudioCodec(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#FormatAudioChannels} - */ - public static java.lang.String FormatAudioChannels(Object Metadata) { - if (Metadata==null) {log.warn("FormatAudioChannels: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("FormatAudioChannels: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.FormatAudioChannels(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioLanguage} - */ - public static java.lang.String GetMetadataFormatAudioLanguage(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioLanguage: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatAudioLanguage(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioSampleRate} - */ - public static java.lang.String GetMetadataFormatAudioSampleRate(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioSampleRate: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioSampleRate: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatAudioSampleRate(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioBitsPerSample} - */ - public static java.lang.String GetMetadataFormatAudioBitsPerSample(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioBitsPerSample: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioBitsPerSample: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatAudioBitsPerSample(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatAudioBitrateKbps} - */ - public static java.lang.String GetMetadataFormatAudioBitrateKbps(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatAudioBitrateKbps: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatAudioBitrateKbps: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatAudioBitrateKbps(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatSubtitleLanguage} - */ - public static java.lang.String GetMetadataFormatSubtitleLanguage(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatSubtitleLanguage: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatSubtitleLanguage: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatSubtitleLanguage(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFormatVideoBitrateMbps} - */ - public static java.lang.String GetMetadataFormatVideoBitrateMbps(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFormatVideoBitrateMbps: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFormatVideoBitrateMbps: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFormatVideoBitrateMbps(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getActors} - */ - public static java.util.List GetMetadataActors(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataActors: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataActors: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getActors(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getLeadActors} - */ - public static java.util.List GetMetadataLeadActors(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataLeadActors: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataLeadActors: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getLeadActors(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getSupportingActors} - */ - public static java.util.List GetMetadataSupportingActors(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataSupportingActors: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataSupportingActors: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getSupportingActors(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getActresses} - */ - public static java.util.List GetMetadataActresses(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataActresses: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataActresses: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getActresses(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getLeadActresses} - */ - public static java.util.List GetMetadataLeadActresses(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataLeadActresses: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataLeadActresses: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getLeadActresses(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getSupportingActresses} - */ - public static java.util.List GetMetadataSupportingActresses(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataSupportingActresses: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataSupportingActresses: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getSupportingActresses(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getGuests} - */ - public static java.util.List GetMetadataGuests(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataGuests: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataGuests: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getGuests(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getGuestStars} - */ - public static java.util.List GetMetadataGuestStars(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataGuestStars: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataGuestStars: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getGuestStars(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getDirectors} - */ - public static java.util.List GetMetadataDirectors(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataDirectors: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataDirectors: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getDirectors(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getProducers} - */ - public static java.util.List GetMetadataProducers(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataProducers: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataProducers: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getProducers(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getWriters} - */ - public static java.util.List GetMetadataWriters(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataWriters: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataWriters: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getWriters(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getChoreographers} - */ - public static java.util.List GetMetadataChoreographers(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataChoreographers: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataChoreographers: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getChoreographers(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getSportsFigures} - */ - public static java.util.List GetMetadataSportsFigures(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataSportsFigures: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataSportsFigures: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getSportsFigures(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getCoaches} - */ - public static java.util.List GetMetadataCoaches(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataCoaches: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataCoaches: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getCoaches(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getHosts} - */ - public static java.util.List GetMetadataHosts(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataHosts: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataHosts: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getHosts(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getExecutiveProducers} - */ - public static java.util.List GetMetadataExecutiveProducers(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataExecutiveProducers: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataExecutiveProducers: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getExecutiveProducers(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getArtists} - */ - public static java.util.List GetMetadataArtists(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataArtists: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataArtists: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getArtists(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getAlbumArtists} - */ - public static java.util.List GetMetadataAlbumArtists(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataAlbumArtists: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataAlbumArtists: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getAlbumArtists(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getComposers} - */ - public static java.util.List GetMetadataComposers(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataComposers: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataComposers: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getComposers(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getJudges} - */ - public static java.util.List GetMetadataJudges(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataJudges: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataJudges: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getJudges(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getNarrators} - */ - public static java.util.List GetMetadataNarrators(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataNarrators: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataNarrators: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getNarrators(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getContestants} - */ - public static java.util.List GetMetadataContestants(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataContestants: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataContestants: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getContestants(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getCorrespondents} - */ - public static java.util.List GetMetadataCorrespondents(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataCorrespondents: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataCorrespondents: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getCorrespondents(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setDiscNumber} - */ - public static void SetMetadataDiscNumber(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataDiscNumber: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataDiscNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setDiscNumber(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setEpisodeNumber} - */ - public static void SetMetadataEpisodeNumber(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataEpisodeNumber: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataEpisodeNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setEpisodeNumber(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setIMDBID} - */ - public static void SetMetadataIMDBID(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataIMDBID: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataIMDBID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setIMDBID(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setMediaProviderDataID} - */ - public static void SetMetadataMediaProviderDataID(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataMediaProviderDataID: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataMediaProviderDataID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setMediaProviderDataID(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setMediaProviderID} - */ - public static void SetMetadataMediaProviderID(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataMediaProviderID: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataMediaProviderID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setMediaProviderID(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setMediaTitle} - */ - public static void SetMetadataMediaTitle(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataMediaTitle: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataMediaTitle: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setMediaTitle(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setMediaType} - */ - public static void SetMetadataMediaType(Object Metadata, java.lang.String arg0) { - if (Metadata==null) {log.warn("SetMetadataMediaType: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataMediaType: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setMediaType(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setSeasonNumber} - */ - public static void SetMetadataSeasonNumber(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataSeasonNumber: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataSeasonNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setSeasonNumber(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#setUserRating} - */ - public static void SetMetadataUserRating(Object Metadata, int arg0) { - if (Metadata==null) {log.warn("SetMetadataUserRating: Metadata was null!"); return ;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("SetMetadataUserRating: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return ;} - proxy.setUserRating(arg0); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getMediaTitle} - */ - public static java.lang.String GetMetadataMediaTitle(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataMediaTitle: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataMediaTitle: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getMediaTitle(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getMediaType} - */ - public static java.lang.String GetMetadataMediaType(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataMediaType: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataMediaType: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getMediaType(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getSeasonNumber} - */ - public static int GetMetadataSeasonNumber(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataSeasonNumber: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataSeasonNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getSeasonNumber(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getEpisodeNumber} - */ - public static int GetMetadataEpisodeNumber(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataEpisodeNumber: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataEpisodeNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getEpisodeNumber(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getIMDBID} - */ - public static java.lang.String GetMetadataIMDBID(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataIMDBID: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataIMDBID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getIMDBID(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getDiscNumber} - */ - public static int GetMetadataDiscNumber(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataDiscNumber: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataDiscNumber: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getDiscNumber(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getMediaProviderID} - */ - public static java.lang.String GetMetadataMediaProviderID(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataMediaProviderID: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataMediaProviderID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getMediaProviderID(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getMediaProviderDataID} - */ - public static java.lang.String GetMetadataMediaProviderDataID(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataMediaProviderDataID: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataMediaProviderDataID: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getMediaProviderDataID(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getUserRating} - */ - public static int GetMetadataUserRating(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataUserRating: Metadata was null!"); return 0;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataUserRating: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return 0;} - return proxy.getUserRating(); - } - /** - * {@link sagex.phoenix.metadata.IMetadata#getFanart} - */ - public static java.util.List GetMetadataFanart(Object Metadata) { - if (Metadata==null) {log.warn("GetMetadataFanart: Metadata was null!"); return null;} - sagex.phoenix.metadata.IMetadata proxy = phoenix.api.GetMetadata(Metadata); - if (proxy==null) {log.warn("GetMetadataFanart: Metadata was null when using resolver: phoenix.api.GetMetadata!; "+ Metadata +" "); return null;} - return proxy.getFanart(); - } - /** - * {@link sagex.phoenix.metadata.ICastMember#getName} - */ - public static java.lang.String GetCastName(Object Cast) { - if (Cast==null) {log.warn("GetCastName: Cast was null!"); return null;} - sagex.phoenix.metadata.ICastMember proxy = phoenix.api.GetCastMember(Cast); - if (proxy==null) {log.warn("GetCastName: Cast was null when using resolver: phoenix.api.GetCastMember!; "+ Cast +" "); return null;} - return proxy.getName(); - } - /** - * {@link sagex.phoenix.metadata.ICastMember#getRole} - */ - public static java.lang.String GetCastRole(Object Cast) { - if (Cast==null) {log.warn("GetCastRole: Cast was null!"); return null;} - sagex.phoenix.metadata.ICastMember proxy = phoenix.api.GetCastMember(Cast); - if (proxy==null) {log.warn("GetCastRole: Cast was null when using resolver: phoenix.api.GetCastMember!; "+ Cast +" "); return null;} - return proxy.getRole(); - } - private static final phoenix.impl.DeprecatedAPI DEPRECATEDAPI = new phoenix.impl.DeprecatedAPI(); - /** - * {@link phoenix.impl.DeprecatedAPI#StartMetadataScan} - */ - public static java.lang.Object StartMetadataScan(java.lang.Object arg0, java.lang.Object[] arg1) { - return DEPRECATEDAPI.StartMetadataScan(arg0, arg1); - } - /** - * {@link phoenix.impl.DeprecatedAPI#IsMetadataScanRunning} - */ - public static boolean IsMetadataScanRunning() { - return DEPRECATEDAPI.IsMetadataScanRunning(); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataScanComplete} - */ - public static float GetMetadataScanComplete() { - return DEPRECATEDAPI.GetMetadataScanComplete(); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataSearchResults} - */ - public static sagex.phoenix.metadata.IMetadataSearchResult[] GetMetadataSearchResults(java.lang.Object arg0, java.lang.Object arg1) { - return DEPRECATEDAPI.GetMetadataSearchResults(arg0, arg1); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetInActiveMetadataProviders} - */ - public static sagex.phoenix.metadata.IMetadataProviderInfo[] GetInActiveMetadataProviders() { - return DEPRECATEDAPI.GetInActiveMetadataProviders(); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetActiveMetadataProviders} - */ - public static sagex.phoenix.metadata.IMetadataProviderInfo[] GetActiveMetadataProviders() { - return DEPRECATEDAPI.GetActiveMetadataProviders(); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetInstalledMetadataProviders} - */ - public static sagex.phoenix.metadata.IMetadataProviderInfo[] GetInstalledMetadataProviders() { - return DEPRECATEDAPI.GetInstalledMetadataProviders(); - } - /** - * {@link phoenix.impl.DeprecatedAPI#IsActiveMetadataProvider} - */ - public static boolean IsActiveMetadataProvider(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - return DEPRECATEDAPI.IsActiveMetadataProvider(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#IncreaseMetadataProviderPriority} - */ - public static void IncreaseMetadataProviderPriority(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - DEPRECATEDAPI.IncreaseMetadataProviderPriority(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#DecreaseMetadataProviderPriority} - */ - public static void DecreaseMetadataProviderPriority(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - DEPRECATEDAPI.DecreaseMetadataProviderPriority(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#AddActiveMetadataProvider} - */ - public static void AddActiveMetadataProvider(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - DEPRECATEDAPI.AddActiveMetadataProvider(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#RemoveActiveMetadataProvider} - */ - public static void RemoveActiveMetadataProvider(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - DEPRECATEDAPI.RemoveActiveMetadataProvider(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataProviderId} - */ - public static java.lang.String GetMetadataProviderId(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - return DEPRECATEDAPI.GetMetadataProviderId(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataProviderName} - */ - public static java.lang.String GetMetadataProviderName(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - return DEPRECATEDAPI.GetMetadataProviderName(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataProviderDescription} - */ - public static java.lang.String GetMetadataProviderDescription(sagex.phoenix.metadata.IMetadataProviderInfo arg0) { - return DEPRECATEDAPI.GetMetadataProviderDescription(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#IsMetadataProviderSupportEnabled} - */ - public static boolean IsMetadataProviderSupportEnabled() { - return DEPRECATEDAPI.IsMetadataProviderSupportEnabled(); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataKeys} - */ - public static java.lang.String[] GetMetadataKeys(java.lang.String arg0) { - return DEPRECATEDAPI.GetMetadataKeys(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataLabel} - */ - public static java.lang.String GetMetadataLabel(java.lang.String arg0) { - return DEPRECATEDAPI.GetMetadataLabel(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetMetadataDescription} - */ - public static java.lang.String GetMetadataDescription(java.lang.String arg0) { - return DEPRECATEDAPI.GetMetadataDescription(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetAiringStartTime} - */ - public static long GetAiringStartTime(java.lang.Object arg0) { - return DEPRECATEDAPI.GetAiringStartTime(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#GetAiringEndTime} - */ - public static long GetAiringEndTime(java.lang.Object arg0) { - return DEPRECATEDAPI.GetAiringEndTime(arg0); - } - /** - * {@link phoenix.impl.DeprecatedAPI#IsAiringManualRecord} - */ - public static boolean IsAiringManualRecord(java.lang.Object arg0) { - return DEPRECATEDAPI.IsAiringManualRecord(arg0); - } + /** + * {@link phoenix.impl.DeprecatedAPI#IsAiringManualRecord} + */ + public static boolean IsAiringManualRecord(java.lang.Object arg0) { + return DEPRECATEDAPI.IsAiringManualRecord(arg0); + } } diff --git a/src/main/java/phoenix/impl/ClientAPI.java b/src/main/java/phoenix/impl/ClientAPI.java index a29c703..7533969 100644 --- a/src/main/java/phoenix/impl/ClientAPI.java +++ b/src/main/java/phoenix/impl/ClientAPI.java @@ -19,7 +19,8 @@ import sagex.phoenix.util.PropertiesUtils; /** - * Manages the extender names as configured in the Sage.properties sagex/uicontexts/ entries + * Manages the extender names as configured in the Sage.properties + * sagex/uicontexts/ entries * * @author sean */ @@ -58,7 +59,8 @@ public Set GetConnectedClients() { * null. The key is the client id (/IP:PORT) or UI Contenxt Name. * * @return - * @deprecated Client Names are stored in Sage.properties under sagex/uicontexts + * @deprecated Client Names are stored in Sage.properties under + * sagex/uicontexts */ public Map LoadWebServerExtenderNames() { Properties clientNames = new Properties(); @@ -69,8 +71,7 @@ public Map LoadWebServerExtenderNames() { log.info("Loading Remote copy of the extender properties..."); // load read-only copy from the server try { - PropertiesUtils.load(clientNames, - new ByteArrayInputStream(data.getBytes())); + PropertiesUtils.load(clientNames, new ByteArrayInputStream(data.getBytes())); } catch (IOException e) { log.warn("Failed to load the remote properties"); } @@ -124,21 +125,23 @@ public synchronized void Remove(String ctx) { return; Configuration.RemoveServerProperty(getContextKeyName(ctx)); } - + private String getContextKeyName(String extender) { - return SAGEX_CONTEXTS+"/"+extender+"/name"; + return SAGEX_CONTEXTS + "/" + extender + "/name"; } /** - * Returns the configured Extender names from the Sage.propertues sagex/uicontexts + * Returns the configured Extender names from the Sage.propertues + * sagex/uicontexts + * * @return */ public Map GetExtenderNames() { - Map names = new HashMap(); - //names.putAll(LoadWebServerExtenderNames()); + Map names = new HashMap(); + // names.putAll(LoadWebServerExtenderNames()); String keys[] = Configuration.GetServerSubpropertiesThatAreBranches(SAGEX_CONTEXTS); if (keys != null) { - for (String k: keys) { + for (String k : keys) { String name = Configuration.GetServerProperty(getContextKeyName(k), null); if (!StringUtils.isEmpty(name)) { names.put(k, name); diff --git a/src/main/java/phoenix/impl/CommercialAPI.java b/src/main/java/phoenix/impl/CommercialAPI.java index 7c46972..73b0a13 100644 --- a/src/main/java/phoenix/impl/CommercialAPI.java +++ b/src/main/java/phoenix/impl/CommercialAPI.java @@ -17,6 +17,7 @@ /** * API for reading EDL Files for commercial skip. An EDL file has the following * Structure... + * *
  * 83.78    299.27  0
  * 832.90  1018.22 0
@@ -29,79 +30,92 @@
  * @author seans
  * 
  */
-@API(group="comskip")
+@API(group = "comskip")
 public class CommercialAPI {
-    private Logger log = Logger.getLogger(CommercialAPI.class);
-    
-    /**
-     * For the given medai file, return the .edl file
-     * 
-     * @param mediaFile Sage MediaFile or VFS MediaFile
-     * @return {@link File} representing the .edl file.  It may not exist.
-     */
-    public File GetCommercialFile(Object mediaFile) {
-        File seg = phoenix.media.GetFileSystemMediaFile(mediaFile);
-        if (seg==null) return null;
-        return new File(seg.getParentFile(), FilenameUtils.getBaseName(seg.getName()) + ".edl");
-    }
+	private Logger log = Logger.getLogger(CommercialAPI.class);
+
+	/**
+	 * For the given medai file, return the .edl file
+	 * 
+	 * @param mediaFile
+	 *            Sage MediaFile or VFS MediaFile
+	 * @return {@link File} representing the .edl file. It may not exist.
+	 */
+	public File GetCommercialFile(Object mediaFile) {
+		File seg = phoenix.media.GetFileSystemMediaFile(mediaFile);
+		if (seg == null)
+			return null;
+		return new File(seg.getParentFile(), FilenameUtils.getBaseName(seg.getName()) + ".edl");
+	}
+
+	/**
+	 * Return true if an edl file file exists, AND it has some content
+	 * 
+	 * @param mediaFile
+	 *            Sage MediaFile or VFS MediaFile
+	 * @return true if the file exists and has content
+	 */
+	public boolean HasCommercials(Object mediaFile) {
+		File f = GetCommercialFile(mediaFile);
+		return f != null && f.exists() && f.length() > 0;
+	}
+
+	/**
+	 * Return the Commercial start and stop points as an Array of
+	 * {@link CommercialStruct} items
+	 * 
+	 * @param mediaFile
+	 *            Sage MediaFile or VFS MediaFile
+	 * @return Array of {@link CommercialStruct} items or null if there are no
+	 *         commercials
+	 */
+	public CommercialStruct[] getCommercials(Object mediaFile) {
+		List comms = new ArrayList();
+		try {
+			Pattern commPat = Pattern.compile("([0-9\\.]+)\\s+([0-9\\.]+)");
+			LineIterator iter = FileUtils.lineIterator(GetCommercialFile(mediaFile));
+			while (iter.hasNext()) {
+				String line = iter.nextLine();
+				Matcher m = commPat.matcher(line);
+				if (m.find()) {
+					CommercialStruct cs = new CommercialStruct();
+					cs.start = NumberUtils.toFloat(m.group(1), 0f);
+					cs.stop = NumberUtils.toFloat(m.group(2), 0f);
+					comms.add(cs);
+				}
+			}
+		} catch (Exception e) {
+			log.warn("Failed to process commercials for: " + mediaFile, e);
+		}
 
-    /**
-     * Return true if an edl file file exists, AND it has some content
-     * @param mediaFile Sage MediaFile or VFS MediaFile
-     * @return true if the file exists and has content
-     */
-    public boolean HasCommercials(Object mediaFile) {
-        File f = GetCommercialFile(mediaFile);
-        return f!=null && f.exists() && f.length()>0;
-    }
+		if (comms.isEmpty())
+			return null;
+		return comms.toArray(new CommercialStruct[] {});
+	}
 
-    /**
-     * Return the Commercial start and stop points as an Array of {@link CommercialStruct} items
-     * 
-     * @param mediaFile Sage MediaFile or VFS MediaFile
-     * @return Array of {@link CommercialStruct} items or null if there are no commercials
-     */
-    public CommercialStruct[] getCommercials(Object mediaFile) {
-        List comms = new ArrayList();
-        try {
-            Pattern commPat = Pattern.compile("([0-9\\.]+)\\s+([0-9\\.]+)");
-            LineIterator iter = FileUtils.lineIterator(GetCommercialFile(mediaFile));
-            while (iter.hasNext()) {
-                String line = iter.nextLine();
-                Matcher m = commPat.matcher(line);
-                if (m.find()) {
-                    CommercialStruct cs = new CommercialStruct();
-                    cs.start = NumberUtils.toFloat(m.group(1), 0f);
-                    cs.stop = NumberUtils.toFloat(m.group(2), 0f);
-                    comms.add(cs);
-                }
-            }
-        } catch (Exception e) {
-            log.warn("Failed to process commercials for: " + mediaFile, e);
-        }
-        
-        if (comms.isEmpty()) return null;
-        return comms.toArray(new CommercialStruct[] {});
-    }
-    
-    /**
-     * return the start value for the commercial
-     * @param comm {@link CommercialStruct}
-     * @return start value
-     */
-    public float getCommercialStart(CommercialStruct comm) {
-        if (comm==null) return 0f;
-        return comm.start;
-    }
+	/**
+	 * return the start value for the commercial
+	 * 
+	 * @param comm
+	 *            {@link CommercialStruct}
+	 * @return start value
+	 */
+	public float getCommercialStart(CommercialStruct comm) {
+		if (comm == null)
+			return 0f;
+		return comm.start;
+	}
 
-    /**
-     * return the stop value for the commercial
-     * 
-     * @param comm {@link CommercialStruct}
-     * @return stop value
-     */
-    public float getCommercialStop(CommercialStruct comm) {
-        if (comm==null) return 0f;
-        return comm.stop;
-    }
+	/**
+	 * return the stop value for the commercial
+	 * 
+	 * @param comm
+	 *            {@link CommercialStruct}
+	 * @return stop value
+	 */
+	public float getCommercialStop(CommercialStruct comm) {
+		if (comm == null)
+			return 0f;
+		return comm.stop;
+	}
 }
diff --git a/src/main/java/phoenix/impl/CommercialStruct.java b/src/main/java/phoenix/impl/CommercialStruct.java
index 30f1c71..7c0d080 100644
--- a/src/main/java/phoenix/impl/CommercialStruct.java
+++ b/src/main/java/phoenix/impl/CommercialStruct.java
@@ -2,9 +2,10 @@
 
 /**
  * Simple structure for holding a single commercial data
+ * 
  * @author seans
  */
 public class CommercialStruct {
-    public float start;
-    public float stop;
+	public float start;
+	public float stop;
 }
\ No newline at end of file
diff --git a/src/main/java/phoenix/impl/ConfigurableOptionsAPI.java b/src/main/java/phoenix/impl/ConfigurableOptionsAPI.java
index da6772e..e6db4fd 100644
--- a/src/main/java/phoenix/impl/ConfigurableOptionsAPI.java
+++ b/src/main/java/phoenix/impl/ConfigurableOptionsAPI.java
@@ -13,8 +13,9 @@
 import sagex.phoenix.tools.annotation.API;
 
 /**
- * API for managing configurable options that tend to be used in Factories and Views
- *  
+ * API for managing configurable options that tend to be used in Factories and
+ * Views
+ * 
  * @author seans
  */
 @API(group = "opt")
@@ -22,15 +23,15 @@ public class ConfigurableOptionsAPI {
 	public String GetName(ConfigurableOption opt) {
 		return opt.getName();
 	}
-	
+
 	public String GetLabel(ConfigurableOption opt) {
 		return opt.getLabel();
 	}
-	
+
 	public String GetType(ConfigurableOption opt) {
 		return opt.getDataType().name();
 	}
-	
+
 	public String GetValue(ConfigurableOption opt) {
 		return opt.getString("");
 	}
@@ -54,27 +55,28 @@ public void SetValue(ConfigurableOption opt, String value) {
 	public boolean IsList(ConfigurableOption opt) {
 		return opt.isList();
 	}
-	
+
 	public boolean IsMultiSelectList(ConfigurableOption opt) {
 		return IsList(opt) && ListSelection.multi.equals(opt.getListSelection());
 	}
-	
+
 	public List GetListValues(ConfigurableOption opt) {
 		return opt.getListValues();
 	}
-	
+
 	public String GetName(ListValue listValue) {
 		return listValue.getName();
 	}
-	
+
 	public String GetValue(ListValue listValue) {
 		return listValue.getValue();
 	}
-	
+
 	public boolean IsToggle(ConfigurableOption opt) {
-		return DataType.bool.equals(opt.getDataType()) || (IsList(opt) && opt.getListValues()!=null&&opt.getListValues().size()>=2);
+		return DataType.bool.equals(opt.getDataType())
+				|| (IsList(opt) && opt.getListValues() != null && opt.getListValues().size() >= 2);
 	}
-	
+
 	public void Toggle(ConfigurableOption opt) {
 		if (IsToggle(opt)) {
 			if (DataType.bool.equals(opt.getDataType())) {
@@ -82,42 +84,44 @@ public void Toggle(ConfigurableOption opt) {
 				opt.value().setValue(String.valueOf(!opt.getBoolean(true)));
 				return;
 			}
-			
+
 			// otherwise toggle list
 			List values = opt.getListValues();
 			String curVal = opt.getString("");
-			if (curVal==null) {
+			if (curVal == null) {
 				opt.value().setValue(values.get(0).getValue());
 				return;
 			}
-			
+
 			// otherwise, find our option, and then move to the next one
 			int pos = -1;
-			for (int i=0;i=values.size()) {
-				pos=0;
+			if (pos >= values.size()) {
+				pos = 0;
 			}
 			opt.value().setValue(values.get(pos).getValue());
 		}
 	}
-	
+
 	public boolean IsListItemSelected(ConfigurableOption opt, ListValue item) {
 		Object val = opt.value().get();
-		if (val==null) return false;
+		if (val == null)
+			return false;
 		String vals[] = String.valueOf(val).split("\\s*,\\s*");
-		
-		for (String s: vals) {
-			if (s.equals(item.getValue())) return true;
+
+		for (String s : vals) {
+			if (s.equals(item.getValue()))
+				return true;
 		}
-		
+
 		return false;
 	}
 
@@ -126,12 +130,14 @@ public void SelectItem(ConfigurableOption opt, ListValue item) {
 		if (opt.isList() && ListSelection.single.equals(opt.getListSelection())) {
 			opt.value().setValue(item.getValue());
 		}
-		
+
 		// multi-select, then add this selection
 		Object val = opt.value().get();
-		if (val==null) return;
+		if (val == null)
+			return;
 		List vals = new ArrayList(Arrays.asList(String.valueOf(val).split("\\s*,\\s*")));
-		if (vals.contains(item.getValue())) return;
+		if (vals.contains(item.getValue()))
+			return;
 		vals.add(item.getValue());
 		opt.value().setValue(StringUtils.join(vals, ","));
 	}
@@ -141,15 +147,16 @@ public void UnselectItem(ConfigurableOption opt, ListValue item) {
 		if (opt.isList() && ListSelection.single.equals(opt.getListSelection())) {
 			opt.value().setValue(null);
 		}
-		
+
 		// multi-select, then add this selection
 		Object val = opt.value().get();
-		if (val==null) return;
+		if (val == null)
+			return;
 		List vals = new ArrayList(Arrays.asList(String.valueOf(val).split("\\s*,\\s*")));
 		vals.remove(item.getValue());
 		opt.value().setValue(StringUtils.join(vals, ","));
 	}
-	
+
 	public ListValue GetSelectedItem(ConfigurableOption opt) {
 		for (ListValue lv : opt.getListValues()) {
 			if (IsListItemSelected(opt, lv)) {
@@ -158,5 +165,5 @@ public ListValue GetSelectedItem(ConfigurableOption opt) {
 		}
 		return null;
 	}
-	
+
 }
diff --git a/src/main/java/phoenix/impl/ConfigurationAPI.java b/src/main/java/phoenix/impl/ConfigurationAPI.java
index d37293b..14c7159 100644
--- a/src/main/java/phoenix/impl/ConfigurationAPI.java
+++ b/src/main/java/phoenix/impl/ConfigurationAPI.java
@@ -19,731 +19,779 @@
  * STV Api Calls related to the Configuration API
  * 
  * @author seans
- *
+ * 
  */
-@API(group="config")
+@API(group = "config")
 public class ConfigurationAPI {
-    /**
-     * Returns the Configured Property value for the client scope, or a default value, if the
-     * property is not set.
-     * 
-     * @param key
-     *            Configuration Key of the property
-     * @param defValue
-     *            Default Value to use if the property is not set.
-     * @return property value if it is set, or defValue if it is not set
-     * @throws RuntimeException
-     *             if a property key is not configured and strict mode is enabled
-     */
-    public String GetProperty(String key, Object defValue) {
-       return Phoenix.getInstance().getConfigurationManager().getClientProperty(key, (defValue==null)?null:String.valueOf(defValue));
-    }
-
-    /**
-     * Same as calling GetProperty(key, null)
-     * 
-     * @param key
-     *            property key or {@link IConfigurationElement}
-     * @return property value
-     */
-    public String GetProperty(Object key) {
-        if (key instanceof IConfigurationElement) {
-            return GetProperty(((IConfigurationElement)key).getId(), null);
-        } else {
-            return GetProperty(String.valueOf(key),null);
-        }
-    }
-
-    /**
-     * Returns the Configured Property value for the server's scope, or a default value, if the
-     * property is not set.
-     * 
-     * @param key
-     *            Configuration Key of the property
-     * @param defValue
-     *            Default Value to use if the property is not set.
-     * @return property value if it is set, or defValue if it is not set
-     * @throws RuntimeException
-     *             if a property key is not configured and strict mode is enabled
-     */
-    public String GetServerProperty(String key, Object defValue) {
-       return Phoenix.getInstance().getConfigurationManager().getServerProperty(key, (defValue==null)?null:String.valueOf(defValue));
-    }
-
-    /**
-     * Same as calling GetProperty(key, null)
-     * 
-     * @param key
-     *            property key or {@link IConfigurationElement}
-     * @return property value
-     */
-    public String GetServerProperty(Object key) {
-        if (key instanceof IConfigurationElement) {
-            return GetServerProperty(((IConfigurationElement)key).getId(),null);
-        } else {
-            return GetServerProperty(String.valueOf(key),null);
-        }
-    }
-
-    /**
-     * Returns the Configured Property value for the users's scope, or a default value, if the
-     * property is not set.
-     * 
-     * @param key
-     *            Configuration Key of the property
-     * @param defValue
-     *            Default Value to use if the property is not set.
-     * @return property value if it is set, or defValue if it is not set
-     * @throws RuntimeException
-     *             if a property key is not configured and strict mode is enabled
-     */
-    public String GetUserProperty(String key, Object defValue) {
-        if (defValue == null) {
-            return Phoenix.getInstance().getConfigurationManager().getUserProperty(key, null);
-        } else {
-            return Phoenix.getInstance().getConfigurationManager().getUserProperty(key, String.valueOf(defValue));
-        }
-    }
-
-    /**
-     * Same as calling GetProperty(key, null)
-     * 
-     * @param key
-     *            property key or {@link IConfigurationElement}
-     * @return property value
-     */
-    public String GetUserProperty(Object key) {
-        if (key instanceof IConfigurationElement) {
-            return GetUserProperty(((IConfigurationElement)key).getId(),null);
-        } else {
-            return GetUserProperty(String.valueOf(key),null);
-        }
-    }
-
-    /**
-     * Sets the given property key to the given value for the client scope 
-     * 
-     * Setting a null property value will unset a property
-     * 
-     * @param key
-     *            property key or {@link IConfigurationElement}
-     * @param value
-     *            property value
-     */
-    public void SetProperty(Object key, Object value) {
-        if (key instanceof IConfigurationElement) {
-            Phoenix.getInstance().getConfigurationManager().setProperty(((IConfigurationElement)key).getId(), (value==null)?null:String.valueOf(value));
-        } else {
-            Phoenix.getInstance().getConfigurationManager().setProperty(String.valueOf(key), (value==null)?null:String.valueOf(value));
-        }
-    }
-
-    /**
-     * Sets the given property key to the given value for the server scope
-     * 
-     * Setting a null property value will unset a property
-     * 
-     * @param key
-     *            property key or {@link IConfigurationElement}
-     * @param value
-     *            property value
-     */
-    public void SetServerProperty(Object key, Object value) {
-        if (key instanceof IConfigurationElement) {
-            Phoenix.getInstance().getConfigurationManager().setServerProperty(((IConfigurationElement)key).getId(), (value==null)?null:String.valueOf(value));
-        } else {
-            Phoenix.getInstance().getConfigurationManager().setServerProperty(String.valueOf(key), (value==null)?null:String.valueOf(value));
-        }
-    }
-
-    /**
-     * Sets the given property key to the given value for the user scope
-     * 
-     * Setting a null property value will unset a property
-     * 
-     * @param key
-     *            property key or {@link IConfigurationElement}
-     * @param value
-     *            property value
-     */
-    public void SetUserProperty(Object key, Object value) {
-        if (key instanceof IConfigurationElement) {
-            Phoenix.getInstance().getConfigurationManager().setUserProperty(((IConfigurationElement)key).getId(), (value==null)?null:String.valueOf(value));
-        } else {
-            Phoenix.getInstance().getConfigurationManager().setUserProperty(String.valueOf(key), (value==null)?null:String.valueOf(value));
-        }
-    }
-
-    /**
-     * Returns the Top level Configuration Groups. Think of Configuration Groups
-     * like a Folder Structure. The method call always returns the Groups of the
-     * root node.
-     * 
-     * @return Array of IConconfigureElement nodes
-     */
-    public IConfigurationElement[] GetConfigurationGroups() {
-        return Phoenix.getInstance().getConfigurationMetadataManager().getParentGroups();
-    }
-
-    /**
-     * Returns the top level configuration group. This group contains the
-     * configurated application groups in the configuration metadata system.
-     * 
-     * @return {@link Group} Root Configuration Group
-     */
-    public Group GetConfigurationRoot() {
-        return Phoenix.getInstance().getConfigurationMetadataManager().getMetadata();
-    }
-
-    /**
-     * Returns the Configuration Group for the given group id
-     * 
-     * @param groupId
-     *            Group Id for the configuration
-     * @return {@link Group} or null if there is no group.
-     */
-    public Group GetConfiguration(String groupId) {
-        return (Group) GetConfigurationRoot().findElement(groupId);
-    }
-    
-    /**
-     * Returns the configuration metadata for the given property key or fieldId
-     * 
-     * @param fieldId  field's id (ie, property name)
-     * @return Field
-     */
-    public Field GetField(String fieldId) {
-    	return (Field) GetConfigurationRoot().findElement(fieldId);
-    }
-    
-    /**
-     * return the {@link IConfigurationElement} for the given key.  ie, this may return
-     * a {@link Group} or a {@link Field}.
-     * 
-     * @param key
-     * @return
-     */
-    public IConfigurationElement GetElement(String key) {
-    	return GetConfigurationRoot().findElement(key);
-    }
-
-    /**
-     * Returns the Parent Group to which this element belongs, or null, if there
-     * is no parent.
-     * 
-     * @param el
-     *            {@link IConfigurationElement} configuration element (field or
-     *            group)
-     * @return parent {@link Group} or null if there is no parent.
-     */
-    public Group GetConfigurationParent(IConfigurationElement el) {
-        if (el == null) return null;
-        return (Group) el.getParent();
-    }
-
-    /**
-     * Get all Configuration Elements of the given group. A Configuration
-     * Element can either be a Group or Field.
-     * 
-     * @param parent
-     *            Parent Group from which you want to get the Configuration
-     *            Elements
-     * @return Array of IConfigurationElement nodes, or null if there are no
-     *         children, or if the parent is null
-     */
-    public IConfigurationElement[] GetConfigurationChildren(Group parent) {
-        if (parent == null) {
-            return null;
-        }
-        return parent.getVisibleItems();
-    }
-
-    /**
-     * Returns true of the element is a Group Element. You can think of Group
-     * elements like Folders. Group Elements contain Children that can either be
-     * another Group or a Field
-     * 
-     * @param e
-     *            IConfigurationElement that you want to test
-     * @return true if the element is a Group
-     */
-    public boolean IsConfigurationGroup(IConfigurationElement e) {
-        if (e == null) return false;
-        return e.getElementType() == IConfigurationElement.GROUP || e.getElementType() == IConfigurationElement.APPLICATION;
-    }
-
-    /**
-     * Returns true if the Configuration Element is a top level application
-     * element. Application Elements are Also Group Elements, but they are a
-     * special type of Group. Application Elements are basically the parent of a
-     * collection of related groups. ie, "sage" would be an Application Element
-     * that contains all the configuration items for SageTV. "phoenix" would be
-     * an Application Element that contains all the configuration items for
-     * Phoenix.
-     * 
-     * @param e
-     *            IConfigurationElement that you are testing
-     * @return true if this element is an Application Element
-     */
-    public boolean IsConfigurationApplication(IConfigurationElement e) {
-        if (e == null) return false;
-        return e.getElementType() == IConfigurationElement.APPLICATION;
-    }
-
-    /**
-     * Returns true if this element is a Configuration Field. A Configuration
-     * Field is a child of a Group and contains information about the
-     * configurable item. It holds information such as it's default value, field
-     * type, configuration key, etc.
-     * 
-     * @param e
-     *            {@link IConfigurationElement} that you are testing
-     * @return true if this element is a Field
-     */
-    public boolean IsConfigurationField(IConfigurationElement e) {
-        if (e == null) return false;
-        return e.getElementType() == IConfigurationElement.FIELD;
-    }
-
-    /**
-     * Returns the localized Label for the Configuration Element. This can be an
-     * Application, Group, of Field.
-     * 
-     * @param g
-     *            Configuration Element from which you want to get a Localized
-     *            Label
-     * @return Localized label for the given Configuration Element
-     */
-    public String GetConfigurationLabel(IConfigurationElement g) {
-        if (g == null) return "";
-        return g.getLabel();
-    }
-
-    /**
-     * Returns the localized Description for the Configuration Element. This can
-     * be an Application, Group, of Field.
-     * 
-     * @param g
-     *            Configuration Element from which you want to get a Localized
-     *            Description
-     * @return Localized description for the given Configuration Element
-     */
-    public String GetConfigurationDescription(IConfigurationElement g) {
-        if (g == null) return "";
-        return g.getDescription();
-    }
-
-    /**
-     * Returns the configuration element type as defined in {@link ConfigType}
-     * 
-     * @param e
-     *            {@link IConfigurationElement}
-     * @return field's type as a string value
-     */
-    public String GetConfigurationFieldType(IConfigurationElement e) {
-        if (e == null) return ConfigType.toCommonName(ConfigType.TEXT);
-        return ConfigType.toCommonName(((Field) e).getType());
-    }
-
-    /**
-     * Returns the field's default value as a String. A field's default value is
-     * determined from the defaultValue attribute of the field in the
-     * configuration metadata xml
-     * 
-     * @param e
-     *            {@link IConfigurationElement}
-     * @return default value of the element as a String
-     */
-    public String GetConfigurationDefaultValue(IConfigurationElement e) {
-        if (e == null) return "";
-        return ((Field) e).getDefaultValue();
-    }
-
-    /**
-     * Return the unique key that identifies this Configuration Field. This is
-     * the key that this Field uses in it's property file. All
-     * {@link IConfigurationElement}'s must be unique the system.
-     * 
-     * @param e
-     *            {@link IConfigurationElement}
-     * @return Key for this Element
-     */
-    public String GetConfigurationKey(IConfigurationElement e) {
-        if (e == null) return "";
-        return e.getId();
-    }
-
-    /**
-     * This is a debug method that can be used to reload the configuration and
-     * configuration metadata without requiring a complete SageTV restart. The
-     * main use for this would be when you are developing in the STV and you
-     * need a new property, you can edit the metadata xml and then reload the
-     * configuration so that you can carry forward and use that new
-     * configuration item without have to restart SageTV.
-     * 
-     * This API call will probably be hidden once the project is released.
-     */
-    public void ReloadConfiguration() {
-        Phoenix.getInstance().getConfigurationMetadataManager().loadConfigurations();
-        Phoenix.getInstance().getConfigurationManager().reload();
-    }
-    
-    /**
-     * Convenience Method for testing if a Configuration Item is the "New Search" group item.
-     * 
-     * @param el {@link IConfigurationElement}
-     * @return true if the item is the "New Search" configuration group item
-     */
-    public boolean IsConfigurationNewSearchButton(IConfigurationElement el) {
-        return el instanceof NewSearchGroup;
-    }
-    
-    /**
-     * Convenience Method for testing if a Configuration Item is a Search Results group item.
-     * 
-     * @param el {@link IConfigurationElement}
-     * @return true if the item is a search result group
-     */
-    public boolean IsConfigurationSearchResult(IConfigurationElement el) {
-        return el instanceof SearchResultGroup;
-    }
-    
-    /**
-     * Sets/Re-Sets the Search Criteria for a SearchResult Group
-     * 
-     * @param text Search Criteria
-     * @param el {@link IConfigurationElement}
-     */
-    public void UpdateConfigurationSearch(String text, IConfigurationElement el) {
-        if (IsConfigurationSearchResult(el)) {
-            ((SearchResultGroup)el).setSearchString(text);
-        }
-    }
-
-    /**
-     * Add a New Search Result to the Search parent
-     * 
-     * @param searchCriteria What to search on
-     * @return SearchResultGroup containing the item results
-     */
-    public Group AddConfigurationSearch(String searchCriteria) {
-        return NewSearchGroup.newSearch(searchCriteria);
-    }
-
-    /**
-     * Remove a Search Result Group from the Search Tab
-     * 
-     * @param result {@link IConfigurationElement}
-     */
-    public void RemoveConfigurationSearch(IConfigurationElement el) {
-        NewSearchGroup.removeSearch((SearchResultGroup)el);
-    }
-
-    /**
-     * Return true if the configuration group has children
-     * 
-     * @param group
-     * @return
-     */
-    public boolean HasConfigurationChildren(IConfigurationElement group) {
-        if (group == null) {
-            return false;
-        }
-        
-        if (group instanceof Group) {
-            IConfigurationElement children[] = GetConfigurationChildren((Group)group);
-            return children!=null && children.length>0;
-        } else {
-            return false;
-        }
-    }
-    
-    /**
-     * Returns true if the configuration element is a boolean type
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsBoolean(IConfigurationElement el) {
-    	return IsType(el, ConfigType.BOOL.name());
-    }
-
-    /**
-     * Return true if the configuration element is a number (ie, int, float, etc)
-     * @param el
-     * @return
-     */
-    public boolean IsNumber(IConfigurationElement el) {
-    	return IsType(el, ConfigType.NUMBER.name());
-    }
-
-    /**
-     * Returns true if the configuration element is text or string
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsText(IConfigurationElement el) {
-    	return IsType(el, ConfigType.TEXT.name());
-    }
-
-    /**
-     * Returns true if the configuration element is a Button.
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsButton(IConfigurationElement el) {
-    	return IsType(el, ConfigType.BUTTON.name());
-    }
-
-    /**
-     * Returns true if the configuration is a single choice element.  You can
-     * call GetOptions(el) to get a list of possible options.
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsChoice(IConfigurationElement el) {
-    	return IsType(el, ConfigType.CHOICE.name());
-    }
-
-    /**
-     * Returns true if the configuration element is a directory
-     * @param el
-     * @return
-     */
-    public boolean IsDirectory(IConfigurationElement el) {
-    	return IsType(el, ConfigType.DIRECTORY.name());
-    }
-
-    /**
-     * Returns true if the configuration element is a regular file
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsFile(IConfigurationElement el) {
-    	return IsType(el, ConfigType.FILE.name());
-    }
-
-    /**
-     * Returns true if the configuration element is a MultiChoice or Multi Select option.  You 
-     * can call GetOption(el) to get a list of possible multi choice options.
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsMultiChoice(IConfigurationElement el) {
-    	return IsType(el, ConfigType.MULTICHOICE.name());
-    }
-
-    /**
-     * Returns true if the type is a password.  Password fields should be masked out and are stored as Text.
-     * 
-     * @param el
-     * @return
-     */
-    public boolean IsPassword(IConfigurationElement el) {
-    	return IsType(el, ConfigType.PASSWORD.name());
-    }
-    
-    /**
-     * Generic type check method that relies on the {@link ConfigType} for possible types.
-     * 
-     * @param el
-     * @param type
-     * @return
-     */
-    public boolean IsType(IConfigurationElement el, String type) {
-    	ConfigType t = ConfigType.toConfigType(type);
-    	return (el!=null && el instanceof Field && t == ((Field)el).getType());
-    }
-    
-    /**
-     * For MultiChoice type fields, this is the list separator that should be used when storing multiple selections.
-     * 
-     * @param f
-     * @return
-     */
-    public String GetListSeparator(Field f) {
-    	return f.getListSeparator();
-    }
-    
-    /**
-     * Returns true if the configuration field has possible selection options.  For boolean types this will also
-     * return true, and you will have 2 possible options for "true" and "false".
-     * 
-     * @param f
-     * @return
-     */
-    public boolean HasOptions(Field f) {
-    	List opts = GetOptions(f);
-    	return opts!=null&&opts.size()>0;
-    }
-    
-    /**
-     * Returns the Options for a given field.  May be null or empty.  For booleans this will also return list
-     * of 2 items for "true" and "false"
-     * 
-     * @param f
-     * @return
-     */
-    public List GetOptions(Field f) {
-    	return f.getOptions();
-    }
-    
-    /**
-     * For a given {@link NamedValue} option return the option's label.
-     * @param option
-     * @return
-     */
-    public String GetOptionLabel(NamedValue option) {
-    	return option.getName();
-    }
-    
-    /**
-     * For a given {@link NamedValue} option return the option's value.
-     * 
-     * @param option
-     * @return
-     */
-    public String GetOptionValue(NamedValue option) {
-    	return option.getValue();
-    }
-    
-    /**
-     * A convenience method to lookup an option's Label for a given value.  For example, you can find the
-     * label for a boolean field using GetOptionLable(field, "true", "OK").  
-     * 
-     * @param field Configuration {@link Field}
-     * @param value option value
-     * @param defLabel default label to return if the option's label is null, or the option does not exist.
-     * @return
-     */
-    public String GetOptionLabel(Field field, Object value, String defLabel) {
-    	value = (value==null)?null:String.valueOf(value);
-    	List opts = field.getOptions();
-    	if (opts!=null) {
-    		for (NamedValue nv : opts) {
-    			if (value.equals(nv.getValue())) {
-    				return nv.getName();
-    			}
-    		}
-    	}
-    	return defLabel;
-    }
-    
-    /**
-     * Gets the {@link NamedValue} for the given value
-     * 
-     * @param field
-     * @param value
-     * @return
-     */
-    public NamedValue GetOption(Field field, Object value) {
-    	value = (value==null)?null:String.valueOf(value);
-    	List opts = field.getOptions();
-    	if (opts!=null) {
-    		for (NamedValue nv : opts) {
-    			if (value.equals(nv.getValue())) {
-    				return nv;
-    			}
-    		}
-    	}
-    	return null;
-    }
-    
-    /**
-     * Returns the range of options for the given field, or null, if no options
-     * are provided.
-     * 
-     * @param field
-     * @return
-     */
-    public String[] GetOptionRange(Field field) {
-    	List opts = field.getOptions();
-    	if (opts!=null&&opts.size()>0) {
-    		return new String[] {opts.get(0).getValue(), opts.get(opts.size()-1).getValue()};
-    	}
-    	return null;
-    }
-    
-    /**
-     * Returns true the the option's value is in the field's curValue list.  ie, The option is
-     * selected because the field's current value is the same as the option.  This should work for both
-     * Single Choice and Multi Choice options.  For example, if the fields's current value is "12;24"
-     * @param field
-     * @param curValue
-     * @param option
-     * @return
-     */
-    public boolean IsSelected(NamedValue option, Field field, Object curValue) {
-    	if (curValue==null||field==null||option==null) return false;
-    	curValue = String.valueOf(curValue);
-    	String values[] = null;
-    	if (IsMultiChoice(field)) {
-    		values = ((String)curValue).split(field.getListSeparator());
-    	} else {
-    		values = new String[] {(String)curValue};
-    	}
-    	for (String v: values) {
-    		if (v.equals(option.getValue())) {
-    			return true;
-    		}
-    	}
-    	return false;
-    }
-    
-    /**
-     * Returns a List of NamedValue object, that can be used as configuration option
-     * choices.  The data can be a list, map, array, etc, and it will convert to
-     * the List of NamedValue objects.
-     * 
-     * @param data
-     * @return
-     */
-    public List CreateOptionList(Object data) {
-    	return ConfigUtils.getOptions(data);
-    }
-    
-    /**
-     * Same as Toggle(Field) except uses the property Key.
-     * 
-     * @param prop
-     */
-    public void Toggle(String prop) {
-    	Toggle(GetField(prop));
-    }
-    
-    /**
-     * For a boolean field it will toggle between true and false.  For Choice options, it will
-     * toggle to next value in the choice.  ie, if the choices are "1", "2", and "3", then calling
-     * Toggle when the value is "2" will set the value to "3", and calling Toggle when
-     * the value is "3" will set the value to "1".
-     * 
-     * If field can't be toggled then nothing happens.
-     * 
-     * @param f Field to toggle
-     */
-    public void Toggle(Field f) {
-    	if (f.getType()==ConfigType.BOOL) {
-    		SetProperty(f, !BooleanUtils.toBoolean(GetProperty(f)));
-    	} else if (HasOptions(f)) {
-    		String value = GetProperty(f);
-    		List opts = f.getOptions();
-    		int pos = -1;
-    		for (int i=0;i