SergeantPanda
01370e8892
Bug fix: Fixed duplicate key constraint violations by treating TMDB/IMDB ID values of 0 or '0' as invalid (some providers use this to indicate "no ID"), converting them to NULL to prevent multiple items from incorrectly sharing the same ID. ( Fixes #813 )
CI Pipeline / prepare (push) Waiting to run
CI Pipeline / docker (amd64, ubuntu-24.04) (push) Blocked by required conditions
CI Pipeline / docker (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
CI Pipeline / create-manifest (push) Blocked by required conditions
Build and Push Multi-Arch Docker Image / build-and-push (push) Waiting to run
2026-01-07 16:38:09 -06:00
SergeantPanda
30d093a2d3
Fixed bulk_create and bulk_update errors during VOD content refresh by pre-checking object existence with optimized bulk queries (3 queries total instead of N per batch) before creating new objects. This ensures all movie/series objects have primary keys before relation operations, preventing "prohibited to prevent data loss due to unsaved related object" errors. ( Fixes #813 )
CI Pipeline / prepare (push) Waiting to run
CI Pipeline / docker (amd64, ubuntu-24.04) (push) Blocked by required conditions
CI Pipeline / docker (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
CI Pipeline / create-manifest (push) Blocked by required conditions
Build and Push Multi-Arch Docker Image / build-and-push (push) Waiting to run
2026-01-06 16:12:50 -06:00
SergeantPanda
6031885537
Bug Fix: M3UMovieRelation.get_stream_url() and M3UEpisodeRelation.get_stream_url() to use XC client's _normalize_url() method instead of simple rstrip('/'). This properly handles malformed M3U account URLs (e.g., containing /player_api.php or query parameters) before constructing VOD stream endpoints, matching behavior of live channel URL building. ( Closes #722 )
2026-01-04 14:36:03 -06:00
SergeantPanda
1a67f3c8ec
Merge branch 'dev' of https://github.com/Dispatcharr/Dispatcharr into pr/patchy8736/796
2026-01-02 09:53:54 -06:00
SergeantPanda
6bd8a0c12d
Enhance error logging for invalid season and episode numbers in batch_process_episodes
2026-01-02 09:53:45 -06:00
patchy8736
c57f9fd7e7
Fix episode processing issues in VOD tasks
...
- Ensure season and episode numbers are properly converted to integers with error handling
- Remove zero-padding from debug log format for season/episode numbers
- Add validation to filter out relations with unsaved episodes that have no primary key
- Add proper logging for skipped relations when episode is not saved to database
These changes address potential crashes when API returns string values instead of integers
and prevent database errors when bulk creation operations fail silently due to conflicts.
Fixes issue #770
2026-01-01 15:57:27 +01:00
Vitek
5a4be532fd
Fix VOD category filtering for names containing pipe characters
...
Use rsplit('|', 1) instead of split('|', 1) to split from the right,
preserving any pipe characters in category names (e.g., "PL | BAJKI",
"EN | MOVIES"). This ensures the category_type is correctly extracted
as the last segment while keeping the full category name intact.
Fixes MovieFilter, SeriesFilter, and UnifiedContentViewSet category parsing.
2025-12-27 00:21:42 +01:00
SergeantPanda
48e7060cdb
Bug Fix: VOD episode processing now correctly handles duplicate episodes from the same provider. ( Fixes #556 )
2025-12-16 15:24:16 -06:00
SergeantPanda
2b58d7d46e
Enhancement: Ensure "Uncategorized" categories and relations exist for VOD accounts. This improves content management for movies and series without assigned categories. Closes #627
2025-11-25 17:14:51 -06:00
SergeantPanda
da628705df
Separate VOD and channel logos into distinct tables with dedicated management UI
...
- Created VODLogo model for movies/series, separate from Logo (channels only)
- Added database migration to create vodlogo table and migrate existing VOD logos
- Implemented VODLogoViewSet with pagination, filtering (used/unused/movies/series), and bulk operations
- Built VODLogosTable component with server-side pagination matching channel logos styling
- Added VOD logos tab with on-demand loading to Logos page
- Fixed orphaned VOD content cleanup to always remove unused entries
- Removed redundant channel_assignable filtering from channel logos
2025-11-07 13:19:18 -06:00
SergeantPanda
951af5f3fb
Enhancement: Add auto-enable settings for new groups and categories in M3U and VOD components
...
Bug Fix: Remove orphaned categories for VOD and Series
Fixes #540
Closes #208
2025-10-09 15:28:37 -05:00
SergeantPanda
bc574c272c
Bug fix: convert commas to decimals and verify float before saving vod/series to database.
...
Fixes #526
2025-10-06 19:45:43 -05:00
SergeantPanda
b3debcd014
Fix bug during VOD cleanup where all VODs not from the current m3u scan would be deleted.
2025-09-18 14:14:04 -05:00
SergeantPanda
5e661ea208
Fix VOD page not displaying correct order while changing pages.
2025-09-14 19:27:11 -05:00
SergeantPanda
f8e91155e2
Fix bug: cannot access local variable 'total_chunks' where it is not associated with a value
2025-09-14 15:19:51 -05:00
SergeantPanda
67939ba44b
Auto cleanup orphaned vods and series during scan.
2025-09-04 16:57:32 -05:00
SergeantPanda
2026eab7f2
Default VOD categories to disabled.
2025-08-28 13:17:22 -05:00
SergeantPanda
ad774db59e
Fixed episode image failing to load.
2025-08-28 11:45:16 -05:00
SergeantPanda
11f54f3cda
Fix VOD categories not loading on new accounts without webui refresh.
2025-08-28 11:20:37 -05:00
SergeantPanda
d2b852c9a2
Fix cyclic error with logos loading.
2025-08-28 10:42:42 -05:00
SergeantPanda
b92d7c2c21
Major rework of how logos are handle. We will no longer load logos on login and they will only be loaded into the store when needed.
2025-08-26 13:19:29 -05:00
SergeantPanda
5eedceedc3
Combine migrations.
2025-08-25 17:27:15 -05:00
dekzter
11bc2e57a9
optimized vod parsing, added in vod category filtering, added UI individual tabs for movies vs series VOD category filters
2025-08-25 14:37:20 -04:00
SergeantPanda
3ecd7137ff
Added misssing bulk fetch function for vod categories.
2025-08-22 17:12:50 -05:00
dekzter
a19bd14a84
added vod category filtering
2025-08-22 16:59:00 -04:00
SergeantPanda
f1a80c3389
Check for null values before saving to database and scrub empty string.
2025-08-21 16:31:41 -05:00
SergeantPanda
3590265836
Show all available options for VODs and their corresponding quality.
2025-08-21 15:04:47 -05:00
SergeantPanda
a95ed79e93
Handle issue with relations.
2025-08-21 12:24:06 -05:00
SergeantPanda
90eccd6edf
When getting detailed VOD and series info if an imdb or tmdb id were added it could have caused duplicate key violations, we now merge the two VOD's deleting the VOD that isn't being accessed at that time to avoid the user getting invalid links.
2025-08-21 11:41:58 -05:00
SergeantPanda
56af468320
Merge migrations
2025-08-21 09:35:25 -05:00
SergeantPanda
24f876d09f
Add priority for providers so VOD's can be auto selected based on the priority.
2025-08-20 17:38:21 -05:00
SergeantPanda
d04fdb6f69
Fix categories not linking.
2025-08-19 15:42:30 -05:00
SergeantPanda
9137bd47c9
Switch to pulling ALL vods, series and categories instead of an api call for each category.
2025-08-19 14:53:43 -05:00
SergeantPanda
fa19525ab9
Remove url from movie table and save custom_properties for series.
2025-08-19 11:25:56 -05:00
SergeantPanda
54404339c2
Fix batch processing using simpler method for duplicate detection.
2025-08-19 10:01:37 -05:00
SergeantPanda
0f8fe82f17
Skip logos if they are long.
2025-08-18 14:22:40 -05:00
SergeantPanda
1bf947caf2
Fix not detecting duplicates based on imdb and tmdb ids.
2025-08-14 13:40:31 -05:00
SergeantPanda
d92ba0c7e1
Fix VOD page not using pagination properly.
2025-08-14 12:51:56 -05:00
SergeantPanda
0cf2c74b40
Change from individual database calls to batch.
2025-08-14 12:51:39 -05:00
SergeantPanda
3942517032
Save custom properties that aren't stream specific for episodes.
2025-08-09 16:55:26 -05:00
SergeantPanda
4d7987214b
Fixed some vod apis, converted duration to duration_secs, add custom_poperties to vod_episode
2025-08-09 16:31:33 -05:00
SergeantPanda
00361c15b9
Merged all migrations.
2025-08-08 08:41:43 -05:00
SergeantPanda
345247df11
Fix vod streaming.
2025-08-08 08:35:59 -05:00
SergeantPanda
a332678cfb
Remove URL from episode relation table.
2025-08-08 08:06:28 -05:00
SergeantPanda
b229c9628d
Fix movies not loading on first modal open.
2025-08-07 20:59:45 -05:00
SergeantPanda
430a486438
Add imdb_id to movie api output
2025-08-07 20:52:24 -05:00
SergeantPanda
325d832c1b
Fixes movie details after db changes.
2025-08-07 20:42:20 -05:00
SergeantPanda
3741d28565
Fix typo in air date parsing.
2025-08-07 19:41:10 -05:00
SergeantPanda
8d37c678d3
Fix air_date not populating for series.
2025-08-07 19:28:42 -05:00
SergeantPanda
56922e1c01
Fix custom properties.
2025-08-07 16:10:45 -05:00