Jump to content

Playback Reporting Custom Query Group By Item Series


Recommended Posts

ShadowKindjal
Posted

As the title says, I'm using the custom querying feature of the playback reporting plugin to report on the play times of items on my server so I can determine which ones to deleted when I'm running out of space. I know you can filter by ItemType to pull movies or individual episodes, but is there a way to group by an Episodes TV Show/Series name? This is my current query.

SELECT SUM(PlayDuration), ItemType, ItemName
FROM PlaybackActivity 
GROUP BY ItemName
ORDER BY SUM(PlayDuration) ASC;

 

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