chander421 17 Posted Wednesday at 07:55 AM Posted Wednesday at 07:55 AM Great update, one million thanks! Plugin is now complete (at least for me)
soderlund 97 Posted Wednesday at 08:23 AM Author Posted Wednesday at 08:23 AM 5 hours ago, Jdiesel said: Unless I am misinterpreting the rules, I can't get the last played rule to work. What I'm trying to achieve is only show items watched by any user in the last 30 days. The rules should be correct. When I’m running with the exact same filter I get positive results.. Is it the Tag or Home Screen section that ends up empty? Do you see anything in the log (enable extended log)? 12 minutes ago, chander421 said: Great update, one million thanks! Plugin is now complete (at least for me) Thanks!
soderlund 97 Posted Wednesday at 08:30 AM Author Posted Wednesday at 08:30 AM I could mention for everyone that even though this is a stable release, there will probably be some bugs found. It’s stable in the sense that it will not break anything and all functionality is working as expected (except some bugs). I have tested all filters for the smart playlist, but when we start to combine them in weird ways and on other systems I expect some smaller issues. Thanks for all help and all bug reports!
crusher11 1127 Posted Wednesday at 07:34 PM Posted Wednesday at 07:34 PM How does “Last Played Date” handle unwatched items?
soderlund 97 Posted Wednesday at 10:08 PM Author Posted Wednesday at 10:08 PM 2 hours ago, crusher11 said: How does “Last Played Date” handle unwatched items? What do you mean? If it's not watched then it's not played, and therefore the filter will ignore them. The "Last Played" filter will give you all items that have been played within the days you set by the selected user. It will give you movies that are started but not finished, and movies that are completed. So for example, a movie that the selected user have watched 15% of and 100% will be included. (It still need to pass the threshold set in Emby library settings, default 2%). I noticed now the filter only gives movies, it should also give series. I'll look into that. Anyone else noticed more filters that only gives movies? My intention has always been to include both movies and series as default.
crusher11 1127 Posted yesterday at 05:31 AM Posted yesterday at 05:31 AM 7 hours ago, soderlund said: What do you mean? If it's not watched then it's not played, and therefore the filter will ignore them. If the rule is, say, “last played date > 100,” it's not clear whether or not unwatched items should be included.
soderlund 97 Posted yesterday at 01:55 PM Author Posted yesterday at 01:55 PM 7 hours ago, crusher11 said: If the rule is, say, “last played date > 100,” it's not clear whether or not unwatched items should be included. I’m still not sure what you are asking, sorry.. A movie or show is considered as watched when the progress is 90% or more. The last played filter will give you all items that have been played (more that 2% progress). So if we are talking pure technical terms, then yes - unwatched items will be included. But more practical terms, it will only be items that the user has watched more or less of.
crusher11 1127 Posted yesterday at 04:00 PM Posted yesterday at 04:00 PM 1 hour ago, soderlund said: I’m still not sure what you are asking, sorry.. Last Played, All Users, > 1095. That should return all movies that have not been watched by anyone in the last three years. That obviously includes all movies that were watched more than three years ago. But does it also include movies that have not been watched at all? Those movies have also not been watched in the past three years, and by that logic should be included, but they haven't been watched more than three years ago, and by that logic should not be included. I think you're just thinking of it in terms of Last Played LESS THAN, whereas I'm looking for Last Played GREATER THAN. What I have now is: Last Played, All Users, > 1095 OR Unwatched, All Users AND Date Added > 1095 My goal is to resurface things that have been forgotten about. But if the first rule returns items that have never been watched, then either the second rule is redundant or the first rule will surface things that have never been watched but are newer than 3 years.
soderlund 97 Posted 23 hours ago Author Posted 23 hours ago (edited) Okay, I understand what you want to accomplish. Lets break it down and see if we can get down to the point, my answers in bold. First lets clarify what "Last played" is. A movie gets a played status when a user has seen 2-100% of that movie (default Emby setting). In other words, the user has to have seen part of that movie, or completed it for the flag to be set. When we add last played, we sort these played status into a list based of time. 4 hours ago, crusher11 said: Last Played, All Users, > 1095. That should return all movies that have not been watched by anyone in the last three years. Partly, it also need the played status by all users from more than 3 years ago That obviously includes all movies that were watched more than three years ago. Correct, but for all users But does it also include movies that have not been watched at all? No, it will only include movies that have that played status Those movies have also not been watched in the past three years, and by that logic should be included, I disagree. The logic is "any movie a user have started to watch or finished". I no user have started to watch that specific movie, it does not have a Last played status. but they haven't been watched more than three years ago, and by that logic should not be included. Correct, as above 4 hours ago, crusher11 said: What I have now is: Last Played, All Users, > 1095 OR Unwatched, All Users AND Date Added > 1095 My goal is to resurface things that have been forgotten about. But if the first rule returns items that have never been watched, then either the second rule is redundant or the first rule will surface things that have never been watched but are newer than 3 years. Last Played, All Users, > 1095 This will give you: All movies EVERYONE have started to play for more than 3 years ago. If you have a lot of users, this is very unlikely, or you will only get a handful of hits. I believe the issue is in the "All Users". When you are using "All user" it means that every user need to have set that played status for that specific movie. For example lets use Batman. The watch status of the users is like this: John: 99% Maria: 45% Donald: 8% Then you will have a hit and Batman should end up in your list. If it's like this: John: 99% Maria: 45% Donald: 0% Then Donald will break the rule, as it has not been played by all users, and you will have zero hits. Unwatched, All Users AND Date Added > 1095 This will give you: All movies that NO ONE has completed, and where added to the library more than 3 years ago. If it's like this: John: 99% Maria: 45% Donald: 8% Then John will break the rule, and Batman will not get added. If it's like this: John: 0% Maria: 45% Donald: 8% Then you will get a hit because no one has finished that movie. I think i understand what you want to accomplish, here are a few examples Last played, Any User, >1095 AND NOT Last played, any user, <1095 This will give you a move that at least one user watched 3, 5 or 15 years ago, but no one have seen it in the past 3 years. Could be good for "there has been interest in this movie, but that was a long time ago. Lets resurface" NOT Last played, any user, <1095 This will give you all movies that no one has seen in the latest 3 years. Does this answer your questions? Edited 23 hours ago by soderlund 1
LongMan 115 Posted 22 hours ago Posted 22 hours ago (edited) @soderlundThanks for the analysis above. It made the use of all users and any user clear. Have you included an any user parameter? Edited 22 hours ago by LongMan
soderlund 97 Posted 20 hours ago Author Posted 20 hours ago 1 hour ago, LongMan said: @soderlundThanks for the analysis above. It made the use of all users and any user clear. Have you included an any user parameter? Your welcome! I tried to be educational but it's difficult and quickly becomes extremely complicated when you start mixing different logical rules. Just let me know if anyone want help with some special rules or outcome and we'll try to figure it out Yes there is an any user parameter. When you select for example Watched / Unwatched you can filter for All, Any or a specific user. And in this example; All Users - will give you movies and shows that every user has completed. For example, all users have seen Batman and then it get on the list. But it is enougt that only one user have not seen that movie to brake the rule. Any User - here you get all movies that John has seen, AND all movies Maria has seen, AND all movies Donald has seen, and so on... 1
shinedou 7 Posted 7 hours ago Posted 7 hours ago This plugin is great and keeps getting better. I have a couple of requests that I think will complete my use case, at least for now I would like to have the option to filter by "Overview" keyword with a contains or does not contain options. ALSO, perhaps adding the contains and does not contain options to the title filter also. Does the "Title" filter search episode titles? If not could we get an "Episode Title" filter with the options of contains and does not contain? USE CASE My use case is primarily for finding Christmas, Halloween and Thanksgiving episodes during the holiday season and putting and tagging them or putting in a collection. I would filter for keywords in the episode titles and in the overview. I normally am looking for the keywords Christmas, Halloween and Thanksgiving.
soderlund 97 Posted 1 hour ago Author Posted 1 hour ago (edited) 6 hours ago, shinedou said: This plugin is great and keeps getting better. I have a couple of requests that I think will complete my use case, at least for now I would like to have the option to filter by "Overview" keyword with a contains or does not contain options. Thanks for the kind words! Yeah I guess i can try to get filter for overview in there aswell. Not sure how many users gonna be using it, but hey - more is more! 6 hours ago, shinedou said: ALSO, perhaps adding the contains and does not contain options to the title filter also. If you hit the NOT at the left (red) it will reverse the filter. So this will give every movie that does NOT contain "Batman". 6 hours ago, shinedou said: Does the "Title" filter search episode titles? If not could we get an "Episode Title" filter with the options of contains and does not contain? My idea was to have movie and series name. But looking at the code it currently seems to be matching against movie names and episode names. This plugin is heavily vibe coded (coded with AI), and this was not my intention. For me Title is the movie name, or the name of the series, ex Band of Brothers. Pls argue with me if you think otherwise! EDIT: But when testing a bit more with the Title filter it seems to be doing what i wanted.. Hmm, my AI might be drunk.. Anyway, I'll look into it a bit more. I was about to release an update tonight with small improvements and bug fixes, but I'm gonna give you a new filter for matching against overview, and fix the Title filter according to my initial intention. I will also add another filter for "Title (episode)" And for your use case @shinedouif you are matching against an episode name with "Christmas", it should be enough to have one episode of Grey's Anatomy be named something with Christmas, but you will still get Grey's Anatomy on your christmas list with 465 episode that has nothing to do with Christmas. But i guess you know that already If all goes well i might still release v3.1.2.0 tonight, or it will be closer to the end of the weekend. Edited 53 minutes ago by soderlund
soderlund 97 Posted 1 hour ago Author Posted 1 hour ago (edited) 5 hours ago, shinedou said: USE CASE My use case is primarily for finding Christmas, Halloween and Thanksgiving episodes during the holiday season and putting and tagging them or putting in a collection. I would filter for keywords in the episode titles and in the overview. I normally am looking for the keywords Christmas, Halloween and Thanksgiving. Actually, what i would suggest you look into is using a large list from MDBList to match against. There are list with 1500+ christmas movies available, and by using this the chances are pretty good your own christmas movies is on this list. EDIT: Oh, i see you wanted episodes... Still, might be worth checking out! Edited 1 hour ago by soderlund
crusher11 1127 Posted 7 minutes ago Posted 7 minutes ago Would be really cool if we could combine different types of sources. For example, everything on a Trakt list that hasn't been watched in the past month.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now