SYMBOL INDEX (439 symbols across 20 files)
FILE: command.py
function register_all_commands (line 25) | def register_all_commands(bot):
function send_multi_lines (line 90) | def send_multi_lines(bot, lines, text, linebreak="
"):
function send_multi_lines_in_channel (line 107) | def send_multi_lines_in_channel(bot, lines, linebreak="
"):
function send_item_added_message (line 124) | def send_item_added_message(bot, wrapper, index, text):
function cmd_joinme (line 145) | def cmd_joinme(bot, user, text, command, parameter):
function cmd_user_ban (line 152) | def cmd_user_ban(bot, user, text, command, parameter):
function cmd_user_unban (line 166) | def cmd_user_unban(bot, user, text, command, parameter):
function cmd_url_ban (line 174) | def cmd_url_ban(bot, user, text, command, parameter):
function cmd_url_ban_list (line 202) | def cmd_url_ban_list(bot, user, text, command, parameter):
function cmd_url_unban (line 211) | def cmd_url_unban(bot, user, text, command, parameter):
function cmd_url_whitelist (line 220) | def cmd_url_whitelist(bot, user, text, command, parameter):
function cmd_url_whitelist_list (line 236) | def cmd_url_whitelist_list(bot, user, text, command, parameter):
function cmd_url_unwhitelist (line 245) | def cmd_url_unwhitelist(bot, user, text, command, parameter):
function cmd_play (line 254) | def cmd_play(bot, user, text, command, parameter):
function cmd_pause (line 287) | def cmd_pause(bot, user, text, command, parameter):
function cmd_play_file (line 294) | def cmd_play_file(bot, user, text, command, parameter, do_not_refresh_ca...
function cmd_play_file_match (line 348) | def cmd_play_file_match(bot, user, text, command, parameter, do_not_refr...
function cmd_play_url (line 391) | def cmd_play_url(bot, user, text, command, parameter):
function cmd_play_playlist (line 409) | def cmd_play_playlist(bot, user, text, command, parameter):
function cmd_play_radio (line 432) | def cmd_play_radio(bot, user, text, command, parameter):
function cmd_rb_query (line 459) | def cmd_rb_query(bot, user, text, command, parameter):
function cmd_rb_play (line 517) | def cmd_rb_play(bot, user, text, command, parameter):
function cmd_yt_search (line 558) | def cmd_yt_search(bot, user, text, command, parameter):
function _yt_format_result (line 592) | def _yt_format_result(results, start, count):
function cmd_yt_play (line 602) | def cmd_yt_play(bot, user, text, command, parameter):
function cmd_help (line 618) | def cmd_help(bot, user, text, command, parameter):
function cmd_stop (line 625) | def cmd_stop(bot, user, text, command, parameter):
function cmd_clear (line 636) | def cmd_clear(bot, user, text, command, parameter):
function cmd_kill (line 643) | def cmd_kill(bot, user, text, command, parameter):
function cmd_update (line 650) | def cmd_update(bot, user, text, command, parameter):
function cmd_stop_and_getout (line 663) | def cmd_stop_and_getout(bot, user, text, command, parameter):
function cmd_volume (line 673) | def cmd_volume(bot, user, text, command, parameter):
function cmd_max_volume (line 693) | def cmd_max_volume(bot, user, text, command, parameter):
function cmd_ducking (line 709) | def cmd_ducking(bot, user, text, command, parameter):
function cmd_ducking_threshold (line 729) | def cmd_ducking_threshold(bot, user, text, command, parameter):
function cmd_ducking_volume (line 742) | def cmd_ducking_volume(bot, user, text, command, parameter):
function cmd_current_music (line 755) | def cmd_current_music(bot, user, text, command, parameter):
function cmd_skip (line 764) | def cmd_skip(bot, user, text, command, parameter):
function cmd_last (line 777) | def cmd_last(bot, user, text, command, parameter):
function cmd_remove (line 787) | def cmd_remove(bot, user, text, command, parameter):
function cmd_list_file (line 820) | def cmd_list_file(bot, user, text, command, parameter):
function cmd_queue (line 857) | def cmd_queue(bot, user, text, command, parameter):
function cmd_random (line 881) | def cmd_random(bot, user, text, command, parameter):
function cmd_repeat (line 888) | def cmd_repeat(bot, user, text, command, parameter):
function cmd_mode (line 909) | def cmd_mode(bot, user, text, command, parameter):
function cmd_play_tags (line 927) | def cmd_play_tags(bot, user, text, command, parameter):
function cmd_add_tag (line 951) | def cmd_add_tag(bot, user, text, command, parameter):
function cmd_remove_tag (line 987) | def cmd_remove_tag(bot, user, text, command, parameter):
function cmd_find_tagged (line 1037) | def cmd_find_tagged(bot, user, text, command, parameter):
function cmd_search_library (line 1070) | def cmd_search_library(bot, user, text, command, parameter):
function cmd_shortlist (line 1117) | def cmd_shortlist(bot, user, text, command, parameter):
function cmd_delete_from_library (line 1176) | def cmd_delete_from_library(bot, user, text, command, parameter):
function cmd_drop_database (line 1228) | def cmd_drop_database(bot, user, text, command, parameter):
function cmd_refresh_cache (line 1242) | def cmd_refresh_cache(bot, user, text, command, parameter):
function cmd_web_access (line 1252) | def cmd_web_access(bot, user, text, command, parameter):
function cmd_user_password (line 1278) | def cmd_user_password(bot, user, text, command, parameter):
function cmd_web_user_add (line 1292) | def cmd_web_user_add(bot, user, text, command, parameter):
function cmd_web_user_remove (line 1309) | def cmd_web_user_remove(bot, user, text, command, parameter):
function cmd_web_user_list (line 1326) | def cmd_web_user_list(bot, user, text, command, parameter):
function cmd_version (line 1336) | def cmd_version(bot, user, text, command, parameter):
function cmd_real_time_rms (line 1341) | def cmd_real_time_rms(bot, user, text, command, parameter):
function cmd_loop_state (line 1345) | def cmd_loop_state(bot, user, text, command, parameter):
function cmd_item (line 1349) | def cmd_item(bot, user, text, command, parameter):
FILE: constants.py
function load_lang (line 10) | def load_lang(lang):
function tr_cli (line 19) | def tr_cli(option, *argv, **kwargs):
function tr_web (line 30) | def tr_web(option, *argv, **kwargs):
function _tr (line 41) | def _tr(string, *argv, **kwargs):
function commands (line 58) | def commands(command):
FILE: database.py
class DatabaseError (line 12) | class DatabaseError(Exception):
class Condition (line 16) | class Condition:
method __init__ (line 17) | def __init__(self):
method sql (line 27) | def sql(self, conn: sqlite3.Connection = None):
method _regexp (line 45) | def _regexp(expr, item):
method or_equal (line 51) | def or_equal(self, column, equals_to, case_sensitive=True):
method and_equal (line 65) | def and_equal(self, column, equals_to, case_sensitive=True):
method or_like (line 79) | def or_like(self, column, equals_to, case_sensitive=True):
method and_like (line 93) | def and_like(self, column, equals_to, case_sensitive=True):
method and_regexp (line 107) | def and_regexp(self, column, regex):
method or_regexp (line 119) | def or_regexp(self, column, regex):
method or_sub_condition (line 131) | def or_sub_condition(self, sub_condition):
method or_not_sub_condition (line 143) | def or_not_sub_condition(self, sub_condition):
method and_sub_condition (line 155) | def and_sub_condition(self, sub_condition):
method and_not_sub_condition (line 167) | def and_not_sub_condition(self, sub_condition):
method limit (line 179) | def limit(self, limit):
method offset (line 184) | def offset(self, offset):
method order_by (line 189) | def order_by(self, order_by, desc=False):
class SettingsDatabase (line 200) | class SettingsDatabase:
method __init__ (line 201) | def __init__(self, db_path):
method get (line 204) | def get(self, section, option, **kwargs):
method getboolean (line 219) | def getboolean(self, section, option, **kwargs):
method getfloat (line 222) | def getfloat(self, section, option, **kwargs):
method getint (line 225) | def getint(self, section, option, **kwargs):
method set (line 228) | def set(self, section, option, value):
method has_option (line 236) | def has_option(self, section, option):
method remove_option (line 247) | def remove_option(self, section, option):
method remove_section (line 254) | def remove_section(self, section):
method items (line 261) | def items(self, section):
method drop_table (line 272) | def drop_table(self):
class MusicDatabase (line 279) | class MusicDatabase:
method __init__ (line 280) | def __init__(self, db_path):
method insert_music (line 283) | def insert_music(self, music_dict, _conn=None):
method query_music_ids (line 332) | def query_music_ids(self, condition: Condition):
method query_all_paths (line 340) | def query_all_paths(self):
method query_all_tags (line 352) | def query_all_tags(self):
method query_music_count (line 364) | def query_music_count(self, condition: Condition):
method query_music (line 376) | def query_music(self, condition: Condition, _conn=None):
method _query_music_by_plain_sql_cond (line 389) | def _query_music_by_plain_sql_cond(self, sql_cond, _conn=None):
method query_music_by_id (line 399) | def query_music_by_id(self, _id, _conn=None):
method query_music_by_keywords (line 406) | def query_music_by_keywords(self, keywords, _conn=None):
method query_music_by_tags (line 414) | def query_music_by_tags(self, tags, _conn=None):
method manage_special_tags (line 422) | def manage_special_tags(self):
method query_tags (line 432) | def query_tags(self, condition: Condition):
method query_random_music (line 450) | def query_random_music(self, count, condition: Condition = None):
method _result_to_dict (line 466) | def _result_to_dict(self, results):
method delete_music (line 484) | def delete_music(self, condition: Condition):
method drop_table (line 492) | def drop_table(self):
class DatabaseMigration (line 499) | class DatabaseMigration:
method __init__ (line 500) | def __init__(self, settings_db: SettingsDatabase, music_db: MusicDatab...
method migrate (line 512) | def migrate(self):
method settings_database_migrate (line 516) | def settings_database_migrate(self):
method music_database_migrate (line 547) | def music_database_migrate(self):
method has_table (line 576) | def has_table(self, table, conn):
method create_settings_table_version_2 (line 583) | def create_settings_table_version_2(self, conn):
method create_music_table_version_1 (line 596) | def create_music_table_version_1(self, conn):
method create_music_table_version_4 (line 614) | def create_music_table_version_4(self, conn):
method settings_table_migrate_from_0_to_1 (line 617) | def settings_table_migrate_from_0_to_1(self, conn):
method settings_table_migrate_from_1_to_2 (line 624) | def settings_table_migrate_from_1_to_2(self, conn):
method music_table_migrate_from_0_to_1 (line 645) | def music_table_migrate_from_0_to_1(self, conn):
method music_table_migrate_from_1_to_2 (line 659) | def music_table_migrate_from_1_to_2(self, conn):
method music_table_migrate_from_2_to_4 (line 677) | def music_table_migrate_from_2_to_4(self, conn):
FILE: interface.py
class ReverseProxied (line 28) | class ReverseProxied(object):
method __init__ (line 46) | def __init__(self, app):
method __call__ (line 49) | def __call__(self, environ, start_response):
function init_proxy (line 73) | def init_proxy():
function check_auth (line 82) | def check_auth(username, password):
function authenticate (line 100) | def authenticate():
function requires_auth (line 112) | def requires_auth(f):
function tag_color (line 183) | def tag_color(tag):
function build_tags_color_lookup (line 203) | def build_tags_color_lookup():
function get_all_dirs (line 211) | def get_all_dirs():
function index (line 229) | def index():
function playlist (line 235) | def playlist():
function status (line 311) | def status():
function post (line 335) | def post():
function build_library_query_condition (line 514) | def build_library_query_condition(form):
function library_info (line 555) | def library_info():
function library (line 575) | def library():
function upload (line 685) | def upload():
function download (line 737) | def download():
FILE: media/cache.py
class ItemNotCachedError (line 17) | class ItemNotCachedError(Exception):
class MusicCache (line 21) | class MusicCache(dict):
method __init__ (line 22) | def __init__(self, db: MusicDatabase):
method get_item_by_id (line 28) | def get_item_by_id(self, id):
method get_item (line 43) | def get_item(self, **kwargs):
method get_items_by_tags (line 65) | def get_items_by_tags(self, tags):
method fetch (line 76) | def fetch(self, id):
method save (line 84) | def save(self, id):
method free_and_delete (line 89) | def free_and_delete(self, id):
method free (line 102) | def free(self, id):
method free_all (line 107) | def free_all(self):
method build_dir_cache (line 111) | def build_dir_cache(self):
class CachedItemWrapper (line 136) | class CachedItemWrapper:
method __init__ (line 137) | def __init__(self, lib, id, type, user):
method item (line 145) | def item(self):
method to_dict (line 151) | def to_dict(self):
method validate (line 156) | def validate(self):
method prepare (line 163) | def prepare(self):
method uri (line 170) | def uri(self):
method add_tags (line 173) | def add_tags(self, tags):
method remove_tags (line 179) | def remove_tags(self, tags):
method clear_tags (line 185) | def clear_tags(self):
method is_ready (line 191) | def is_ready(self):
method is_failed (line 194) | def is_failed(self):
method format_current_playing (line 197) | def format_current_playing(self):
method format_song_string (line 200) | def format_song_string(self):
method format_title (line 203) | def format_title(self):
method format_debug_string (line 206) | def format_debug_string(self):
method display_type (line 209) | def display_type(self):
function get_cached_wrapper (line 214) | def get_cached_wrapper(item, user):
function get_cached_wrappers (line 220) | def get_cached_wrappers(items, user):
function get_cached_wrapper_from_scrap (line 228) | def get_cached_wrapper_from_scrap(**kwargs):
function get_cached_wrapper_from_dict (line 234) | def get_cached_wrapper_from_dict(dict_from_db, user):
function get_cached_wrappers_from_dicts (line 240) | def get_cached_wrappers_from_dicts(dicts_from_db, user):
function get_cached_wrapper_by_id (line 248) | def get_cached_wrapper_by_id(id, user):
function get_cached_wrappers_by_tags (line 253) | def get_cached_wrappers_by_tags(tags, user):
FILE: media/file.py
function file_item_builder (line 26) | def file_item_builder(**kwargs):
function file_item_loader (line 30) | def file_item_loader(_dict):
function file_item_id_generator (line 34) | def file_item_id_generator(**kwargs):
class FileItem (line 43) | class FileItem(BaseItem):
method __init__ (line 44) | def __init__(self, path, from_dict=None):
method uri (line 68) | def uri(self):
method is_ready (line 71) | def is_ready(self):
method validate (line 74) | def validate(self):
method _get_info_from_tag (line 86) | def _get_info_from_tag(self):
method _prepare_thumbnail (line 185) | def _prepare_thumbnail(im):
method to_dict (line 192) | def to_dict(self):
method format_debug_string (line 201) | def format_debug_string(self):
method format_song_string (line 207) | def format_song_string(self, user):
method format_current_playing (line 214) | def format_current_playing(self, user):
method format_title (line 223) | def format_title(self):
method display_type (line 230) | def display_type(self):
FILE: media/item.py
function example_builder (line 8) | def example_builder(**kwargs):
function example_loader (line 12) | def example_loader(_dict):
function example_id_generator (line 16) | def example_id_generator(**kwargs):
function dicts_to_items (line 25) | def dicts_to_items(music_dicts):
function dict_to_item (line 33) | def dict_to_item(music_dict):
class ValidationFailedError (line 37) | class ValidationFailedError(Exception):
method __init__ (line 38) | def __init__(self, msg = None):
class PreparationFailedError (line 41) | class PreparationFailedError(Exception):
method __init__ (line 42) | def __init__(self, msg = None):
class BaseItem (line 45) | class BaseItem:
method __init__ (line 46) | def __init__(self, from_dict=None):
method is_ready (line 68) | def is_ready(self):
method is_failed (line 71) | def is_failed(self):
method validate (line 74) | def validate(self):
method uri (line 77) | def uri(self):
method prepare (line 80) | def prepare(self):
method add_tags (line 83) | def add_tags(self, tags):
method remove_tags (line 89) | def remove_tags(self, tags):
method clear_tags (line 95) | def clear_tags(self):
method format_song_string (line 100) | def format_song_string(self, user):
method format_current_playing (line 103) | def format_current_playing(self, user):
method format_title (line 106) | def format_title(self):
method format_debug_string (line 109) | def format_debug_string(self):
method display_type (line 112) | def display_type(self):
method to_dict (line 115) | def to_dict(self):
FILE: media/playlist.py
function get_playlist (line 14) | def get_playlist(mode, _list=None, _index=None):
class BasePlaylist (line 40) | class BasePlaylist(list):
method __init__ (line 41) | def __init__(self):
method is_empty (line 51) | def is_empty(self):
method from_list (line 54) | def from_list(self, _list, current_index):
method append (line 62) | def append(self, item: CachedItemWrapper):
method insert (line 72) | def insert(self, index, item):
method extend (line 89) | def extend(self, items):
method next (line 98) | def next(self):
method point_to (line 109) | def point_to(self, index):
method find (line 114) | def find(self, id):
method __delitem__ (line 121) | def __delitem__(self, key):
method remove (line 124) | def remove(self, index):
method remove_by_id (line 146) | def remove_by_id(self, id):
method current_item (line 158) | def current_item(self):
method next_index (line 165) | def next_index(self):
method next_item (line 172) | def next_item(self):
method randomize (line 179) | def randomize(self):
method clear (line 191) | def clear(self):
method save (line 199) | def save(self):
method load (line 208) | def load(self):
method _debug_print (line 224) | def _debug_print(self):
method async_validate (line 233) | def async_validate(self):
method _check_valid (line 240) | def _check_valid(self):
class OneshotPlaylist (line 274) | class OneshotPlaylist(BasePlaylist):
method __init__ (line 275) | def __init__(self):
method current_item (line 280) | def current_item(self):
method from_list (line 291) | def from_list(self, _list, current_index):
method next (line 301) | def next(self):
method next_index (line 318) | def next_index(self):
method next_item (line 324) | def next_item(self):
method point_to (line 330) | def point_to(self, index):
class RepeatPlaylist (line 338) | class RepeatPlaylist(BasePlaylist):
method __init__ (line 339) | def __init__(self):
method next (line 343) | def next(self):
method next_index (line 355) | def next_index(self):
method next_item (line 362) | def next_item(self):
class RandomPlaylist (line 368) | class RandomPlaylist(BasePlaylist):
method __init__ (line 369) | def __init__(self):
method from_list (line 373) | def from_list(self, _list, current_index):
method next (line 378) | def next(self):
class AutoPlaylist (line 393) | class AutoPlaylist(OneshotPlaylist):
method __init__ (line 394) | def __init__(self):
method refresh (line 398) | def refresh(self):
method clear (line 412) | def clear(self):
method next (line 416) | def next(self):
FILE: media/radio.py
function get_radio_server_description (line 15) | def get_radio_server_description(url):
function get_radio_title (line 66) | def get_radio_title(url):
function radio_item_builder (line 93) | def radio_item_builder(**kwargs):
function radio_item_loader (line 100) | def radio_item_loader(_dict):
function radio_item_id_generator (line 104) | def radio_item_id_generator(**kwargs):
class RadioItem (line 113) | class RadioItem(BaseItem):
method __init__ (line 114) | def __init__(self, url, name="", from_dict=None):
method validate (line 130) | def validate(self):
method is_ready (line 134) | def is_ready(self):
method uri (line 137) | def uri(self):
method to_dict (line 140) | def to_dict(self):
method format_debug_string (line 147) | def format_debug_string(self):
method format_song_string (line 153) | def format_song_string(self, user):
method format_current_playing (line 161) | def format_current_playing(self, user):
method format_title (line 164) | def format_title(self):
method display_type (line 167) | def display_type(self):
FILE: media/url.py
function url_item_builder (line 23) | def url_item_builder(**kwargs):
function url_item_loader (line 27) | def url_item_loader(_dict):
function url_item_id_generator (line 31) | def url_item_id_generator(**kwargs):
class URLItem (line 40) | class URLItem(BaseItem):
method __init__ (line 41) | def __init__(self, url, from_dict=None):
method uri (line 63) | def uri(self):
method is_ready (line 66) | def is_ready(self):
method validate (line 77) | def validate(self):
method prepare (line 119) | def prepare(self):
method _get_info_from_url (line 127) | def _get_info_from_url(self):
method _download (line 162) | def _download(self):
method _read_thumbnail_from_file (line 225) | def _read_thumbnail_from_file(self, path_thumbnail):
method _prepare_thumbnail (line 230) | def _prepare_thumbnail(self, im):
method to_dict (line 237) | def to_dict(self):
method format_debug_string (line 248) | def format_debug_string(self):
method format_song_string (line 254) | def format_song_string(self, user):
method format_current_playing (line 262) | def format_current_playing(self, user):
method format_title (line 272) | def format_title(self):
method display_type (line 275) | def display_type(self):
FILE: media/url_from_playlist.py
function get_playlist_info (line 12) | def get_playlist_info(url, start_index=0, user=""):
function playlist_url_item_builder (line 70) | def playlist_url_item_builder(**kwargs):
function playlist_url_item_loader (line 77) | def playlist_url_item_loader(_dict):
class PlaylistURLItem (line 86) | class PlaylistURLItem(URLItem):
method __init__ (line 87) | def __init__(self, url, title, playlist_url, playlist_title, from_dict...
method to_dict (line 100) | def to_dict(self):
method format_debug_string (line 107) | def format_debug_string(self):
method format_song_string (line 114) | def format_song_string(self, user):
method format_current_playing (line 122) | def format_current_playing(self, user):
method display_type (line 132) | def display_type(self):
FILE: mumbleBot.py
class MumbleBot (line 34) | class MumbleBot:
method __init__ (line 37) | def __init__(self, args):
method ctrl_caught (line 212) | def ctrl_caught(self, signal, frame):
method get_version (line 228) | def get_version(self):
method register_command (line 234) | def register_command(self, cmd, handle, no_partial_match=False, access...
method set_comment (line 245) | def set_comment(self):
method set_avatar (line 248) | def set_avatar(self):
method join_channel (line 257) | def join_channel(self):
method message_received (line 269) | def message_received(self, text):
method send_msg (line 358) | def send_msg(self, msg, text):
method send_channel_msg (line 363) | def send_channel_msg(self, msg):
method is_admin (line 369) | def is_admin(user):
method get_user_count_in_channel (line 380) | def get_user_count_in_channel(self):
method users_changed (line 394) | def users_changed(self, user, message):
method launch_music (line 419) | def launch_music(self, music_wrapper, start_from=0):
method async_download_next (line 451) | def async_download_next(self):
method async_download (line 470) | def async_download(self, item):
method start_download (line 478) | def start_download(self, item):
method _download (line 485) | def _download(self, item):
method loop (line 511) | def loop(self):
method volume_cycle (line 627) | def volume_cycle(self):
method ducking_sound_received (line 645) | def ducking_sound_received(self, user, sound):
method _fadeout (line 661) | def _fadeout(self, _pcm_data, stereo=False, fadein=False):
method play (line 690) | def play(self, index=-1, start_at=0):
method clear (line 705) | def clear(self):
method stop (line 712) | def stop(self):
method interrupt (line 721) | def interrupt(self):
method pause (line 730) | def pause(self):
method resume (line 739) | def resume(self):
function start_web_interface (line 756) | def start_web_interface(addr, port):
FILE: scripts/sync_translation.py
function get_access_header (line 14) | def get_access_header(client, secret):
function fetch_translation (line 33) | def fetch_translation(r_client, r_secret):
function push_strings (line 48) | def push_strings(w_client, w_secret):
FILE: scripts/translate_templates.py
function load_lang (line 15) | def load_lang(lang):
function tr (line 20) | def tr(option):
FILE: util.py
function solve_filepath (line 27) | def solve_filepath(path):
function get_recursive_file_list_sorted (line 40) | def get_recursive_file_list_sorted(path):
function zipdir (line 72) | def zipdir(files, zipname_prefix=None):
function get_user_ban (line 98) | def get_user_ban():
function new_release_version (line 105) | def new_release_version(target):
function fetch_changelog (line 114) | def fetch_changelog():
function check_update (line 120) | def check_update(current_version):
function update (line 135) | def update(current_version):
function pipe_no_wait (line 165) | def pipe_no_wait():
class Dir (line 216) | class Dir(object):
method __init__ (line 217) | def __init__(self, path):
method add_file (line 223) | def add_file(self, file):
method get_subdirs (line 239) | def get_subdirs(self, path=None):
method get_subdirs_recursively (line 252) | def get_subdirs_recursively(self, path=None):
method get_files (line 268) | def get_files(self, path=None):
method get_files_recursively (line 280) | def get_files_recursively(self, path=None):
method render_text (line 295) | def render_text(self, ident=0):
function get_url_from_input (line 305) | def get_url_from_input(string):
function youtube_search (line 323) | def youtube_search(query):
function get_media_duration (line 363) | def get_media_duration(path):
function parse_time (line 378) | def parse_time(human):
function format_time (line 391) | def format_time(seconds):
function parse_file_size (line 399) | def parse_file_size(human):
function get_salted_password_hash (line 412) | def get_salted_password_hash(password):
function verify_password (line 419) | def verify_password(password, salted_hash, salt):
function get_supported_language (line 426) | def get_supported_language():
function set_logging_formatter (line 438) | def set_logging_formatter(handler: logging.Handler, logging_level):
function get_snapshot_version (line 451) | def get_snapshot_version():
class LoggerIOWrapper (line 473) | class LoggerIOWrapper(io.TextIOWrapper):
method __init__ (line 474) | def __init__(self, logger: logging.Logger, logging_level, fallback_io_...
method write (line 479) | def write(self, text):
class VolumeHelper (line 489) | class VolumeHelper:
method __init__ (line 490) | def __init__(self, plain_volume=0, ducking_plain_volume=0):
method set_volume (line 501) | def set_volume(self, plain_volume):
method set_ducking_volume (line 505) | def set_ducking_volume(self, plain_volume):
method _convert_volume (line 509) | def _convert_volume(self, volume):
function get_size_folder (line 520) | def get_size_folder(path):
function clear_tmp_folder (line 534) | def clear_tmp_folder(path, size):
function check_extra_config (line 571) | def check_extra_config(config, template):
function parse_cookie_file (line 584) | def parse_cookie_file(cookiefile):
FILE: web/js/lib/text.mjs
function limitChars (line 12) | function limitChars(text, limit = 50, ending = '...') {
function limitWords (line 35) | function limitWords(text, limit = 10, ending = '...') {
FILE: web/js/lib/theme.mjs
method init (line 11) | static init() {
method set (line 24) | static set(dark = false) {
method swap (line 39) | static swap() {
FILE: web/js/lib/type.mjs
function isObject (line 7) | function isObject(value) {
function isString (line 17) | function isString(value) {
function isNumber (line 27) | function isNumber(value) {
function validateObject (line 37) | function validateObject(value) {
function validateString (line 49) | function validateString(value) {
function validateNumber (line 61) | function validateNumber(value) {
FILE: web/js/lib/util.mjs
function isOverflown (line 1) | function isOverflown(element) {
function hash (line 5) | function hash(string) {
function getColor (line 19) | function getColor(string) {
function setProgressBar (line 42) | function setProgressBar(bar, progress, text = '') {
function secondsToStr (line 50) | function secondsToStr(seconds) {
FILE: web/js/main.mjs
function request (line 98) | function request(_url, _data, refresh = false) {
function addPlaylistItem (line 122) | function addPlaylistItem(item) {
function displayPlaylist (line 160) | function displayPlaylist(data) {
function displayActiveItem (line 212) | function displayActiveItem(current_index) {
function insertExpandPrompt (line 217) | function insertExpandPrompt(real_from, real_to, display_from, display_to...
function updatePlaylist (line 237) | function updatePlaylist() {
function checkForPlaylistUpdate (line 265) | function checkForPlaylistUpdate() {
function bindPlaylistEvent (line 299) | function bindPlaylistEvent() {
function updateControls (line 316) | function updateControls(empty, play, mode, volume) {
function togglePlayPause (line 362) | function togglePlayPause() {
function changePlayMode (line 374) | function changePlayMode(mode) {
function setFilterType (line 400) | function setFilterType(event, type) {
function bindLibraryResultEvent (line 428) | function bindLibraryResultEvent() {
function updateLibraryControls (line 508) | function updateLibraryControls() {
function displayLibraryControls (line 521) | function displayLibraryControls(data) {
function addResultItem (line 592) | function addResultItem(item) {
function getFilters (line 629) | function getFilters(dest_page = 1) {
function updateResults (line 656) | function updateResults(dest_page = 1) {
function downloadId (line 740) | function downloadId(id) {
function processResults (line 753) | function processResults(data) {
function addTagModalShow (line 842) | function addTagModalShow(_id, _title, _tag_tuples) {
function uploadStart (line 995) | function uploadStart() {
function setUploadError (line 1024) | function setUploadError(filename, error) {
function generateUploadProgressItem (line 1034) | function generateUploadProgressItem(file) {
function uploadNextFile (line 1053) | function uploadNextFile() {
function uploadCancel (line 1115) | function uploadCancel() {
function playerSetIdle (line 1183) | function playerSetIdle() {
function updatePlayerInfo (line 1192) | function updatePlayerInfo(item) {
function updatePlayerControls (line 1218) | function updatePlayerControls(play, empty) {
function updatePlayerPlayhead (line 1242) | function updatePlayerPlayhead(playhead) {
function playheadDragged (line 1284) | function playheadDragged(event) {