Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[favourites] Fix CFavouritesService::IsFavourited to only compare man… #23885

Merged
merged 1 commit into from Oct 9, 2023

Conversation

ksooo
Copy link
Member

@ksooo ksooo commented Oct 7, 2023

…datory parts of the favourites URLs.

Fixes a (long standing?) bug with items already added to favourites not recognized as such, resulting in context menu item "Add to favourites" offered for them, instead of "Remove from favourites".

How to reproduce:
0) Go to Estuary Home screen, Movies section

  1. Open context menu for a movie appearing in "recently added movies" widget.
  2. Select "Add to favourites" from context menu of the movie.
  3. Open Movies window, navigate to the movie just added to favourites.
  4. Open context menu
    => Bug: "Add to favourites" will be offered, not "Remove from favourites"

Runtime-tested on macOS and Android, latest Kodi master.

@enen92 please review.

@ksooo ksooo added Type: Fix non-breaking change which fixes an issue v21 Omega Component: Favourites labels Oct 7, 2023
@ksooo ksooo added this to the Omega 21.0 Beta 1 milestone Oct 7, 2023
@ksooo ksooo requested a review from enen92 October 7, 2023 16:04
@ksooo ksooo force-pushed the favourites-fix-add-remove branch 3 times, most recently from 98fe0e7 to 43931ee Compare October 8, 2023 15:10
@ksooo ksooo merged commit be9519b into xbmc:master Oct 9, 2023
2 checks passed
@ksooo ksooo deleted the favourites-fix-add-remove branch October 9, 2023 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Favourites Type: Fix non-breaking change which fixes an issue v21 Omega
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants