NYRANGERS423 2 Posted August 13, 2020 Posted August 13, 2020 @TeamB Does the Playback Reporting plugin have any information about the play count for the media not by user? Information like the video was last played 17 days ago or a date previous. I am trying to find out what videos my family doesn't watch anymore by determining that a video was not played in over 6 months. Then this will allow me to remove the video.
Solution TeamB 2438 Posted August 13, 2020 Solution Posted August 13, 2020 (edited) You can use the query tab to do addhoc queries for data like this. The queries are in sql against a single table so should be simple to write and understand. UPDATE: Actually this is only going to give you what was played last longer than 6 months ago, if no user has watched a movie at all then that movie wont show up in Playback reporting ever. I dont think you can get the info you are looking for from Emby, have a look at:https://emby.media/community/index.php?/topic/56640-developing-a-standalone-embystat-server/ It might do what you need. Edited August 13, 2020 by TeamB
Guest Posted September 25, 2020 Posted September 25, 2020 Hello, Is this plugin not working anymore? I didn't find it in the plugins catalog for the installation. Is there any other similar plugin? Thank you
Luke 42077 Posted September 25, 2020 Posted September 25, 2020 Did you check the plugin catalog using the web app?
TeamB 2438 Posted September 25, 2020 Posted September 25, 2020 (edited) Its being reorganised, for now grab the plugin zipped dll from the following location, unzip it and drop the dll in the plugins directory of your emby server. https://github.com/faush01/playback_reporting/releases Edited September 25, 2020 by TeamB
chrismallia 12 Posted October 5, 2020 Posted October 5, 2020 emby 4.5.1.0. cant find the plugin in plugins
EliteArmedForce 6 Posted October 29, 2020 Posted October 29, 2020 (edited) @EliteArmedForce Hello, Recently, I installed emby server in another device (RPi4) and I noticed that "Playback Reporting" plugin missing in catalog of Emby server 4.5.2.0 version whereas my first server still has it installed. Please help!!! Present plugin catalog: That I am looking for: Edited October 29, 2020 by EliteArmedForce Removed duplicate picture
TeamB 2438 Posted October 29, 2020 Posted October 29, 2020 oh crap sorry I forgot to add it back, I was cleaning up a bunch of stuff and removed it for a while. I will work to have it added back into the catalogue in the next day or so. Until then you can get it as a download and drop it directly into your plugins dir of the server from the GitHub page: https://github.com/faush01/playback_reporting/releases Grab the playback_reporting.zip and extract the dll into your emby server plugin dir. 2 1
EliteArmedForce 6 Posted October 30, 2020 Posted October 30, 2020 9 hours ago, TeamB said: oh crap sorry I forgot to add it back, I was cleaning up a bunch of stuff and removed it for a while. I will work to have it added back into the catalogue in the next day or so. Until then you can get it as a download and drop it directly into your plugins dir of the server from the GitHub page: https://github.com/faush01/playback_reporting/releases Grab the playback_reporting.zip and extract the dll into your emby server plugin dir. 8 hours ago, TeamB said: its back in the catalogue now No worries. I just checked, it is back. Thanks man
bretswinney 22 Posted December 1, 2020 Posted December 1, 2020 Having trouble restoring from backup. Any suggestions?
TeamB 2438 Posted December 1, 2020 Posted December 1, 2020 My suggestion would be for you to describe the problem and perhaps supply a log file. That would be a good starting point.
bretswinney 22 Posted December 1, 2020 Posted December 1, 2020 I reset up my server & I am having trouble getting my playback reporting data to show up correctly. Which log file do you need?
TeamB 2438 Posted December 1, 2020 Posted December 1, 2020 (edited) In what way is it showing up wrong? Are you trying to import some playback reporting backup data and it is not working? Do you have the playback reporting back up file, you should be able to open it with notepad to see if it is correct data. What happens when you try to import the playback reporting data? Edited December 1, 2020 by TeamB
bretswinney 22 Posted December 2, 2020 Posted December 2, 2020 2 hours ago, TeamB said: In what way is it showing up wrong? users are not there Are you trying to import some playback reporting backup data and it is not working? yes Do you have the playback reporting back up file, you should be able to open it with notepad to see if it is correct data. data is coming in but users are not lining up What happens when you try to import the playback reporting data? data comes back does not show up
Happy2Play 9780 Posted December 2, 2020 Posted December 2, 2020 Are you basically saying the plugin userids do not align with the reset server userids any more? Only 3 of 17 users have names @bretswinney
bretswinney 22 Posted December 2, 2020 Posted December 2, 2020 Yes they are the same usernames but instead of them matching they are unknown except for new data
TeamB 2438 Posted December 2, 2020 Posted December 2, 2020 Yes, if you reinstalled the server the users will have different ids so old playback reporting data will no longer be able to look up the user name. The only way to fix this would be to find/guess the old user id:name then find the new user id and do a find replace for all the old ones and update them with the new ones.
bretswinney 22 Posted December 2, 2020 Posted December 2, 2020 I think I can probably do that. What file do I need to modify?
TeamB 2438 Posted December 2, 2020 Posted December 2, 2020 You can either directly modify the backup TSV file, remove all the old data, in the settings set "Data retention" to clear all and run the Trim DB scheduled task, remember to set Data retention back afterwards. Then re import the data from the modified TSV. Or you can run some SQL update commands in the Query TAB of the plugin to do the updates, like this: UPDATE PlaybackActivity SET UserId = "<new user id>" WHERE UserId = "<old user id>"
Happy2Play 9780 Posted December 2, 2020 Posted December 2, 2020 FYI if you go to Dashboard-Users and click on each users you will see their userid in the url.
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