|
| 1 | +# clid |
| 2 | + |
| 3 | +Clid is an app for those whose home is the terminal and can't live without a well organized music collection :) |
| 4 | +With clid, you can edit the metadata(tags) of mp3 files, right from the terminal. Awesome ? Let's get started ! |
| 5 | + |
| 6 | +## Installation |
| 7 | + |
| 8 | +You're gonna need two things before you install the app: |
| 9 | +- Python**3** |
| 10 | +- Pip(python's package manager)[optional] |
| 11 | + |
| 12 | +Pip will be installed by default if Python version is > 3.4 (`python --version`). |
| 13 | +Else you will have to install it manually. |
| 14 | +<!--instructions on how to do this--> |
| 15 | + |
| 16 | +You can use your package manager to install them. |
| 17 | + |
| 18 | +### Using Pip |
| 19 | + |
| 20 | +```shell |
| 21 | +$ [sudo] pip install clid |
| 22 | +``` |
| 23 | + |
| 24 | +### From Source(Without Pip) |
| 25 | + |
| 26 | +```shell |
| 27 | +$ git clone https://github.com/GokulSoumya/clid.git |
| 28 | +$ cd clid |
| 29 | +$ [sudo] python3 setup.py install |
| 30 | +``` |
| 31 | + |
| 32 | +## Launching The App |
| 33 | + |
| 34 | +Enter `clid` in the command line to start the app: |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | +What do ya think, eh ? |
| 39 | + |
| 40 | +## Quick Start |
| 41 | + |
| 42 | +The basics are simple: |
| 43 | +1. Move with arrow keys or `j` and `k`. |
| 44 | +2. <kbd>Enter</kbd> to select a file. |
| 45 | +3. Edit the tags. |
| 46 | +4. `OK` to save the tags or `Cancel` to abort edit. |
| 47 | + |
| 48 | +## Main Window |
| 49 | + |
| 50 | +Main window has 3 parts: |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | +<!--link--> |
| 55 | +1. File viewer, showing files in `~/Music` by default, |
| 56 | +2. Status line , showing live preview of tags of file under cursor, |
| 57 | +3. Command line, which accepts commands. |
| 58 | + |
| 59 | + |
| 60 | +### File Viewer |
| 61 | + |
| 62 | +You can see the mp3 files in the selected directory<!--link--> in the main window. You can use <kbd>UpArrow</kbd>, |
| 63 | +<kbd>DownArrow</kbd>, <kbd>j</kbd>, <kbd>k</kbd>, <kbd>Home</kbd>, <kbd>PageUp</kbd>, etc to move around. |
| 64 | +Hit <kbd>Enter</kbd> when you've found the file you want to edit, or batch tag files<!--link-->. You can also search |
| 65 | +for files<!--link-->. |
| 66 | + |
| 67 | +### Status Line |
| 68 | + |
| 69 | +The status line shows a live preview of metadata of file under cursor in the specified format<!--link-->. |
| 70 | +The default format is `artist - album - track_number title`. |
| 71 | + |
| 72 | +### Command Line |
| 73 | + |
| 74 | +You can execute commands and perform searches from here. Press `:` to enter commands<!--link--> and |
| 75 | +`/` to search<!--link--> for files |
| 76 | + |
| 77 | +## Editing Tags |
| 78 | + |
| 79 | +### Tagging Individual Files |
| 80 | + |
| 81 | +1. Select the file you want to edit with <kbd>Enter</kbd> |
| 82 | +2. Edit the tags as required. |
| 83 | + |
| 84 | +> You can also change the name of the file here. The extension(`.mp3`) isn't shown. |
| 85 | +
|
| 86 | +3. You can then press `OK` to save the changes or `Cancel` to discard changes. Default keybindings for |
| 87 | +saving tags is <kbd>Ctrl</kbd> + <kbd>S</kbd> and canceling is <kbd>Ctrl</kbd> + <kbd>Q</kbd>. |
| 88 | + |
| 89 | +### Tagging Multiple Files At Once |
| 90 | + |
| 91 | +You can batch tag files in clid: |
| 92 | + |
| 93 | +1. Select and deselect files with <kbd>Space</kbd> and press <kbd>Enter</kbd> to edit the files. *Note that |
| 94 | +pressing <kbd>Enter</kbd> will also add the file currently under the cursor to list of files that will be edited*. |
| 95 | + |
| 96 | +2. You will see a window with blank tag fields. Only the tag fields which you modify here will be saved to the |
| 97 | +files, that is, if this is what you have, |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | +then |
| 102 | + |
| 103 | +3. You can save or cancel as mentioned above. |
| 104 | + |
| 105 | + |
| 106 | + |
0 commit comments