package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Aug 8, 2019
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package media manages video library functionality.
Library manages importing and retrieving video data.
NewLibrary returns new instance of Library.
Add adds a single video from a given file path.
AddPath adds a media path to the library.
Import adds all valid videos from a given path.
Playlist returns a sorted Playlist of all videos.
Remove removes a single video from a given file path.
Path represents a media library path.
Playlist holds an array of videos capable of sorting by Timestamp.
Len returns length of array (for sorting).
Less returns true if p[i] Timestamp is after p[j] (for sorting).
Swap swaps two values in array by index (for sorting).
Video represents metadata for a single video.
ParseVideo parses a video file's metadata and returns a Video.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.