Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IncomingPlan = task_api.NewPlan( "incoming", "timbre_analysis", map[string][]string{ "timbre_analysis": []string{"check_metadata", "check_metadata"}, "check_metadata": []string{"activate", "deactivate"}, "encode_mp3": []string{"", ""}, "activate": []string{"encode_mp3", ""}, "deactivate": []string{"", ""}, })
IncomingPlan is executed whenever we receive a new song.
View Source
var KnownPlans = map[string]*task_api.Plan{}
KnownPlans keeps a registry of all available plans.
View Source
var ReanalyzePlan = task_api.NewPlan( "reanalyze", "timbre_analysis", map[string][]string{ "timbre_analysis": []string{"", ""}, })
ReanalyzePlan is used to extract acoustic data from all songs that miss it.
View Source
var ReencodePlan = task_api.NewPlan( "reencode", "encode_mp3", map[string][]string{ "encode_mp3": []string{"", ""}, })
ReencodePlan is used to trigger encoding, in case we missed something.
Functions ¶
func RegisterPlan ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.