10 Commits

Author SHA1 Message Date
CyferShepard
607b21c542 Added Genre stats to users page #292
Added Genres to items table
enhanced db-helper to add group by
fixed bug in fb-helper where null rows triggered a not count prop error
fixed issue where no plays on user screen attempted to open the item page
updated translations for genres
2025-03-30 17:33:58 +02:00
CyferShepard
a60d047a72 chore: Update bulk insert and update query for jf_activity_watchdog table
fix: timestamp update error in watchdog table
chore: removed legacy update code and used db bulkInsert function which has update on conflict handlers
2024-06-09 00:35:58 +02:00
CyferShepard
7d798448ea Changes to Recently Added Items
Now displays Recently added to Jellystat via sync and does not only rely on an active connection to Jellyfin
It will still show items from jellyfin that have been recently added that are have the DateCreate that is Greater than the Last Date Created item in the list
2024-05-24 18:53:41 +02:00
CyferShepard
f245b86eab added DateCreated field 2024-03-30 13:28:57 +02:00
Thegan Govender
557fea971f fix for archive bit, this should fix the stat count issues aswell 2024-01-25 20:16:28 +02:00
Thegan Govender
af1214e763 Playback tracking rework
This rework looks for existing playback records based on the following criteria:
activity matching `NowPlayingItemId` within the last 1 hour with Playback progress <=80%

if theres a matching record:
update the PlaybackDuration to be existing PlaybackDuration + new PlaybackDuration progress

Update ActivityDateInserted to current time

Related issues: #56 #116
2024-01-08 09:03:40 +02:00
Thegan Govender
f9f5c34792 logic fixes for archiving items in archived library
Now items inside a library will only be archived if the library is deleted.

If it was excluded but still exists on jellyfin then the items inside wont be archived

Amended bulk upload conflict query for libraries table to revert archived bit to false if data is updated
2023-11-20 11:22:19 +02:00
Thegan Govender
837dd18014 Sync Changes
Added Sync feature to only sync Recently Added Items that don't exist in the database (this will not update existing data), default interval now set to 15 Minutes

Renamed existing sync to Full sync (should function exactly the same), default interval now set to 1 day

Reworked handling of items no longer on jellyfin. Items are no longer deleted but are now marked as archived so that we can still view their items when looking at Playback Activity.

Added options to purge Archived data. This will either purge just the item (including seasons and episodes if its a show) or the item plus all related watch activity
2023-11-19 22:17:36 +02:00
Thegan Govender
aeb46f2a08 Task and Logging Changes
Reworked Tasks and logging to prevent overlapping tasks from executing. This is done by reworking the logging process so that the task state is stored and accurately tracked allowing us to check for currently running tasks.

Backup and sync tasks also reworked to reduce code redundancy and allow for better error handling

Websockets finally fixed and implementation has begun

Added Toast notifications
2023-09-03 20:47:52 +02:00
Thegan Govender
550e1d3f7c v1.0.4.10 Beta 2023-06-18 21:02:18 +02:00