MCPcopy Index your code
hub / github.com/beetbox/beets / func

Method func

beetsplug/mbsync.py:62–69  ·  view source on GitHub ↗

Command handler for the mbsync function.

(self, lib, opts, args)

Source from the content-addressed store, hash-verified

60 return [cmd]
61
62 def func(self, lib, opts, args):
63 """Command handler for the mbsync function."""
64 move = ui.should_move(opts.move)
65 pretend = opts.pretend
66 write = ui.should_write(opts.write)
67
68 self.singletons(lib, args, move, pretend, write)
69 self.albums(lib, args, move, pretend, write)
70
71 def singletons(self, lib, query, move, pretend, write):
72 """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