This feature is missing unfortunately. Besides an "un-/watched" flag I planned to add a "recently added" flag to mediaitems. This would require exactly the filter you're talking about.Hello,
I would really like to be able to build a custom filter for a movies in MP2...
Ultimately what I am after is the ability to list the "recently added" movies (like moving pictures for MP1)
Cheers
Don't think it is necessary to add an extra flag for this. There already is a "Date Added" field in the DB that can be used for estimate if a movie (or any other media) is recently added to the library. And iirr there is an option to sort media items by this field, so you at least can show the most recent added movies on top of the list...I planned to add a "recently added" flag to mediaitems.
You could also filter for "un-/watched" and remove the flags for that. Aren't the flags better as additonal visual indication? A flag lets you directly see which MI's are lately added (of course with possibility in settings to deactivate flags). This is also done in all other HTPC softwares, so user coming over to MP2 might miss it.Don't think it is necessary to add an extra flag for this. There already is a "Date Added" field in the DB that can be used for estimate if a movie (or any other media) is recently added to the library. And iirr there is an option to sort media items by this field, so you at least can show the most recent added movies on top of the list...
Indeed there are no watched flags in MP2 so you can not remove them. To determine if a media item is watched the playcount is used. (0 means un-watched, 1 or more means watched). So it is the same as to use "Date added". MP2 and also MP2-Edit sets the playcount to 0 if the user marks an item as un-watched.You could also filter for "un-/watched" and remove the flags for that.
Not if you see it from a DB or Program "point of view". Indeed it is really difficult to modify a DB entry after a given time automatically. This will add a huge amount of extra DB work and for this will lower the performance. It is much better to calculate the recently added value from the "date added" field than to use an extra flag for this... For watched flags it would be easier a lot to have a separate toggle in the DB as this is time independent and has to be set by an action from the GUI (play an item or mark it manually...) But it is not necessary, so it isn't existing.Aren't the flags better as additonal visual indication?
I don't believe this. I only can tell about MP1 and Kodi as I only had a closer look at their databases. Both also are using "date added" fields to calculate the "recently added" values...This is also done in all other HTPC softwares
This best should be configurable by the user. For special cases like the home screen it can be a fixed value (5 in BV case) but as filter it should be up to the user how long "recently" should be...Also it needs to be defined what means "new".
This only is a simple calculation and should be easy to achieve. I'm not able to code in C# but in the language I know (AutoIt3) this would be a single line of code.With flag I mean only the visual indicator representing the result
If $dateadded > $today - 15 Then $recent = "1";
I could even program it in #C I believe But I have no idea about the header in #C and how things are connected.This only is a simple calculation and should be easy to achieve. I'm not able to code in C# but in the language I know (AutoIt3) this would be a single line of code.
Yes, I think a user should even be able to define what "recent" means. I have 2 weeks in my head, because I added often movies. A person, who adds new movies every 2 month might have a different perception about itProbably a few more if you want to make it configurable as in this example "recent" means in the last two weeks...