Skip to content

Conversation

@absidue
Copy link
Member

@absidue absidue commented Nov 19, 2024

local API: Fix playlists and podcasts not appearing in search results

Pull Request Type

  • Bugfix
  • 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.

Desktop

  • OS: Windows
  • OS Version: 10
  • FreeTube version: be02c9f

@absidue absidue changed the title Fix playlists and podcasts not appearing in search results local API: Fix playlists and podcasts not appearing in search results Nov 19, 2024
@github-actions github-actions bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 19, 2024
@FreeTubeBot FreeTubeBot enabled auto-merge (squash) November 19, 2024 20:48
@absidue absidue force-pushed the lockup-view-playlists branch from 54eecb3 to cca827a Compare November 19, 2024 20:48
ChunkyProgrammer added a commit to ChunkyProgrammer/FreeTube that referenced this pull request Nov 19, 2024
@FreeTubeBot FreeTubeBot merged commit 80b4036 into FreeTubeApp:development Nov 20, 2024
@github-actions github-actions bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Nov 20, 2024
ChunkyProgrammer added a commit to ChunkyProgrammer/FreeTube that referenced this pull request Nov 20, 2024
@absidue absidue deleted the lockup-view-playlists branch November 20, 2024 05:16
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Nov 24, 2024
* development: (273 commits)
  Translated using Weblate (Serbian)
  Translated using Weblate (Czech)
  Translated using Weblate (French)
  Translated using Weblate (German)
  Translated using Weblate (Spanish)
  Fix text colour in player overflow menu (FreeTubeApp#6213)
  Add warning message to proxy settings (FreeTubeApp#6099)
  Migrate SubscribedChannels view to Composition API (FreeTubeApp#6131)
  Translated using Weblate (Croatian)
  Translated using Weblate (English (United Kingdom))
  Translated using Weblate (Afrikaans)
  Translated using Weblate (Afrikaans)
  Better player error handling (FreeTubeApp#6180)
  Translated using Weblate (Arabic)
  Translated using Weblate (Afrikaans)
  local API: Fix playlists and podcasts not appearing in search results (FreeTubeApp#6196)
  Translated using Weblate (Serbian)
  Translated using Weblate (Hungarian)
  Bump shaka-player from 4.11.11 to 4.12.1 (FreeTubeApp#6193)
  Translated using Weblate (French)
  ...

# Conflicts:
#	src/renderer/views/SubscribedChannels/SubscribedChannels.js
FreeTubeBot pushed a commit that referenced this pull request Dec 2, 2024
* Add support for home tab on channels

* Remove some unneeded code

* Add setting to hide channel home tab

* Switch to Composition API

* Add Play All link when possible, parse more types

* fix typo for home tab aria-controls

Co-Authored-By: absidue <[email protected]>

* move distraction free hide home setting

* Filter home data for setting featured channels

* fix publish date parsing

* Add support for shelf subtitle

* run lint-fix

* add jsdoc for added function

* implement code suggestions, fix lockupview

* add support for parsing subtitle and playlistId for richshelf

* exclude home tab for IV

* implement code suggestions, change `Play all` to `View playlist`

Co-Authored-By: PikachuEXE <[email protected]>

* remove lockupview case since #6196 will handle parsing it in this function

* use list icon instead of bookmark icon

Co-Authored-By: PikachuEXE <[email protected]>

* open all details by default

* add case 'ALBUM' for lockupView parsing

* change default page to home page when local api is enabled and home page isnt hidden when entering a channel url

---------

Co-authored-by: absidue <[email protected]>
Co-authored-by: PikachuEXE <[email protected]>
Soham456 pushed a commit to Soham456/FreeTube that referenced this pull request Dec 5, 2024
* Add support for home tab on channels

* Remove some unneeded code

* Add setting to hide channel home tab

* Switch to Composition API

* Add Play All link when possible, parse more types

* fix typo for home tab aria-controls

Co-Authored-By: absidue <[email protected]>

* move distraction free hide home setting

* Filter home data for setting featured channels

* fix publish date parsing

* Add support for shelf subtitle

* run lint-fix

* add jsdoc for added function

* implement code suggestions, fix lockupview

* add support for parsing subtitle and playlistId for richshelf

* exclude home tab for IV

* implement code suggestions, change `Play all` to `View playlist`

Co-Authored-By: PikachuEXE <[email protected]>

* remove lockupview case since FreeTubeApp#6196 will handle parsing it in this function

* use list icon instead of bookmark icon

Co-Authored-By: PikachuEXE <[email protected]>

* open all details by default

* add case 'ALBUM' for lockupView parsing

* change default page to home page when local api is enabled and home page isnt hidden when entering a channel url

---------

Co-authored-by: absidue <[email protected]>
Co-authored-by: PikachuEXE <[email protected]>
jlvivero pushed a commit to jlvivero/FreeTube that referenced this pull request Dec 7, 2024
* Add support for home tab on channels

* Remove some unneeded code

* Add setting to hide channel home tab

* Switch to Composition API

* Add Play All link when possible, parse more types

* fix typo for home tab aria-controls

Co-Authored-By: absidue <[email protected]>

* move distraction free hide home setting

* Filter home data for setting featured channels

* fix publish date parsing

* Add support for shelf subtitle

* run lint-fix

* add jsdoc for added function

* implement code suggestions, fix lockupview

* add support for parsing subtitle and playlistId for richshelf

* exclude home tab for IV

* implement code suggestions, change `Play all` to `View playlist`

Co-Authored-By: PikachuEXE <[email protected]>

* remove lockupview case since FreeTubeApp#6196 will handle parsing it in this function

* use list icon instead of bookmark icon

Co-Authored-By: PikachuEXE <[email protected]>

* open all details by default

* add case 'ALBUM' for lockupView parsing

* change default page to home page when local api is enabled and home page isnt hidden when entering a channel url

---------

Co-authored-by: absidue <[email protected]>
Co-authored-by: PikachuEXE <[email protected]>
SuperAKWA pushed a commit to SuperAKWA/FreeTube that referenced this pull request Jan 24, 2025
* Add support for home tab on channels

* Remove some unneeded code

* Add setting to hide channel home tab

* Switch to Composition API

* Add Play All link when possible, parse more types

* fix typo for home tab aria-controls

Co-Authored-By: absidue <[email protected]>

* move distraction free hide home setting

* Filter home data for setting featured channels

* fix publish date parsing

* Add support for shelf subtitle

* run lint-fix

* add jsdoc for added function

* implement code suggestions, fix lockupview

* add support for parsing subtitle and playlistId for richshelf

* exclude home tab for IV

* implement code suggestions, change `Play all` to `View playlist`

Co-Authored-By: PikachuEXE <[email protected]>

* remove lockupview case since FreeTubeApp#6196 will handle parsing it in this function

* use list icon instead of bookmark icon

Co-Authored-By: PikachuEXE <[email protected]>

* open all details by default

* add case 'ALBUM' for lockupView parsing

* change default page to home page when local api is enabled and home page isnt hidden when entering a channel url

---------

Co-authored-by: absidue <[email protected]>
Co-authored-by: PikachuEXE <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Playlists are not appearing in search results

5 participants