Package deefuzzer :: Module station :: Class Station
[hide private]
[frames] | no frames]

Class Station

source code

        object --+        
                 |        
threading._Verbose --+    
                     |    
      threading.Thread --+
                         |
                        Station

a DeeFuzzer shouting station thread

Instance Methods [hide private]
 
__init__(self, station, q, logqueue, m3u)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_path_add_base(self, a) source code
 
_path_m3u_rel(self, a) source code
 
_log(self, level, msg) source code
 
_info(self, msg) source code
 
_err(self, msg) source code
 
run_callback(self, path, value) source code
 
media_next_callback(self, path, value) source code
 
relay_callback(self, path, value) source code
 
twitter_callback(self, path, value) source code
 
jingles_callback(self, path, value) source code
 
record_callback(self, path, value) source code
 
player_callback(self, path, value) source code
 
get_playlist(self) source code
 
get_jingles(self) source code
 
tweet(self) source code
 
get_next_media(self) source code
 
media_to_objs(self, media_list) source code
 
update_feeds(self, media_list, rss_file, sub_title) source code
 
update_twitter(self, message) source code
 
set_relay_mode(self) source code
 
get_songmeta(self, mediaobj) source code
 
get_currentsongmeta(self) source code
 
set_read_mode(self) source code
 
set_webm_read_mode(self) source code
 
update_twitter_current(self) source code
 
channel_open(self) source code
 
channel_close(self) source code
 
ping_server(self) source code
 
icecastloop_nextmedia(self) source code
 
__twitter_should_update(self)
Returns whether or not an update should be sent to Twitter
source code
 
icecastloop_metadata(self) source code
 
run(self) source code

Inherited from threading.Thread: __repr__, getName, isAlive, isDaemon, is_alive, join, setDaemon, setName, start

Inherited from threading.Thread (private): _reset_internal_locks, _set_daemon, _set_ident

Inherited from threading._Verbose (private): _note

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  id = 0
  valid = False
  counter = 0
  delay = 0
  start_time = 1422661080.64
  server_ping = False
  playlist = []
  media_source = None
hash(x)
  lp = 1
  player_mode = 1
  osc_control_mode = 0
  twitter_mode = 0
  jingles_mode = 0
  relay_mode = 0
  record_mode = 0
  run_mode = 1
  appendtype = 0
  feeds_json = 0
  feeds_rss = 1
  feeds_mode = 1
  feeds_playlist = 1
  feeds_showfilepath = 0
  feeds_showfilename = 0
  short_name = ''
  channelIsOpen = False
  starting_id = -1
  jingles_frequency = 2
  statusfile = ''
  base_directory = ''
Properties [hide private]

Inherited from threading.Thread: daemon, ident, name

Inherited from threading.Thread (private): _block

Inherited from object: __class__

Method Details [hide private]

__init__(self, station, q, logqueue, m3u)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

run(self)

source code 
Overrides: threading.Thread.run