Jump to content

Plugin: Home Screen Companion (formerly AutoTag)


Recommended Posts

Posted

Great update, one million thanks! Plugin is now complete (at least for me) 😀 

Posted
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.

Screenshot2026-03-108_01_10PM.thumb.png.15a7f96ae78aa38670798a9a2aa1d1c8.png

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! 

Posted

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! 

Posted

How does “Last Played Date” handle unwatched items?

Posted
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. 

Posted
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.

 

Posted
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
Posted
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
Posted (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 by soderlund
  • Like 1
LongMan
Posted (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 by LongMan
soderlund
Posted
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... 
image.png.ff8001ffbdd69422a02688e46720bf54.png

  • Like 1
shinedou
Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...