Lines Matching refs:deadbeef

59 static DB_functions_t *deadbeef;  variable
65 deadbeef = api; in shellexec_load()
85 …int res = deadbeef->pl_format_title_escaped (it, -1, cmd, sizeof (cmd) - 2, -1, action->shcommand); in shx_exec_track_cmd()
125 deadbeef->pl_lock (); in shx_callback()
126 ddb_playlist_t *plt = deadbeef->plt_get_curr (); in shx_callback()
129 int items_count = deadbeef->plt_getselcount (plt); in shx_callback()
134 DB_playItem_t *it = deadbeef->pl_get_first (PL_MAIN); in shx_callback()
136 if (deadbeef->pl_is_selected (it)) { in shx_callback()
138 deadbeef->pl_item_ref (it); in shx_callback()
141 DB_playItem_t *next = deadbeef->pl_get_next (it, PL_MAIN); in shx_callback()
142 deadbeef->pl_item_unref (it); in shx_callback()
147 deadbeef->pl_unlock (); in shx_callback()
151 deadbeef->pl_item_unref (items[i]); in shx_callback()
155 deadbeef->plt_unref (plt); in shx_callback()
161 ddb_playlist_t *plt = deadbeef->action_get_playlist (); in shx_callback()
163 deadbeef->pl_lock (); in shx_callback()
165 int items_count = deadbeef->plt_get_item_count (plt, PL_MAIN); in shx_callback()
170 DB_playItem_t *it = deadbeef->pl_get_first (PL_MAIN); in shx_callback()
173 it = deadbeef->pl_get_next (it, PL_MAIN); in shx_callback()
177 deadbeef->pl_unlock (); in shx_callback()
181 deadbeef->pl_item_unref (items[i]); in shx_callback()
185 deadbeef->plt_unref (plt); in shx_callback()
191 DB_playItem_t *it = deadbeef->streamer_get_playing_track (); in shx_callback()
194 deadbeef->pl_item_unref (it); in shx_callback()
205 deadbeef->pl_lock (); in shx_get_plugin_actions()
206 int is_local = it ? deadbeef->is_local_file (deadbeef->pl_find_meta (it, ":URI")) : 1; in shx_get_plugin_actions()
207 deadbeef->pl_unlock (); in shx_get_plugin_actions()
240 deadbeef->conf_remove_items("shellexec."); in shx_save_actions()
271 deadbeef->conf_set_str(conf_key, conf_line); in shx_save_actions()
275 deadbeef->conf_save(); in shx_save_actions()
283 DB_conf_item_t *item = deadbeef->conf_find ("shellexec.", NULL); in shx_get_actions()
355 item = deadbeef->conf_find ("shellexec.", item); in shx_get_actions()