playlists

package
v0.0.0-...-57178c3 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2021 License: ISC Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePlaylist

func CreatePlaylist(db *gorm.DB, pl *models.Playlist) error

CreatePlaylist adds a new template to the database

func GeneratePlaylist

func GeneratePlaylist(db *gorm.DB, playlistID string, templateid string) error

GeneratePlaylist returns a Playlist from a Template ID

func UpdateClips

func UpdateClips(db *gorm.DB, rebuild bool) error

UpdateClips refreshes the in memory cache

func UpdatePlaylist

func UpdatePlaylist(db *gorm.DB, pl *models.Playlist, newUpdates map[string]interface{}) error

UpdatePlaylist updates a playlist

Types

This section is empty.

Jump to

Keyboard shortcuts

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