Commit Graph

36 Commits

Author SHA1 Message Date
CyferShepard
833e8852eb update set config logic to change default prefered admin if a value is set and is not included in the current admins list 2025-05-01 14:35:51 +02:00
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
17fb7d6813 api fixes for config not loading during sycn on new threads 2025-03-30 13:52:43 +02:00
CyferShepard
ec6a165c6b null config fix for threaded tasks using plugins endpoint 2025-03-07 23:01:49 +02:00
CyferShepard
81fe4997d1 task scheduler rework
task manager implementation to start/stop tasks WIP
implemented socket client for internal communication between threads - needs more testing as connection string is hardcoded
added loopback in ws server to pass through toast ws messages from threads - needs more testing

fixed potential bug during config fetch function when syncing
2025-03-04 22:23:34 +02:00
CyferShepard
4ab5942f50 fix for session endpint function crashing when lost connection 2025-02-26 09:17:50 +02:00
CyferShepard
b455d7614b better error handling in api 2024-09-16 08:51:59 +02:00
CyferShepard
92ba211e8b Fix for #248 to address getUser filter error 2024-09-14 23:29:52 +02:00
CyferShepard
6f25aea78a Fix fetch for missing item taking too long. This was due to jellyfin returning all library items when a specific id is not found in a specified library. Limit param added to API clients to tackle this 2024-08-09 01:31:51 +02:00
CyferShepard
6fac8127a0 Sync rework, this overhauls the sync process to process by chuncking and processing data. This fixes an index out of range memory error due to large sets of libraries being fetched and kept in an array for final processing.
Changes made to the api classes to allow for individual calls as they previously looped to fetch each chunck before returning the final large data set.

Also added a fix to prevent a full sync or partial sync from triggering when the other one is already running
2024-07-28 21:04:10 +02:00
CyferShepard
d58807ca39 Fix for sync pulling entities from jellyfin that is not vissible. This was done by enforcing the userId field against the prefered admin
Added sizes to Episodes in library season view
2024-07-16 15:31:09 +02:00
CyferShepard
f70bce6b9a Version Bump 1.1.0 => 1.1.1
Added Dynamic API loader framework for Emby/Jellyfin switching, Emby API is still WIP, DO NOT USE as per #133

Reworked ome pages for correct url mapping of emby external links

Added IS_JELLYFIN flag to config endpoint to indicate if server is displaying Emby or Jellyfin Data

Fix for #218 Require Login set to false still displays Login Page until reload

New feat: Grouped Recently added Episodes under Seasons and Episode count on Home page. Toggle to revert back to ugrouped display will be added later

Added middleware to infer param types in API to simplify value checks, eg bool or numeric parameters
2024-06-29 22:57:33 +02:00
CyferShepard
c1e73a0370 chore: Filter out sessions with prerolls in JellyfinAPI 2024-06-16 21:02:17 +02:00
CyferShepard
88e89c1bcc consolidated validation and normalisation of of url to setconfig functions 2024-06-13 22:03:26 +02:00
CyferShepard
6e33d179f7 fix to replace is-url-http library due to docker build issues 2024-06-06 12:52:47 +02:00
CyferShepard
d5c6f1b927 chore: Update environment variable name for Postgres database in backend files
Fix: http/https not being appended to jellyfin server url during setup process, this should address issues #175, #163
2024-06-03 08:59:54 +02:00
CyferShepard
c1e9da3b94 Fix to remove trailers from session list #198 2024-05-08 20:58:15 +02:00
CyferShepard
6666bef325 added url to error debug 2024-04-27 15:27:13 +02:00
CyferShepard
b2ba7768c8 auth setup fixes 2024-04-07 15:59:08 +02:00
CyferShepard
f245b86eab added DateCreated field 2024-03-30 13:28:57 +02:00
CyferShepard
11d4e42eec Fixes for issues #171.
it seems jellyfin keeps a count of items that are missing for certain media types. IE you have 5/10 episodes for a season, itl keep the remaining 5 as virtual objects and are marked as missing. These have been filtered out.
Once a resync is completed. they will be marked as archived. A purge of cached items in the library wil delete all archived items
2024-03-27 11:51:44 +02:00
CyferShepard
bfbdbb6013 Fix error line substring bug in JellyfinAPI class 2024-03-22 10:06:03 +02:00
CyferShepard
4b7ff77533 moved urlValidation call to api class
added stacktrace error logs to api class
2024-03-22 10:04:58 +02:00
Thegan Govender
1c823c5bd2 optimized startup flow to reduce chances of getting stuck in setup
fixed bug where invalid token returned Unable to connect to backend page
better state tracking in activity monitor page and jellydin api calls
2024-03-10 02:04:51 +02:00
Thegan Govender
fbbe3670e5 bug fix for signup process resulting in multiple config rows and getting stuck on step 2/2
API change for updating user details
added ability to edit username
fixed weird bug with vite proxy
updated translations
2024-03-09 17:48:45 +02:00
Thegan Govender
c49d08495b Add translations to login/signup screens
Improved Sync performance by optimizing Item/Episode Info sync step
fixed task list interval not showing bug
2024-02-26 09:31:27 +02:00
Thegan Govender
808f973808 tweaked ws message to be more meaningfull 2024-02-24 00:09:25 +02:00
Thegan Govender
532eae285f fixed code in api to have proper increment value plus added 50ms delay between recursive calls for getItems
Added named paramters to Jellyfin api for better code structuring and targeted parameter values
2024-02-24 00:04:35 +02:00
Thegan Govender
7352dab0e9 fix for incorrect value assigned to increment 2024-02-23 23:32:28 +02:00
Thegan Govender
ff8d4fb9a8 Refactor code and update translations 2024-02-18 15:50:04 +02:00
Thegan Govender
071eb79cfc Fix for fetchItem Endpoint
fetchItem endpoint was broken during Jellyfin API refactorization, this fixes the endpoint
2024-01-17 18:25:22 +02:00
Thegan Govender
c22869ad46 Playback duration check
added check to not insert activity with a playback duration of 0 seconds
2024-01-08 16:11:06 +02:00
Thegan Govender
7a496c70a8 Fix for session.filter error #137 2023-12-10 18:30:42 +02:00
Thegan Govender
fab97c4a7b Cleanup first time setup and sync logic
Fixed checks and triggers for First time setup and sync processes so that sync wont run until setup is complete
2023-11-27 20:58:31 +02:00
Thegan Govender
4cf53f6356 Fix broken first time setup
Issues resulting in a buggy first time setup due to factorized code changes have been fixed
2023-11-27 16:45:45 +02:00
Thegan Govender
0035a1cc08 Refactorized code
Cleaned up Jellyfin calls and stored them in a Jellyfin Class to be called globally. Also added better error handling for jellyfin api network responses

Reduced config error handling by moving this code to a central Config class

refactored https instance of axios into a new class reducing the need to recreate the https agent where needed

General comments and code clean-up

Removed Data Debugger as it hasn't been maintained and no longer servers a purpose

CSS fixes on session card
2023-11-25 14:13:16 +02:00