Crunchy-Downloader/CRD/Utils/Structs/Crunchyroll/CrMovie.cs
Elwador 4f6d0f2257 Add - Added --historyRefreshActive parameter
Add - Added **hardware acceleration options** for sync timings
Add - Added an **icon for episodes removed from Crunchyroll** or moved to a different season
Add - Added **highlighting for selected dubs/subs** in history
Add - Added **highlighting of episode titles** when all selected dubs/subs are available
Add - Added option to **set history series to inactive**
Add - Added **filter for Active and Inactive** series in history
Add - Added **download retry options** to settings, making retry variables editable
Chg - Changed **Sonarr missing filter** to respect the "Skip Unmonitored" setting
Chg - Changed to **show an error** if an episode wasn't added to the queue
Chg - Changed to show **dates for episodes** in the history
Chg - Changed **sync timings algorithm** to improve overall performance
Chg - Changed **sync timings algorithm** to more accurately synchronize dubs
Chg - Changed **series/season refresh messages** to indicate failure or success more clearly
Chg - Changed **error display frequency** to reduce repeated popups for the same message
Fix - Fixed **movie detection** to properly verify if the ID corresponds to a movie
Fix - Fixed **long option hiding remove buttons** for FFmpeg and MKVMerge additional options
Fix - Fixed **toast message timer** not updating correctly
Fix - Fixed **path length error**
Fix - Fixed a **rare crash when navigating history**
2025-04-23 22:36:05 +02:00

102 lines
No EOL
2.6 KiB
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace CRD.Utils.Structs;
public class CrunchyMovieList{
public int Total{ get; set; }
public List<CrunchyMovie>? Data{ get; set; }
public Meta Meta{ get; set; }
}
public class CrunchyMovie{
[JsonProperty("channel_id")]
public string? ChannelId{ get; set; }
[JsonProperty("content_descriptors")]
public List<string> ContentDescriptors{ get; set; }
[JsonProperty("mature_blocked")]
public bool MatureBlocked{ get; set; }
[JsonProperty("is_premium_only")]
public bool IsPremiumOnly{ get; set; }
[JsonProperty("is_mature")]
public bool IsMature{ get; set; }
[JsonProperty("free_available_date")]
public DateTime FreeAvailableDate{ get; set; }
[JsonProperty("premium_available_date")]
public DateTime PremiumAvailableDate{ get; set; }
[JsonProperty("availability_starts")]
public DateTime AvailabilityStarts{ get; set; }
[JsonProperty("availability_ends")]
public DateTime AvailabilityEnds{ get; set; }
[JsonProperty("maturity_ratings")]
public List<string> MaturityRatings{ get; set; }
[JsonProperty("movie_listing_title")]
public string? MovieListingTitle{ get; set; }
public string Id{ get; set; }
public string Title{ get; set; }
[JsonProperty("duration_ms")]
public int DurationMs{ get; set; }
[JsonProperty("listing_id")]
public string ListingId{ get; set; }
[JsonProperty("available_date")]
public DateTime AvailableDate{ get; set; }
[JsonProperty("is_subbed")]
public bool IsSubbed{ get; set; }
public string Slug{ get; set; }
[JsonProperty("available_offline")]
public bool AvailableOffline{ get; set; }
[JsonProperty("availability_notes")]
public string AvailabilityNotes{ get; set; }
[JsonProperty("closed_captions_available")]
public bool ClosedCaptionsAvailable{ get; set; }
[JsonProperty("audio_locale")]
public string AudioLocale{ get; set; }
[JsonProperty("is_dubbed")]
public bool IsDubbed{ get; set; }
[JsonProperty("streams_link")]
public string? StreamsLink{ get; set; }
[JsonProperty("slug_title")]
public string SlugTitle{ get; set; }
public string Description{ get; set; }
public Images? Images{ get; set; }
[JsonProperty("media_type")]
public string? MediaType{ get; set; }
[JsonProperty("extended_maturity_rating")]
public Dictionary<string, object> ExtendedMaturityRating{ get; set; }
[JsonProperty("premium_date")]
public DateTime PremiumDate{ get; set; }
[JsonProperty("type")]
public string type{ get; set; }
}