ginjaninja 647 Posted 6 hours ago Posted 6 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 92 Posted 4 hours ago Author Posted 4 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 3 hours ago by Blueskies278
Blueskies278 92 Posted 57 minutes ago Author Posted 57 minutes 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. but I will still try to fix it. Edited 24 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