Debian Codegraph @

docs/plugins/importfeeds.rst

raw
1 ImportFeeds Plugin
2 ==================
3
4 This plugin helps you keep track of newly imported music in your library.
5
6 To use the ``importfeeds`` plugin, enable it in your configuration (see
7 :ref:`using-plugins`).
8
9 Configuration
10 -------------
11
12 To configure the plugin, make an ``importfeeds:`` section in your configuration
13 file. The available options are:
14
15 - **absolute_path**: Use absolute paths instead of relative paths. Some
16 applications may need this to work properly. Default: ``no``.
17 - **dir**: The output directory. Default: Your beets library directory.
18 - **formats**: Select the kind of output. Use one or more of:
19
20 - **m3u**: Catalog the imports in a centralized playlist.
21 - **m3u_multi**: Create a new playlist for each import (uniquely named by
22 appending the date and track/album name).
23 - **m3u_session**: Create a new playlist for each import session. The file
24 is named as ``m3u_name`` appending the date and time the import session
25 was started.
26 - **link**: Create a symlink for each imported item. This is the
27 recommended setting to propagate beets imports to your iTunes library:
28 just drag and drop the ``dir`` folder on the iTunes dock icon.
29 - **echo**: Do not write a playlist file at all, but echo a list of new
30 file paths to the terminal.
31
32 Default: None.
33
34 - **m3u_name**: Playlist name used by the ``m3u`` format and as a prefix used by
35 the ``m3u_session`` format. Default: ``imported.m3u``.
36 - **relative_to**: Make the m3u paths relative to another folder than where the
37 playlist is being written. If you're using importfeeds to generate a playlist
38 for MPD, you should set this to the root of your music library. Default: None.
39
40 Here's an example configuration for this plugin:
41
42 ::
43
44 importfeeds:
45 formats: m3u link
46 dir: ~/imports/
47 relative_to: ~/Music/
48 m3u_name: newfiles.m3u