Skip to content

feat(search): add ID search for media and playlists#197

Merged
hinanaya merged 2 commits intoopenbroadcaster:5.5-developfrom
sreeshanth-soma:add-search-by-id
Mar 2, 2026
Merged

feat(search): add ID search for media and playlists#197
hinanaya merged 2 commits intoopenbroadcaster:5.5-developfrom
sreeshanth-soma:add-search-by-id

Conversation

@sreeshanth-soma
Copy link
Member

Summary

Closes #134
Adds the ability to search for media and playlists by their ID, making it easier to track down specific items when viewing playlogs or other reports that reference IDs.

Changes

Media Search

  • Added Media ID filter option to advanced search
  • Allows filtering with operators: is exactly, is not, greater than, less than, etc.

Playlist Search

  • Enhanced playlist search to match by ID when query is numeric
  • Searching "123" will now return the playlist with ID 123 (in addition to name/description matches)

Files Changed

  • classes/models/media_model.php - Added id to allowed filters and column mappings
  • classes/models/playlists_model.php - Added numeric ID matching to search function
  • public/html/sidebar/advanced_search.html - Added Media ID option to filter dropdown

- Add Media ID filter to advanced search
- Enable playlist search by numeric ID
@hinanaya hinanaya merged commit bb207e6 into openbroadcaster:5.5-develop Mar 2, 2026
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants