Skip to content

Technical Plugin Livesearch

Daniel Neto edited this page Oct 29, 2026 · 1 revision

Technical: Livesearch plugin

Adds live-result search behavior.

Audience: developers, advanced administrators and AI-assisted diagnosis. Plugin catalog.

Source baseline

  • Review date: 2026-10-29. Method: static source analysis; runtime/provider behavior was not exercised.
  • Code ownership: independently versioned plugin repository.
  • Reported version: 4.1.
  • Source revision: 6bf7ba41be1c1aa956447102cf9c0bdd9bf546f7.
  • Entry class file: Livesearch.php.

Confirm the installed plugin version independently of the Streamer version. Configuration defaults below are not a dump of this installation's saved settings.

Dependencies

No literal dependency declaration was extracted. This does not prove the plugin is standalone.

Literal runtime plugin references: Gallery, YouPHPFlix2. These calls do not mean every referenced plugin is mandatory.

Hook integration

Override Implementation
getTags() Livesearch.php:9
getFooterCode() Livesearch.php:48
onNewVideo($videos_id) Livesearch.php:58
onUpdateVideo($videos_id) Livesearch.php:115
onVideoSetStatus($videos_id, $oldValue, $newValue) Livesearch.php:120
onDeleteVideo($videos_id) Livesearch.php:160
getPluginMenu() Livesearch.php:490

Configuration assignments

These are direct assignments inside getEmptyDataObject(), not evaluated effective defaults. Stored plugins.object_data, globals, structured values and conditional branches may alter runtime behavior. Private/default credential values are omitted.

Field Literal default or expression type Literal source label/help Evidence
clickResistantResult false — source
Description true — source
BlockEnter true — source
ResultsShown 5 — source
hidePrivateVideos false — source

Files and request surface

This inventory distinguishes implementation files from an API specification. Includes, templates, callbacks and CLI workers are not interchangeable HTTP endpoints. Request-field names below are direct source references, not a complete schema or permission declaration.

File Source role Direct request fields observed
Livesearch.php plugin entry class debug, searchFieldsNames, sort
Objects/Search_index.php class/helper implementation —
footer.php PHP page/include/worker; inspect caller —
install/install.sql schema/migration SQL —
install/updateV4.0.sql schema/migration SQL —
myVideos.json.php JSON entry point; inspect caller and guard current, searchPhrase
recreate.json.php JSON entry point; inspect caller and guard —

Data and migrations

Tables named in available CREATE TABLE statements: search_index. Apply installation/update behavior through the owning plugin; this reference is not a script for running historical migrations manually.

Main-file named symbols

Visibility and implementation semantics must be checked in source. Nonempty string defaults are represented as . This is a symbol reference, not a stable public API promise.

Function or method Source
getTags() 9
getPluginVersion() 14
getDescription() 19
getName() 25
getUUID() 30
getEmptyDataObject() 35
getFooterCode() 48
onNewVideo($videos_id) 58
onUpdateVideo($videos_id) 115
onVideoSetStatus($videos_id, $oldValue, $newValue) 120
updateVideo($videos_id) 127
onDeleteVideo($videos_id) 160
search($search, $users_id = 0, $categories_id = 0, $is_private = null, $searchableOnly = true) 166
searchTotalCount($search, $users_id = 0, $categories_id = 0, $is_private = null, $searchableOnly = true) 245
API_get_search_videos($parameters) 426
getPluginMenu() 490

Supporting PHP declarations

These symbols are grouped by source file; inspect the class declaration and visibility before calling them.

Objects/Search_index.php

Declared classes: Search_index.

Named symbol Source
getSearchFieldsNames() 12
getTableName() 16
setId($id) 20
setChannelName($channelName) 24
setTitle($title) 28
setDescription($description) 32
setCategory_name($category_name) 36
setTags($tags) 40
setLikes($likes) 44
setDislikes($dislikes) 48
setDuration_in_seconds($duration_in_seconds) 52
setStatus($status) 56
setType($type) 60
setFilename($filename) 64
setOnly_for_paid($only_for_paid) 68
setVideo_password($video_password) 72
setMade_for_kids($made_for_kids) 76
setViews_count($views_count) 80
getId() 85
getChannelName() 89
getTitle() 93
getDescription() 97
getCategory_name() 101
getTags() 105
getLikes() 109
getDislikes() 113
getDuration_in_seconds() 117
getStatus() 121
getType() 125
getFilename() 129
getOnly_for_paid() 133
getVideo_password() 137
getMade_for_kids() 141
getViews_count() 145

Diagnostics and validation

  1. Check the installed/enabled version and the dependencies/settings above.
  2. Identify the actual failing page, request, callback or worker and correlate its timestamp with the AVideo log.
  3. Follow the linked method and caller. Check business-state changes and output artifacts as well as HTTP status.
  4. Reproduce the relevant workflow in a test environment. External provider, Encoder, live-server, storage, payment and authenticated flows require their real integrations.

Shared diagnostic workflow. This page is not a security audit or a claim of end-to-end validation.

Clone this wiki locally