Repository navigation
Technical Reference Objects 07
Audience: developers and AI-assisted code lookup. Review date: 2026-10-29. Static inventory, not an endpoint specification, functional audit or integration-test result. Source files were read without executing application handlers. Nonempty string defaults are omitted.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: UserGroups.
| Named function/method | Source line |
|---|---|
__construct($id, $group_name = "") |
15 |
load($id, $refreshCache = false) |
27 |
getUserGroupsDb($id) |
39 |
save() |
55 |
delete() |
100 |
getUserGroup($id) |
119 |
getAllUsersGroups() |
135 |
getAllUsersGroupsArray() |
161 |
getTotalUsersGroups() |
198 |
getGroup_name() |
210 |
setGroup_name($group_name) |
215 |
getAllowed_resolutions() |
220 |
setAllowed_resolutions($allowed_resolutions) |
228 |
getAllowedResolutionsForUser($users_id) |
238 |
getAllowedResolutionsForCurrentUser() |
282 |
getUserGroupByName($group_name, $refreshCache = false) |
291 |
getOrCreateUserGroups($group_name) |
306 |
updateUserGroups($users_id, $array_groups_id, $byPassAdmin=false, $mergeWithCurrentUserGroups=false) |
324 |
getAlUserGroupsFromUser($users_id) |
366 |
getUserGroups($users_id) |
371 |
deleteGroupsFromUser($users_id, $byPassAdmin=false) |
428 |
getVideoGroupsViewId($videos_id, $users_groups_id) |
443 |
addVideoGroups($videos_id, $users_groups_id) |
464 |
deleteVideoGroups($videos_id, $users_groups_id, $clearCache = true) |
487 |
updateVideoGroups($videos_id, $array_groups_id, $mergeWithCurrentUserGroups=false) |
504 |
getVideoGroups($videos_id) |
539 |
getCategoriesGroups($videos_id) |
559 |
getVideosAndCategoriesUserGroups($videos_id, $force = false) |
585 |
deleteGroupsFromVideo($videos_id) |
614 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: Video.
| Named function/method | Source line |
|---|---|
__construct($title = "'<string>'", $id = 0, $refreshCache = false) |
231 |
getOrder() |
247 |
setOrder($order) |
252 |
getPublish_datetime() |
258 |
getNotification_datetime() |
263 |
setPublish_datetime($publish_datetime): void |
268 |
setNotification_datetime($notification_datetime): void |
273 |
getMade_for_kids() |
279 |
setMade_for_kids($made_for_kids): void |
284 |
getCreated() |
289 |
setCreated($created): void |
294 |
getUsers_id_company(): int |
300 |
setUsers_id_company($users_id_company): void |
305 |
addView($currentTime = 0) |
310 |
addSecondsWatching($seconds_watching) |
357 |
updateViewsCount($total) |
385 |
addViewPercent($percent = 25) |
406 |
unsetAddView($videos_id) |
427 |
load($id, $refreshCache = false) |
436 |
getLive_transmitions_history_id() |
448 |
setLive_transmitions_history_id($live_transmitions_history_id) |
453 |
getEncoderURL() |
468 |
getFilepath() |
473 |
getFilesize() |
478 |
setEncoderURL($encoderURL) |
483 |
setFilepath($filepath) |
491 |
setFilesize($filesize) |
497 |
setUsers_id($users_id) |
502 |
getSites_id() |
508 |
setSites_id($sites_id) |
513 |
getVideo_password() |
521 |
hashVideoPassword(string $plaintext): string |
534 |
verifyVideoPassword(string $entered, string $stored): bool |
546 |
setVideo_password($video_password) |
558 |
save($updateVideoGroups = false, $allowOfflineUser = false) |
569 |
updateDurationInSeconds($videos_id, $duration) |
818 |
internalAutoset($catId, $videoFound, $audioFound) |
848 |
setClean_title($clean_title) |
893 |
setDuration($duration) |
904 |
isValidDuration($duration) |
916 |
getDuration() |
927 |
getIsSuggested() |
932 |
setIsSuggested($isSuggested) |
937 |
getIsChannelSuggested() |
948 |
setIsChannelSuggested($isChannelSuggested) |
953 |
setStatus($status) |
963 |
isScheduledForRelease() |
1038 |
setAutoStatus($default = '<string>') |
1047 |
setType($type, $force = true) |
1105 |
setRotation($rotation) |
1113 |
getRotation() |
1137 |
getUsers_id() |
1146 |
setZoom($zoom) |
1151 |
getZoom() |
1179 |
getUserGroupsCanSeeSQL($tableAlias = '') |
1184 |
allowFreePlayWithAdsIsEnabled() |
1215 |
getUserGroups($videos_id) |
1232 |
getSQLByStatus($status, $showUnlisted) |
1237 |
restrictSortToVideoColumnsOnly() |
1285 |
getSQLSort($sortType, $showOnlyLoggedUserVideos, $showUnlisted, $suggestedOnly) |
1302 |
getCatSQL() |
1397 |
getVideo($id = "", $status = Video::SORT_TYPE_VIEWABLE, $ignoreGroup = false, $random = false, $suggestedOnly = false, $showUnlisted = false, $ignoreTags = false, $activeUsersOnly = true) |
1428 |
getVideoLikes($videos_id, $refreshCache = false) |
1655 |
getVideoLight($id, $refreshCache = false) |
1682 |
getTotalVideosSizeFromUser($users_id) |
1693 |
getTotalVideosSize($users_id = 0) |
1703 |
getTotalVideosFromUser($users_id) |
1719 |
getVideoFromFileName($fileName, $ignoreGroup = false, $ignoreTags = false) |
1735 |
getVideoFromFileNameLight($fileName) |
1768 |
getVideoFromCleanTitle($clean_title) |
1794 |
getRelatedMovies($videos_id, $limit = 10, $ignoreGroup = null) |
1810 |
getAllVideos($status = Video::SORT_TYPE_VIEWABLE, $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $videosArrayId = [], $getStatistcs = false, $showUnlisted = false, $activeUsersOnly = true, $suggestedOnly = false, $is_serie = null, $type = '', $max_duration_in_seconds = 0, $min_duration_in_seconds = 0) |
1947 |
userHasAgeToWatchVideo($row) |
2291 |
hasPPV($videos_id) |
2300 |
hasSubscription($videos_id) |
2309 |
getInfo($row, $getStatistcs = false) |
2317 |
getBlankExternalOptions() |
2438 |
getInfoPersonal($row) |
2443 |
getMediaSession($videos_id) |
2477 |
htmlDescription($description) |
2503 |
isFavorite($videos_id) |
2515 |
isSerie($videos_id) |
2523 |
isWatchLater($videos_id) |
2529 |
getFavoriteIdFromUser($users_id) |
2537 |
getWatchLaterIdFromUser($users_id) |
2545 |
updateFilesizeFromFilename($filename) |
2553 |
updateFileSizeDB($filesize, $videos_id) |
2562 |
updateFilesize($videos_id) |
2576 |
getDistinctVideoTypes() |
2631 |
getAllVideosLight($status = Video::SORT_TYPE_VIEWABLE, $showOnlyLoggedUserVideos = false, $showUnlisted = false, $suggestedOnly = false, $type = '', $max_duration_in_seconds = 0, $with_order_only = false, $min_duration_in_seconds = 0) |
2666 |
getTotalVideos($status = Video::SORT_TYPE_VIEWABLE, $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $showUnlisted = false, $activeUsersOnly = true, $suggestedOnly = false, $type = '', $max_duration_in_seconds = 0, $min_duration_in_seconds = 0) |
2801 |
videoMadeForKidsExists() |
2992 |
getSearchFieldsNames() |
3018 |
getTotalVideosInfo($status = Video::SORT_TYPE_VIEWABLE, $showOnlyLoggedUserVideos = false, $ignoreGroup = false, $videosArrayId = []) |
3042 |
getViewableStatus($showUnlisted = false) |
3062 |
getVideoConversionStatus($filename) |
3092 |
parseProgress($content) |
3125 |
delete($allowOfflineUser = false) |
3182 |
removeVideoFiles() |
3233 |
removeNextVideos($videos_id) |
3285 |
removeTrailerReference($videos_id) |
3302 |
deleteFromTables($videos_id) |
3324 |
removeFiles($filename) |
3338 |
removeFilePath($filePath) |
3351 |
rrmdir($dir) |
3370 |
setDescription($description) |
3387 |
setCategories_id($categories_id) |
3429 |
getCleanDuration($duration = "") |
3463 |
addZero($str) |
3486 |
getItemPropDuration($duration = '') |
3494 |
getItemDurationSeconds($duration = '') |
3505 |
getDurationFromFile($file) |
3515 |
getResolution($file) |
3530 |
getHLSDurationFromFile($file) |
3559 |
updateHLSDurationIfNeed() |
3568 |
resetOrder() |
3577 |
updateOrder($videos_id, $order) |
3586 |
updateDurationIfNeed($fileExtension = '<string>') |
3596 |
getFilename() |
3625 |
getStatus() |
3633 |
getId() |
3638 |
getIdFromVideoVar($video): int |
3657 |
getVideoDownloadedLink() |
3687 |
setVideoDownloadedLink($videoDownloadedLink) |
3692 |
userCanManageVideo() |
3698 |
getVideoGroups() |
3724 |
setVideoGroups($userGroups) |
3729 |
getTags($video_id, $type = "") |
3745 |
getTagsHTMLLabelIfEnable($videos_id) |
3767 |
getTagsHTMLLabelArray($video_id) |
3780 |
updatePrivacyInfo($videos_id) |
3817 |
_getPrivacyInfo($videos_id) |
3824 |
getTags_($videos_id, $type = '') |
3870 |
deleteTagsAsync($video_id) |
3877 |
getCategories_id() |
3906 |
getType() |
3911 |
fixCleanTitle($clean_title, $count, $videoId, $original_title = "") |
3916 |
isOwner($videos_id, $users_id = 0, $checkAffiliate = true) |
3953 |
isOwnerFromCleanTitle($clean_title, $users_id = 0) |
3972 |
getOwner($videos_id) |
3986 |
canEdit($videos_id, $users_id = 0) |
4010 |
canEncoderEdit($videos_id) |
4041 |
getRandom($excludeVideoId = false, $status = Video::SORT_TYPE_VIEWABLE) |
4051 |
getVideoQueryFilter() |
4056 |
getTitle() |
4070 |
getClean_title() |
4075 |
getDescription() |
4080 |
getExistingVideoFile() |
4085 |
getTrailer1() |
4104 |
getTrailer2() |
4109 |
getTrailer3() |
4114 |
getRate() |
4119 |
setTrailer1($trailer1) |
4124 |
setTrailer2($trailer2) |
4135 |
setTrailer3($trailer3) |
4146 |
setRate($rate) |
4157 |
getYoutubeId() |
4163 |
setYoutubeId($youtubeId) |
4168 |
setTitle($title) |
4174 |
setFilename($filename, $force = false) |
4197 |
getNext_videos_id() |
4209 |
setNext_videos_id($next_videos_id) |
4214 |
getDefaultEncoderFormat() |
4229 |
postToEncoderQueue($postFields) |
4243 |
queue($format = '') |
4311 |
getVideoLink() |
4342 |
setVideoLink($videoLink) |
4347 |
getCan_download() |
4353 |
getCan_share() |
4358 |
setCan_download($can_download) |
4363 |
setCan_share($can_share) |
4370 |
getOnly_for_paid() |
4377 |
setOnly_for_paid($only_for_paid) |
4382 |
getSourceFile($filename, $type = '<string>', $includeS3 = false, $includePath = false) |
4397 |
_moveSourceFilesToDir($videoFilename) |
4681 |
getPaths($videoFilename, $createDir = false) |
4706 |
getPathToFile($videoFilename, $createDir = false) |
4754 |
getURLToFile($videoFilename, $createDir = false) |
4781 |
getURLToFileIfExists($videoFilename) |
4794 |
getNewVideoFilename($prefix = ''<string>'') |
4803 |
isNewVideoFilename($filename) |
4818 |
getNewVideoFilenameWithPrefixFromFilename($filename) |
4824 |
updateDirectoryFilename($directory) |
4833 |
updateFilesInDirectoryFilename($directory) |
4872 |
getVideoIdHash() |
4898 |
getVideoIdFromHash($hash) |
4908 |
getVideoOwnerFingerprint($videos_id) |
4942 |
getCleanFilenameFromFile($filename) |
4963 |
getSpecificResolution($filename, $desired_resolution) |
5082 |
getResolutionArray($resolution) |
5131 |
getHigestResolution($filename) |
5142 |
getResolutionFromFilename($filename, $downloadIfNeed = true) |
5224 |
getHigestResolutionVideoMP4Source($filename, $includeS3 = false, $includePath = false) |
5272 |
getHigherVideoPathFromID($videos_id) |
5295 |
getVideosPathsFromID($videos_id) |
5344 |
getSourceFileURL($filename, $includeS3 = false, $fileType = '') |
5353 |
getVideosPaths($filename, $includeS3 = false, $try = 0, $recreate = false) |
5376 |
_getVideosPaths($filename, $includeS3 = false, $try = 0) |
5434 |
getVideosPathsSearchingDir($filename, $includeS3 = false) |
5489 |
getStoragePath() |
5533 |
getStoragePathFromFileName($filename) |
5540 |
getStoragePathFromVideosId($videos_id) |
5548 |
getImageFromFilename($filename, $type = '<string>') |
5554 |
getPoster($videos_id) |
5562 |
getMediaSessionPosters($videos_id) |
5576 |
getRokuImage($videos_id) |
5590 |
clearImageCache($filename, $type = '<string>') |
5603 |
getImageFromFilename_($filename, $type = '<string>') |
5609 |
getImageFromID($videos_id) |
5771 |
getViews_count() |
5804 |
setViews_count($views_count) |
5809 |
get_clean_title($videos_id) |
5814 |
get_id_from_clean_title($clean_title) |
5835 |
getChannelName() |
5854 |
getChannelLink() |
5862 |
getLinkToVideo($videos_id, $clean_title = "", $embed = false, $type = '<string>', $get = [], $ignoreChannelname = false, $parseIfEmbed = true) |
5876 |
getCanonicalLink($videos_id) |
5968 |
getPermaLink($videos_id, $embed = false, $get = []) |
5991 |
getURLFriendly($videos_id, $embed = false, $get = []) |
5996 |
getPermaLinkFromCleanTitle($clean_title, $embed = false, $get = []) |
6001 |
getURLFriendlyFromCleanTitle($clean_title, $embed = false, $get = []) |
6006 |
getURL($videos_id) |
6011 |
getLink($videos_id, $clean_title, $embed = false, $get = []) |
6016 |
getTotalVideosThumbsUpFromUser($users_id, $startDate, $endDate) |
6028 |
getTotalVideosThumbsUpFromUserFromVideos($users_id) |
6085 |
deleteThumbs($filename, $doNotDeleteSprit = false, $checkIfIsCorrupted = false, $force = false) |
6106 |
deleteGifAndWebp($filename) |
6161 |
isRateLimited($lockName, $cooldownSeconds = 10) |
6191 |
clearCache($videos_id, $deleteThumbs = false, $clearFirstPageCache = false, $async = true) |
6206 |
_clearCache($videos_id, $clearFirstPageCache = false, $schedule = true) |
6235 |
clearCacheFromFilename($fileName) |
6259 |
getVideoPogress($videos_id, $users_id = 0) |
6272 |
getLastVideoTimePosition($videos_id, $users_id = 0) |
6284 |
getVideoPogressPercent($videos_id, $users_id = 0) |
6289 |
getRrating() |
6321 |
getRratingHTML($rrating) |
6326 |
getRratingIMG($rrating, $style = '') |
6342 |
getRratingText($rrating) |
6351 |
setRrating($rrating) |
6360 |
getVideoTypeFromId($videos_id, $clearCache = false) |
6370 |
getVideoType($filename) |
6393 |
getVideoTypeLabels($filename) |
6417 |
fixAudioTypeIfHasVideoFiles($videos_id) |
6447 |
getVideoTypeText($filename) |
6463 |
isPublic($videos_id) |
6488 |
whyUserCannotWatchVideo($users_id, $videos_id) |
6499 |
userGroupAndVideoGroupMatch($users_id, $videos_id) |
6620 |
getExternalOptions() |
6671 |
setExternalOptions($externalOptions) |
6676 |
setVideoTags($tags) |
6685 |
getVideoTags() |
6696 |
setVideoHigestResolution($HigestResolution) |
6705 |
getVideoHigestResolution() |
6728 |
setVideoStartSeconds($videoStartSeconds) |
6744 |
setPrivacyInfo($object) |
6755 |
getPrivacyInfo() |
6767 |
setVideoEmbedWhitelist($embedWhitelist) |
6777 |
getVideoEmbedWhitelist() |
6784 |
setVideoNotified() |
6794 |
getVideoNotified() |
6805 |
getEmbedWhitelist($videos_id) |
6814 |
getSerie_playlists_id() |
6820 |
setSerie_playlists_id($serie_playlists_id) |
6825 |
getVideoFromSeriePlayListsId($serie_playlists_id) |
6831 |
showYoutubeModeOptions() |
6846 |
decodeEvideo() |
6864 |
getBlockedUsersIdsArray($users_id = 0) |
6910 |
forceAudio() |
6928 |
forceArticle() |
6938 |
getIncludeType($video) |
6948 |
getSearchSQLFromPost() |
6978 |
getVideoTagsSearchSQL($searchPhraseEscaped) |
7004 |
getFullTextSearch($columnsArray, $search, $connection = '<string>') |
7011 |
getChangeVideoStatusButton($videos_id) |
7031 |
canVideoBePurchased($videos_id) |
7063 |
getCreatorHTML($users_id, $html = '', $small = false, $ignoreLinks = false) |
7115 |
getVideosListItem($videos_id, $divID = ''<string>'') |
7175 |
generatePlaylistButtons($videos_id, $buttonClass = '<string>', $style = '', $isVertical = true) |
7267 |
getVideoImagewithHoverAnimationFromVideosId($videos_id, $addThumbOverlay = true, $addLink = true, $galeryDetails = false, $preloadImage = false, $doNotUseAnimatedGif = false) |
7327 |
getTotal_seconds_watching() |
7457 |
setTotal_seconds_watching($total_seconds_watching) |
7462 |
getDuration_in_seconds() |
7467 |
setDuration_in_seconds($duration_in_seconds) |
7472 |
getLikes() |
7477 |
getDislikes() |
7482 |
setLikes($likes): void |
7487 |
setDislikes($dislikes): void |
7492 |
updateLikesDislikes($videos_id, $type, $value = '<string>') |
7509 |
checkIfIsBroken($videos_id) |
7559 |
getFirstSource($filename, $cacheCleared = false) |
7598 |
isMediaFileMissing($filename, $cacheCleared = false) |
7615 |
getTableName() |
7632 |
getSeoTags($videos_id) |
7637 |
getEpg_link() |
7727 |
setEpg_link($epg_link): void |
7732 |
getAllActiveEPGs() |
7737 |
getEPG($videos_id) |
7759 |
getEPGLink($videos_id) |
7782 |
getVideoWithMoreViews() |
7798 |
getVideosPathsToSource($paths) |
7810 |
deleteUselessOldVideos($days) |
7841 |
isMP3LengthValid($videos_id, $tolerancePercent = 10) |
7869 |
isVideoFileCorrupted($videos_id) |
7935 |
saveImageInVideoLib($videos_id, $imageContent, $imageExt = '<string>', $prefix = '') |
7982 |
getVideoLibRelativePath($videos_id) |
8007 |
listAllImagesInVideoLib($videos_id) |
8021 |
Start
Install and update
- Install on Ubuntu 24.04 or 26.04
- Installation Setup Page
- Scheduler cron job (required)
- Set up email
- Use HTTPS
- Own Encoder
- Docker
- Update AVideo
- Backup
- Secure file permissions
- Server command-line tools
- Hidden configuration options
Videos
- Upload a video
- Local Encoder (on your computer)
- Bulk upload by FTP
- Import a channel
- Publish on YouTube and social media
- Privacy options
- Only for logged-in users
- Resolutions by user group
- Storage options
- Move and protect video files
- Video does not play
Users
Live
- Make a live stream
- Stream with OBS
- Own live server
- One live server, many sites
- Live server install errors
- Live does not play
Plugins
Problems
Other
- Translate your site
- Write a plugin (developers)
- Technical reference (developers and advanced administrators)
Old and retired guides