sk.baka.ambient
Class ConfigurationBean

java.lang.Object
  extended by sk.baka.ambient.ConfigurationBean

public final class ConfigurationBean
extends Object

Contains current ambient configuration.

Author:
Martin Vysny

Nested Class Summary
static class ConfigurationBean.TrackChangeNotifEnum
          A notification to show when the current playing track is changed.
static class ConfigurationBean.TrackChangeNotifLocationEnum
          A notification to show when the current playing track is changed.
 
Field Summary
 String ampacheEmbeddedPassword
          If true then new covers will not be downloaded.
 int coverCache
          Cache size in kb.
 boolean dontDownloadOnCacheFull
          If true then new covers will not be downloaded.
 boolean dontRepeatSameTag
          Show tag as null if previous track's tag was the same.
 int dynamicHistorySize
          Dynamic playlist: History length.
 int dynamicUpcomingSize
          Dynamic playlist: upcoming track count.
 String longNotificationFormat
          The "long" notification format.
 ConfigurationBean.TrackChangeNotifLocationEnum notificationLocation
          Where to show the notification on screen.
 ConfigurationBean.TrackChangeNotifEnum notificationType
          A notification to show when the current playing track is changed.
 boolean notifyWhenMinimizedOnly
          Notify only when minimized.
 long playerGap
          The gap between tracks, in millis.
 String playerTickerFormat
          Formatting string for the player ticker.
 String playlistFormat
          Formatting string for the playlist items.
 boolean rememberPlaylist
          Remember playlist on player quit.
 String scanDirs
          Scan these directories for sound files.
 String shortNotificationFormat
          The "short" notification format.
 
Constructor Summary
ConfigurationBean()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

notificationType

@Bind(captionId=2131099705,
      viewId=2131230744)
public ConfigurationBean.TrackChangeNotifEnum notificationType
A notification to show when the current playing track is changed.


notificationLocation

@Bind(captionId=2131099709,
      viewId=2131230745)
public ConfigurationBean.TrackChangeNotifLocationEnum notificationLocation
Where to show the notification on screen.


shortNotificationFormat

@Bind(captionId=2131099714,
      viewId=2131230746,
      escape=true,
      tagFormat=true)
public String shortNotificationFormat
The "short" notification format.


longNotificationFormat

@Bind(captionId=2131099715,
      viewId=2131230747,
      escape=true,
      tagFormat=true)
public String longNotificationFormat
The "long" notification format.


scanDirs

@Bind(captionId=2131099702,
      viewId=2131230732)
public String scanDirs
Scan these directories for sound files. Directory names are separated by ':'


dynamicHistorySize

@Bind(captionId=2131099703,
      viewId=2131230738,
      min=0,
      max=99)
public int dynamicHistorySize
Dynamic playlist: History length.


dynamicUpcomingSize

@Bind(captionId=2131099704,
      viewId=2131230739,
      min=1,
      max=99)
public int dynamicUpcomingSize
Dynamic playlist: upcoming track count.


notifyWhenMinimizedOnly

@Bind(captionId=-1,
      viewId=2131230749)
public boolean notifyWhenMinimizedOnly
Notify only when minimized.


playerTickerFormat

@Bind(captionId=2131099716,
      viewId=2131230751,
      escape=true,
      tagFormat=true)
public String playerTickerFormat
Formatting string for the player ticker.


playerGap

@Bind(captionId=2131099717,
      viewId=2131230752,
      min=0,
      max=9999)
public long playerGap
The gap between tracks, in millis.


playlistFormat

@Bind(captionId=2131099718,
      viewId=2131230740,
      escape=true,
      tagFormat=true)
public String playlistFormat
Formatting string for the playlist items.


dontRepeatSameTag

@Bind(captionId=-1,
      viewId=2131230741)
public boolean dontRepeatSameTag
Show tag as null if previous track's tag was the same.


rememberPlaylist

@Bind(captionId=-1,
      viewId=2131230742)
public boolean rememberPlaylist
Remember playlist on player quit.


coverCache

@Bind(captionId=2131099722,
      viewId=2131230733)
public int coverCache
Cache size in kb.


dontDownloadOnCacheFull

@Bind(captionId=-1,
      viewId=2131230734)
public boolean dontDownloadOnCacheFull
If true then new covers will not be downloaded. If false then old covers will be purged.


ampacheEmbeddedPassword

@Bind(captionId=-1,
      viewId=2131230736)
public String ampacheEmbeddedPassword
If true then new covers will not be downloaded. If false then old covers will be purged.

Constructor Detail

ConfigurationBean

public ConfigurationBean()


Copyright © 2007-2008. All Rights Reserved.