Documentation ¶
Index ¶
- func Add(bts *torr.BTServer, magnet metainfo.Magnet, save bool) error
- func FindFile(fileInd int, tor *torr.Torrent) *torrent.File
- func FindFileLink(fileLink string, torr *torrent.Torrent) *torrent.File
- func GetMagnet(link string) (*metainfo.Magnet, error)
- func GetMimeType(filename string) string
- func GetPlayableFiles(st torr.TorrentStats) []torr.TorrentFileStat
- func MakeM3ULists(torrents []*settings.Torrent, host string) string
- func MakeM3UPlayList(tor torr.TorrentStats, magnet string, host string) string
- type SeekingBuffer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMimeType ¶
func GetPlayableFiles ¶
func GetPlayableFiles(st torr.TorrentStats) []torr.TorrentFileStat
func MakeM3UPlayList ¶
func MakeM3UPlayList(tor torr.TorrentStats, magnet string, host string) string
Types ¶
type SeekingBuffer ¶
type SeekingBuffer struct {
// contains filtered or unexported fields
}
func NewSeekingBuffer ¶
func NewSeekingBuffer(str string) *SeekingBuffer
Click to show internal directories.
Click to hide internal directories.