MCPcopy
hub / github.com/beetbox/beets / func

Method func

beetsplug/bpsync.py:66–73  ·  view source on GitHub ↗

Command handler for the bpsync function.

(self, lib, opts, args)

Source from the content-addressed store, hash-verified

64 return [cmd]
65
66 def func(self, lib, opts, args):
67 """Command handler for the bpsync function."""
68 move = ui.should_move(opts.move)
69 pretend = opts.pretend
70 write = ui.should_write(opts.write)
71
72 self.singletons(lib, args, move, pretend, write)
73 self.albums(lib, args, move, pretend, write)
74
75 def singletons(self, lib, query, move, pretend, write):
76 """Retrieve and apply info from the autotagger for items matched by

Callers

nothing calls this directly

Calls 2

singletonsMethod · 0.95
albumsMethod · 0.95

Tested by

no test coverage detected