Jump to content


Photo

Import ActivityLog in Playback Reporting Plugin

ActivityLog Playback Reporting Plugin Import activitylog.db playback_reporting.db

  • Please log in to reply
3 replies to this topic

#1 dual-o OFFLINE  

dual-o

    Advanced Member

  • Members
  • 49 posts
  • Local time: 07:33 PM

Posted 18 February 2020 - 11:54 AM

Hello Team Emby @TeamB,

I installed the "Playback Reporting Plugin" today. Is it possible to import my 2 years old activity log?
Would be nice to have all the informations of the last two years in Playback Report. :)

Thanks
Dual-O

Edited by Luke, 18 February 2020 - 11:54 AM.


#2 TeamB OFFLINE  

TeamB

    Advanced Member

  • Developers
  • 465 posts
  • Local time: 03:33 AM

Posted 18 February 2020 - 04:07 PM

Where did you get the activity log from?

If you saved and exported the log from Playback reporting in the first place then yes it should be.



#3 dual-o OFFLINE  

dual-o

    Advanced Member

  • Members
  • 49 posts
  • Local time: 07:33 PM

Posted 18 February 2020 - 05:08 PM

I try to explain:

I'm talking about the activitylog.db. Emby Server is running for about two years and it would be nice to import the "Activity Log" Emby creats itself.

So I wanna import the activitylog.db from Emby into "Playback Reporting".



#4 TeamB OFFLINE  

TeamB

    Advanced Member

  • Developers
  • 465 posts
  • Local time: 03:33 AM

Posted 18 February 2020 - 05:29 PM

There is no direct way to load data from the activity DB, it is in a different format. The Playback reporting plugin records it own data as you play items.

 

The backup file format for Playback Reporting is:

date time    UserID    ItemID    ItemName    PlaybackType    DeviceType    DeviceName    PlaybackTime    PausedTime

2019-11-18 12:13:23.794311    90cf0e7bd88d458ba3d4a15eafcd9b43    52673    Episode    Supernatural - s05e11 - Sam    DirectStream    Emby Mobile    Firefox    2    0

If you were able to extract the data you need from the activity log DB and save it in the above format and then load that data into Playback Reporting that might work for you.







Also tagged with one or more of these keywords: ActivityLog, Playback Reporting, Plugin, Import, activitylog.db, playback_reporting.db

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users