Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsMediaFile ¶
IsMediaFile indicates if a file has a valid media file extension
Types ¶
type MediaFile ¶
type MediaFile struct { Dir string Filename string Extension string // contains filtered or unexported fields }
MediaFile represents a media file on disk
func NewMediaFile ¶
NewMediaFile creates a new MediaFile instance
func (*MediaFile) DeleteWithSubtitleFiles ¶
DeleteWithSubtitleFiles will remove the media file from disk along with all subtitle files
type ShowMapping ¶
ShowMapping contain any mappings that need to be done for a show
type TVShowFile ¶
type TVShowFile struct { MediaFile Show string Season int Episode int Mappings ShowMapping }
TVShowFile represents a tv show file on disk
func NewTVShowFile ¶
func NewTVShowFile(path string, folderRegex string) (*TVShowFile, error)
NewTVShowFile creates a new MediaFile instance
Click to show internal directories.
Click to hide internal directories.