Teredactle 27 Posted May 8 Posted May 8 Question on this setup for notifications: Playback Reporting User Activity Report New Media Report If I have User Activity Report checked, but in the user dropdown I select no users, is shows ANY; if I select ALL the users, it uncheks them all and puts ANY. This is strange behaviour no? If I select no users it should say NONE, and even if you have User Activity Report checked, should not report anything when it runs...
dethknite 37 Posted May 23 Posted May 23 (edited) If you have time, could you look into the feasibility of ignoring "undefined" users on the "Active" tab. I get hundreds of these from my jellyseer instance that connects to Emby (api key). Edited May 23 by dethknite
Happy2Play 9458 Posted May 23 Posted May 23 (edited) 9 hours ago, dethknite said: If you have time, could you look into the feasibility of ignoring "undefined" users on the "Active" tab. I get hundreds of these from my jellyseer instance that connects to Emby (api key). Can't you already do that in Settings or is undefined not listed? Edited May 23 by Happy2Play
Jdiesel 1332 Posted May 23 Posted May 23 I had a similar question a few months back. Undefined users don't show up in the Ignored Users dropdown 1 1
rbjtech 5005 Posted May 23 Posted May 23 1 minute ago, Jdiesel said: I had a similar question a few months back. Undefined users don't show up in the Ignored Users dropdown Looking at the .js code - I think it would be easy enough to simply add an extra condition into the for loop that builds the rows. But then you may want to include them, so it should probably just look at a config variable set in the config tab. Maybe I'll take a look this weekend if @TeamB is busy .. 2
Neminem 900 Posted May 23 Posted May 23 I have noticed this too, but I came to the conclusion that it shows the time my users connect to jellyseerr. But Jellyseerr does not report users just the undefined user. It never bothered me to much. Since my user allmost never sign in.
Neminem 900 Posted May 23 Posted May 23 Guess i'm wrong as I don't have any users online now, according to my NPM logs.
Jdiesel 1332 Posted May 23 Posted May 23 Yeah I think it also gets picked up during a jellyseer media scan. I have radar and sonarr set to initiate a scan on media completion rather than leaving automatic scanning enabled in Emby. This results in API hits that are picked up by the reporting plugin. It's entirely a cosmetic thing that I try to ignore but my compulsive personality would love to hide it. 2
dethknite 37 Posted May 23 Posted May 23 1 hour ago, Jdiesel said: Yeah I think it also gets picked up during a jellyseer media scan. I have radar and sonarr set to initiate a scan on media completion rather than leaving automatic scanning enabled in Emby. This results in API hits that are picked up by the reporting plugin. It's entirely a cosmetic thing that I try to ignore but my compulsive personality would love to hide it. Yeah, every 5 mins for me. Kinda heartening that I am not the only OCD person around... 1
dethknite 37 Posted May 25 Posted May 25 18 hours ago, TeamB said: Why is jellyseerr creating all these sessions? The 5min job for me is the "Recently Added" / new media scan. Not sure why it appears as a different undefined user each time.
Teredactle 27 Posted June 9 Posted June 9 Hi @TeamBI'm having a weird issue with "New Media Report" part of this plugin. I have it set to report out of 3 specific libraries, so that when there are new home videos/photos added, it will kick off an email to my family, with the updated (added media). I have it limited with "Limit user events to" the FamilyUser in particular, then "Limit library events to" to 3 libraries, 2 x HomeVideos, and 1 x Movies library. ["Limit device events to" Any] However, when the email is kicked off for NewMediaReport, it also reports videos added in a different library "Google media Dump", a library to which FamilyUser >> does not even have permissions/access to through the user configuration. How do I fix this/why is it doing this? It should not report any media out of this library which the FamilyUser has no access to. TY
TeamB 2414 Posted June 11 Author Posted June 11 On 6/9/2025 at 11:50 PM, Teredactle said: Hi @TeamBI'm having a weird issue with "New Media Report" part of this plugin. I have it set to report out of 3 specific libraries, so that when there are new home videos/photos added, it will kick off an email to my family, with the updated (added media). I have it limited with "Limit user events to" the FamilyUser in particular, then "Limit library events to" to 3 libraries, 2 x HomeVideos, and 1 x Movies library. ["Limit device events to" Any] However, when the email is kicked off for NewMediaReport, it also reports videos added in a different library "Google media Dump", a library to which FamilyUser >> does not even have permissions/access to through the user configuration. How do I fix this/why is it doing this? It should not report any media out of this library which the FamilyUser has no access to. TY Those limitations are not applied to the Playback Reporting events. The UI for this is a bit confusing, but the limitations only apply to INTERNAL events from CORE Emby components. The Playback reporting event notification is just a call to the following function in the plugin: https://github.com/faush01/playback_reporting/blob/30d39f9934051ccd7a0536eb7db3acf3434f125b/playback_reporting/Tasks/TaskNotifictionMediaReport.cs#L90 This code does not take into account users. It is run as the system user and no filtering is done.
Teredactle 27 Posted June 11 Posted June 11 2 hours ago, TeamB said: Those limitations are not applied to the Playback Reporting events. The UI for this is a bit confusing, but the limitations only apply to INTERNAL events from CORE Emby components. The Playback reporting event notification is just a call to the following function in the plugin: https://github.com/faush01/playback_reporting/blob/30d39f9934051ccd7a0536eb7db3acf3434f125b/playback_reporting/Tasks/TaskNotifictionMediaReport.cs#L90 This code does not take into account users. It is run as the system user and no filtering is done. Whaaaaat? @Lukeis this documented anywhere? The layout makes it very misleading because it's in the same section as the rest of the options so one will assume that the Playback Reporting section is also impacted by the User/Library/Device filtering.... but it isn't @LukeIs there a way to add a function for the Libary, New Media Added to have a toggle "Combine all in 1 notification per day", instead of one email for every single piece of media added? I already asked for this, but thought the above workaround via the Playback Reporting would have worked, which doesn't... Thank you
Luke 40131 Posted June 11 Posted June 11 Quote @LukeIs there a way to add a function for the Libary, New Media Added to have a toggle "Combine all in 1 notification per day", instead of one email for every single piece of media added? I already asked for this, but thought the above workaround via the Playback Reporting would have worked, which doesn't... Hi, please create a feature request topic for that. Or actually, I guess you already have one.
Teredactle 27 Posted June 11 Posted June 11 @Lukethe feature request is in this post which is ironic because the discussion of it lead me to this current thread/post about how Playback Reporting reports without the filtering in the notification section. Sigh... 1
displayname0504 1 Posted June 19 Posted June 19 I'm new to Emby and this ecosystem. Moving over from Plex, so trying to find parity for a couple features. Had a few questions for this plugin. 1. Is there an API or a way to query the db? I want to pull statistics in a programmatic way. 2. Is there a way to see what percentage (or partial/complete) of a file is watched by a user? I see there is a time field in the Summary page, but then I'd have to find out how long the file is and calculate how much is left, etc.
Luke 40131 Posted June 19 Posted June 19 5 minutes ago, displayname0504 said: I'm new to Emby and this ecosystem. Moving over from Plex, so trying to find parity for a couple features. Had a few questions for this plugin. 1. Is there an API or a way to query the db? I want to pull statistics in a programmatic way. 2. Is there a way to see what percentage (or partial/complete) of a file is watched by a user? I see there is a time field in the Summary page, but then I'd have to find out how long the file is and calculate how much is left, etc. Hi, is this a question for this plugin or a general Emby question?
displayname0504 1 Posted June 19 Posted June 19 It is specifically for this plugin. I'm trying to programmatically access playback history. (a la Tautulli on Plex) 1
TeamB 2414 Posted June 20 Author Posted June 20 15 hours ago, displayname0504 said: It is specifically for this plugin. I'm trying to programmatically access playback history. (a la Tautulli on Plex) for executing the data to write your own queries and chart that data you can use the Query Tab in the plugin. However there is no direct API or programmatic access, all the data is logged into a sqlite DB you can access on disk, it is also possible to take backups or snapshots of the data and export the data as CVS files. The plugin is open source so you can check the source code for how it works and you might be able to create your own version that does exactly what you need.
displayname0504 1 Posted June 20 Posted June 20 I saw the backup as tsv. Can it be set to CSV? I also didn't see a place to update the schedule for backups
TeamB 2414 Posted June 20 Author Posted June 20 7 hours ago, displayname0504 said: I saw the backup as tsv. Can it be set to CSV? I also didn't see a place to update the schedule for backups just change your delimiter when loading the data check in the schedules
displayname0504 1 Posted June 22 Posted June 22 Can the completed status be added to the data? (not just how long the file was played for?)
TeamB 2414 Posted June 22 Author Posted June 22 7 hours ago, displayname0504 said: Can the completed status be added to the data? (not just how long the file was played for?) No, the actual watched status is not possible to determine from the playback data. The actual watched status is something Emby has control over. Example, A user watches something to 70%, rewinds it as they missed some parts, watches it again, has to leave the room and has to rewind it again and watch it again. then gives up and just marks it as watched as they were not that into it anyway. Playback reporting does not know any of this, it just tracks playback activity. The watched status is help by the core Emby system. Another example is a user has already watched 60% of a movie and just FF to 60% and watches that. It is now watched but only 60% is watched. The logic to mark things as watched is in the core Emby server, Playback reporting does not try to duplicate that. The watched status is not stored in Playback reporting at all, just the playback activity.
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