utils

package
v0.0.0-...-95fccb6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(filename string) bool

FileExists checks if a file or directory exists at the given path

func GetSeriesID

func GetSeriesID(dir *os.File, client *sonarr.Sonarr, logger Logger) (int, error)

GetSeriesID retrieves a tvdb id from a media folder, either via a nfo file if present, or via sonarr's search api

Types

type ErrorHandler

type ErrorHandler = common.ErrorHandler

ErrorHandler handles an error.

type Logger

type Logger = common.Logger

Logger is the fundamental interface for all log operations.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL