Draft : MediaCategoryViewController: Add Recently Added MediaGroup feature
Merge request reports
Activity
added 118 commits
-
d8040013...12d3094d - 117 commits from branch
videolan:master
- fa2da4be - MediaCCategoryViewController: Add Recently Added MediaGroup feature
-
d8040013...12d3094d - 117 commits from branch
First Case: New files are added, media group will created for the first time
I take the files of the current set model and if it's a mediagroupviewmodel , loop through the media groups, and then the media files (inside that media group) and check .isNew property (also check whether .nbmediapresent == 1) store them in an array , and create a media group using that array
Second Case: New files are added, (Recently added) media group already exist
Just check for the existence of this media group from model, add the new media files in the media group there.
This happens every time MediaCategoryViewController is initialised , which means after app restart , and i think best behaviour is that it happens just after adding . calling this func in every reload leads to crash.
What it currently does it just adds the new files , in the mediagroup , but doesn't remove them after playing them. (Which would make this more useful) .
Edited by Eshan SinghOk so this has become more functional utility wise.
The media now will be removed once played from Recently Added Media Group because it's is not new anymore.
Edited by Eshan Singh
changed milestone to %3.5.0
added 1 commit
- 695c559c - RecentlyAddedFeature: Ungroup the media after playing it
added 1 commit
- 7673bfe0 - MediaCategoryViewController: Remove unused call
added 6 commits
-
7673bfe0...c338e307 - 3 commits from branch
videolan:master
- 1dfc6098 - MediaCCategoryViewController: Add Recently Added MediaGroup feature
- 927fd32b - RecentlyAddedFeature: Ungroup the media after playing it
- 321e78a9 - MediaCategoryViewController: Remove unused call
Toggle commit list-
7673bfe0...c338e307 - 3 commits from branch
added 4 commits
Toggle commit listadded 113 commits
-
62bfb249...d0e51749 - 109 commits from branch
videolan:master
- e7589846 - MediaCCategoryViewController: Add Recently Added MediaGroup feature
- 693f1e76 - RecentlyAddedFeature: Ungroup the media after playing it
- bc0e3533 - MediaCategoryViewController: Remove unused call
- 20f930f6 - MediaCategoryViewController: Check for title in Recetnly Added func
Toggle commit list-
62bfb249...d0e51749 - 109 commits from branch
changed milestone to %4.0.0