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

FIX: [sets] actually allow to delete sets #4754

Merged
merged 1 commit into from Jun 1, 2014
Merged

Conversation

koying
Copy link
Contributor

@koying koying commented May 19, 2014

Nowadays, doing a delete on a set does nothing

/cc @jmarshallnz

if (type == VIDEODB_CONTENT_MOVIE_SETS)
{
CFileItemList items;
CDirectory::GetDirectory(item->GetPath(),items,"",DIR_FLAG_NO_FILE_DIRS);

This comment was marked as spam.

This comment was marked as spam.

@Montellese
Copy link
Member

Why is this labeled as a fix? This funcationality simply didn't exist up until now.

@koying
Copy link
Contributor Author

koying commented May 19, 2014

The context menu item is there, but it does nothing.
The issue is probably there since the "manage" submenu was created, but some functionality was left out.

@Montellese
Copy link
Member

Ah okay, I thought since you had to extend CanDeleteVideoItem() there shouldn't have been a context menu entry.

@koying
Copy link
Contributor Author

koying commented May 20, 2014

BTW, apparently the nav window was not cleaned when the manage one was created, so I think there is a bunch of dead code there, e.g. the removal of sets.

@koying
Copy link
Contributor Author

koying commented May 20, 2014

updated

database.DeleteSet(params.GetSetId());

return true;
}

This comment was marked as spam.

@MartijnKaijser MartijnKaijser added this to the Pending for inclusion milestone May 21, 2014
@koying
Copy link
Contributor Author

koying commented Jun 1, 2014

@jmarshallnz Ok for you?

jenkins build this please

@jmarshallnz
Copy link
Contributor

Fine by me, yup.

@koying
Copy link
Contributor Author

koying commented Jun 1, 2014

Unrelated jenkins fail

koying added a commit that referenced this pull request Jun 1, 2014
FIX: [sets] actually allow to delete sets
@koying koying merged commit aab1f0d into xbmc:master Jun 1, 2014
@koying koying deleted the fixsetsdelete branch June 1, 2014 09:18
@MartijnKaijser MartijnKaijser modified the milestones: Helix 14.0-alpha1, Pending for inclusion Jun 1, 2014
@t-nelson t-nelson removed the Gotham label Jun 7, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants