local API: Fix playlists and podcasts not appearing in search results
Pull Request Type
[x] Bugfix
[x] Feature Implementation
Related issue
closes #6183
Description
This pull request adds support for LockupViews with the content_types PLAYLIST and PODCAST in search results. In preparation for YouTube using LockupViews in more places, I moved the parsing of them to their own function. Originally I was going to do VIDEO in the watch next feed too but I haven't received them myself yet and the sample I was given only contained normal videos, so I don't know what the data looks like for live streams or upcoming premieres.
Testing
Search for a pocast e.g. "WAN Show" and check that it appears in the search results.
Search for a playlist e.g. "Pop Music Playlist - Timeless Pop Songs (Updated Weekly 2024)" and check that it appears in the search results.
local API: Fix playlists and podcasts not appearing in search results
Pull Request Type
Related issue
closes #6183
Description
This pull request adds support for
LockupView
s with thecontent_type
sPLAYLIST
andPODCAST
in search results. In preparation for YouTube usingLockupView
s in more places, I moved the parsing of them to their own function. Originally I was going to doVIDEO
in the watch next feed too but I haven't received them myself yet and the sample I was given only contained normal videos, so I don't know what the data looks like for live streams or upcoming premieres.Testing
Search for a pocast e.g. "WAN Show" and check that it appears in the search results.
Search for a playlist e.g. "Pop Music Playlist - Timeless Pop Songs (Updated Weekly 2024)" and check that it appears in the search results.
Desktop