(lib, args, album=False)
| 25 | |
| 26 | |
| 27 | def tag_data(lib, args, album=False): |
| 28 | query = [] |
| 29 | for arg in args: |
| 30 | path = normpath(arg) |
| 31 | if os.path.isfile(syspath(path)): |
| 32 | yield tag_data_emitter(path) |
| 33 | else: |
| 34 | query.append(arg) |
| 35 | |
| 36 | if query: |
| 37 | for item in lib.items(query): |
| 38 | yield tag_data_emitter(item.path) |
| 39 | |
| 40 | |
| 41 | def tag_fields(): |
nothing calls this directly
no test coverage detected