PlexApi was no longer needed.
This commit is contained in:
		@@ -199,130 +199,3 @@ type XMLPlexAPI struct {
 | 
			
		||||
		} `xml:"Role"`
 | 
			
		||||
	} `xml:"Video"`
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// PlexAPI -  This contains the information returned from Plex's API
 | 
			
		||||
type PlexAPI struct {
 | 
			
		||||
	MediaContainer struct {
 | 
			
		||||
		Video struct {
 | 
			
		||||
			Media struct {
 | 
			
		||||
				Part struct {
 | 
			
		||||
					Stream []struct {
 | 
			
		||||
						ID                 string `json:"_id"`
 | 
			
		||||
						StreamType         string `json:"_streamType"`
 | 
			
		||||
						Default            string `json:"_default,omitempty"`
 | 
			
		||||
						Codec              string `json:"_codec"`
 | 
			
		||||
						Index              string `json:"_index,omitempty"`
 | 
			
		||||
						Bitrate            string `json:"_bitrate,omitempty"`
 | 
			
		||||
						Language           string `json:"_language"`
 | 
			
		||||
						LanguageCode       string `json:"_languageCode"`
 | 
			
		||||
						BitDepth           string `json:"_bitDepth,omitempty"`
 | 
			
		||||
						ChromaLocation     string `json:"_chromaLocation,omitempty"`
 | 
			
		||||
						ChromaSubsampling  string `json:"_chromaSubsampling,omitempty"`
 | 
			
		||||
						FrameRate          string `json:"_frameRate,omitempty"`
 | 
			
		||||
						HasScalingMatrix   string `json:"_hasScalingMatrix,omitempty"`
 | 
			
		||||
						Height             string `json:"_height,omitempty"`
 | 
			
		||||
						Level              string `json:"_level,omitempty"`
 | 
			
		||||
						Profile            string `json:"_profile,omitempty"`
 | 
			
		||||
						RefFrames          string `json:"_refFrames,omitempty"`
 | 
			
		||||
						ScanType           string `json:"_scanType,omitempty"`
 | 
			
		||||
						Title              string `json:"_title,omitempty"`
 | 
			
		||||
						Width              string `json:"_width,omitempty"`
 | 
			
		||||
						DisplayTitle       string `json:"_displayTitle"`
 | 
			
		||||
						Selected           string `json:"_selected,omitempty"`
 | 
			
		||||
						Channels           string `json:"_channels,omitempty"`
 | 
			
		||||
						AudioChannelLayout string `json:"_audioChannelLayout,omitempty"`
 | 
			
		||||
						SamplingRate       string `json:"_samplingRate,omitempty"`
 | 
			
		||||
						Key                string `json:"_key,omitempty"`
 | 
			
		||||
					} `json:"Stream"`
 | 
			
		||||
					ID           string `json:"_id"`
 | 
			
		||||
					Key          string `json:"_key"`
 | 
			
		||||
					Duration     string `json:"_duration"`
 | 
			
		||||
					File         string `json:"_file"`
 | 
			
		||||
					Size         string `json:"_size"`
 | 
			
		||||
					AudioProfile string `json:"_audioProfile"`
 | 
			
		||||
					Container    string `json:"_container"`
 | 
			
		||||
					VideoProfile string `json:"_videoProfile"`
 | 
			
		||||
				} `json:"Part"`
 | 
			
		||||
				VideoResolution string `json:"_videoResolution"`
 | 
			
		||||
				ID              string `json:"_id"`
 | 
			
		||||
				Duration        string `json:"_duration"`
 | 
			
		||||
				Bitrate         string `json:"_bitrate"`
 | 
			
		||||
				Width           string `json:"_width"`
 | 
			
		||||
				Height          string `json:"_height"`
 | 
			
		||||
				AspectRatio     string `json:"_aspectRatio"`
 | 
			
		||||
				AudioChannels   string `json:"_audioChannels"`
 | 
			
		||||
				AudioCodec      string `json:"_audioCodec"`
 | 
			
		||||
				VideoCodec      string `json:"_videoCodec"`
 | 
			
		||||
				Container       string `json:"_container"`
 | 
			
		||||
				VideoFrameRate  string `json:"_videoFrameRate"`
 | 
			
		||||
				AudioProfile    string `json:"_audioProfile"`
 | 
			
		||||
				VideoProfile    string `json:"_videoProfile"`
 | 
			
		||||
			} `json:"Media"`
 | 
			
		||||
			Genre []struct {
 | 
			
		||||
				ID     string `json:"_id"`
 | 
			
		||||
				Filter string `json:"_filter"`
 | 
			
		||||
				Tag    string `json:"_tag"`
 | 
			
		||||
			} `json:"Genre"`
 | 
			
		||||
			Director struct {
 | 
			
		||||
				ID     string `json:"_id"`
 | 
			
		||||
				Filter string `json:"_filter"`
 | 
			
		||||
				Tag    string `json:"_tag"`
 | 
			
		||||
			} `json:"Director"`
 | 
			
		||||
			Writer []struct {
 | 
			
		||||
				ID     string `json:"_id"`
 | 
			
		||||
				Filter string `json:"_filter"`
 | 
			
		||||
				Tag    string `json:"_tag"`
 | 
			
		||||
			} `json:"Writer"`
 | 
			
		||||
			Producer []struct {
 | 
			
		||||
				ID     string `json:"_id"`
 | 
			
		||||
				Filter string `json:"_filter"`
 | 
			
		||||
				Tag    string `json:"_tag"`
 | 
			
		||||
			} `json:"Producer"`
 | 
			
		||||
			Country struct {
 | 
			
		||||
				ID     string `json:"_id"`
 | 
			
		||||
				Filter string `json:"_filter"`
 | 
			
		||||
				Tag    string `json:"_tag"`
 | 
			
		||||
			} `json:"Country"`
 | 
			
		||||
			Role []struct {
 | 
			
		||||
				ID     string `json:"_id"`
 | 
			
		||||
				Filter string `json:"_filter"`
 | 
			
		||||
				Tag    string `json:"_tag"`
 | 
			
		||||
				Role   string `json:"_role"`
 | 
			
		||||
				Thumb  string `json:"_thumb"`
 | 
			
		||||
			} `json:"Role"`
 | 
			
		||||
			RatingKey             string `json:"_ratingKey"`
 | 
			
		||||
			Key                   string `json:"_key"`
 | 
			
		||||
			GUID                  string `json:"_guid"`
 | 
			
		||||
			LibrarySectionTitle   string `json:"_librarySectionTitle"`
 | 
			
		||||
			LibrarySectionID      string `json:"_librarySectionID"`
 | 
			
		||||
			LibrarySectionKey     string `json:"_librarySectionKey"`
 | 
			
		||||
			Studio                string `json:"_studio"`
 | 
			
		||||
			Type                  string `json:"_type"`
 | 
			
		||||
			Title                 string `json:"_title"`
 | 
			
		||||
			ContentRating         string `json:"_contentRating"`
 | 
			
		||||
			Summary               string `json:"_summary"`
 | 
			
		||||
			Rating                string `json:"_rating"`
 | 
			
		||||
			AudienceRating        string `json:"_audienceRating"`
 | 
			
		||||
			Year                  string `json:"_year"`
 | 
			
		||||
			Tagline               string `json:"_tagline"`
 | 
			
		||||
			Thumb                 string `json:"_thumb"`
 | 
			
		||||
			Art                   string `json:"_art"`
 | 
			
		||||
			Duration              string `json:"_duration"`
 | 
			
		||||
			OriginallyAvailableAt string `json:"_originallyAvailableAt"`
 | 
			
		||||
			AddedAt               string `json:"_addedAt"`
 | 
			
		||||
			UpdatedAt             string `json:"_updatedAt"`
 | 
			
		||||
			AudienceRatingImage   string `json:"_audienceRatingImage"`
 | 
			
		||||
			ChapterSource         string `json:"_chapterSource"`
 | 
			
		||||
			PrimaryExtraKey       string `json:"_primaryExtraKey"`
 | 
			
		||||
			RatingImage           string `json:"_ratingImage"`
 | 
			
		||||
		} `json:"Video"`
 | 
			
		||||
		Size                string `json:"_size"`
 | 
			
		||||
		AllowSync           string `json:"_allowSync"`
 | 
			
		||||
		Identifier          string `json:"_identifier"`
 | 
			
		||||
		LibrarySectionID    string `json:"_librarySectionID"`
 | 
			
		||||
		LibrarySectionTitle string `json:"_librarySectionTitle"`
 | 
			
		||||
		LibrarySectionUUID  string `json:"_librarySectionUUID"`
 | 
			
		||||
		MediaTagPrefix      string `json:"_mediaTagPrefix"`
 | 
			
		||||
		MediaTagVersion     string `json:"_mediaTagVersion"`
 | 
			
		||||
	} `json:"MediaContainer"`
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user