ginjaninja 647 Posted 9 hours ago Posted 9 hours ago "Once all episodes have been watched", 'watched' that sounds like a 'per user thing', i dont think image overalys are per user (but i havent checked), i mention in case it matters. .
Blueskies278 93 Posted 6 hours ago Author Posted 6 hours ago (edited) 3 hours ago, ginjaninja said: "Once all episodes have been watched", 'watched' that sounds like a 'per user thing', i dont think image overalys are per user (but i havent checked), i mention in case it matters. . You're right — I checked Emby creates one image per show and serves that same image to everybody. The plugin is never told who is looking — it only gets the show and which image type to draw on. So a badge baked into the image cannot differ per person. There isn't even a separate URL per user to hang a variant on. That's why the "ready to binge" mode asks you to type one Emby username, rather than guessing. It's also why the settings page counts your users and warns you if there's more than one. On a single-user server it's correct for everyone. On a family server everyone sees that one person's watched progress. Nothing looks broken, which is exactly why it's said plainly instead of left to be discovered. The default mode avoids the problem entirely: "season has finished airing" is a fact about the show, not about you, so it's the same for every user and needs no username. A badge drawn in the browser could be per-user, because it runs in your session. A badge baked into the image file can't be. Different delivery, different limits. Edited 5 hours ago by Blueskies278
Blueskies278 93 Posted 3 hours ago Author Posted 3 hours ago (edited) Update: Badges on library thumbnails vs Upcoming — can these be separated? My plugin draws a status badge into series artwork server-side, via IImageEnhancer. The problem: an unaired episode has no image of its own, so Emby serves the series Thumb for Upcoming cards. That's the same image my library's thumbnail view uses — same item, same image type, same cached file. So if I turn badges off for Upcoming, they also disappear from the library's thumbnail view. Only poster view keeps them, because Upcoming never requests a poster. Is there any way to tell those two apart server-side? The enhancer is only given the item and the image type, never the view, so I don't think there is — but I'd rather ask than assume. The only route I can see is supplying unaired episodes with their own thumbnail, so Upcoming stops falling back to the series image. Is that sensible, or is there something simpler I've missed? That said — if everyone's happy with the badge appearing in Upcoming, I'll leave it as it is and not pursue this any further. Personally I'm not keen on it, since Upcoming already shows the airing dates and the badge just repeats what's on screen — but I'd rather go with what people actually want. I will add this fix to my roadmap, but for now it's impossible because of limitations and constraints. Edited 1 hour ago by Blueskies278
Blueskies278 93 Posted 1 hour ago Author Posted 1 hour ago (edited) Update: New — "Complete" now flags the season finale in Upcoming The badge turns blue and reads Complete on the last episode of a season, so you can see at a glance that a show has finished airing and is ready to binge. Limitations, stated up front: Upcoming and your library's thumbnail view use the same image on the server, so whatever you set applies to both. There's no way to badge one and not the other. Choosing Complete only therefore affects your library too — thumbnails there show Complete and nothing else, so you lose the air dates in the library as well as in Upcoming. It's Complete rather than dates because the badge carries the series' next air date, so on any card that isn't the next episode it shows the wrong day — e.g. a "26 Aug" badge sitting under "Thursday 27 Aug". If you want full badges with dates and a clean Upcoming, use poster view for the library. Upcoming never requests a poster, so the two stop colliding. I tried giving unaired episodes their own artwork to break the link. Emby doesn't run image providers against them, so that route doesn't work. If you'd rather have the status on every client without any of this, "Prepend status to show description"writes into Emby's own metadata and shows everywhere, including the apps. Edited 1 hour ago by Blueskies278
GrimReaper 5087 Posted 1 hour ago Posted 1 hour ago Don't know what was your intention for badge placement, but since you're still building: could you give us an option where to actually place it on the image? Thanks. 1
Blueskies278 93 Posted 54 minutes ago Author Posted 54 minutes ago (edited) 13 minutes ago, GrimReaper said: Don't know what was your intention for badge placement, but since you're still building: could you give us an option where to actually place it on the image? Thanks. Yes, I will do that now where is the screenshot from? Edited 53 minutes ago by Blueskies278 1
GrimReaper 5087 Posted 48 minutes ago Posted 48 minutes ago 6 minutes ago, Blueskies278 said: where is the screenshot from? Previously mentioned New Overlay plugin. 1
Blueskies278 93 Posted 18 minutes ago Author Posted 18 minutes ago (edited) 42 minutes ago, GrimReaper said: Previously mentioned New Overlay plugin. it was hardcoded top-left, which was a decision i made. Next build adds a position setting: four corners plus top/bottom centre. One thing worth knowing: Emby draws its own unwatched-episode count in the top-right corner, so if you pick that the two will sit next to each other. Top-left is the default because most key art leaves that corner clear. Added Edited 5 minutes ago by Blueskies278
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