-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't import tv show activity from playback Reporting plugin #249
Comments
Same issue is occurring for me on a clean docker install performed today No errors in logs that I am aware of. |
I'm not a coder but I like a dig into databases. So I found that the "ItemId" in the jf_playback_reporting_plugin_data table relates to the "Id" in jf_library_episodes table. During the Playback Reporting Data Import, the "Id" field in jf_library_episodes table is concatenated with the "Id" field in jf_library_seasons table and inserted into the jf_playback_activity table as "EpisodeID". E.G. the field is Also the the "NowPlayingItemId" in the jf_playback_activity table is populated with the "EpisodeID" but I think this should be the appropriate "Id" from the jf_library_items table. Anyway, I did a bit of database hacking after running the import from Playback Reporting, to get TV Shows to show in correctly statistics.
Seems to have worked for me but remember I could be all wrong but in the screenshot below there was nothing prior to the Jellystat install for TV Shows (yellow line) and now its going back 2 years using all my Playback Reporting Data. Thanks @CyferShepard for all your work on this, its amazing! |
I had the same problem, your solution with the query worked perfectly, thank you! |
You're a wizard @gearoidkeane fixed my issue as well. I can try to open a PR to fix this but I since I don't really maintain this library or know it very well yet (only started to use it yesterday) I think it's best if one of the main guys here decide how they'd like to tackle this. I don't mind helping with the implementation once a course of action has been decided.. |
This worked for me! I did have to run each section individually though, adding the semicolon at the end. For some reason running the entire chunk didn't work. Thanks for this! |
Hey, I also had the same issue, and running the query worked almost perfectly! small edit: there was one entry with no playback time, deleting that fixed the negative watch time! |
Describe the bug
I have a clean install of Jellystat and tried to get data from Playback Reporting, but while Movie data is retrieved perfectly, the tv show activity isn't properly recognized, showing in Activity page as "Show: SnullEnull - Show - sXXeXX - Episode title" and not appearing in any other way.
Environment Details (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It shouldn't show SnullEnull but properly retrieve episode info.
Screenshots
Task Logs
Container Logs
N/A
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: