📝 file formatting help

This commit is contained in:
oskvr37 committed 2024-11-08 14:47:17 +01:00
1 parent 8dd227d693
commit 95c8efd6d5
2 files changed
+17 -1

No files matched your search

+16
View File
@@ -55,6 +55,22 @@ You can download `tracks` `albums` `playlists` `artists albums`
- https://listen.tidal.com/playlist/803be625-97e4-4cbb-88dd-43f0b1c61ed7
- playlist/803be625-97e4-4cbb-88dd-43f0b1c61ed7
### File formatting
| Key | Example | Comment |
| --------------- | ------------------------- | ------------------------------------------------------------- |
| title | Money Trees | |
| artist | Kendrick Lamar | |
| artists | Kendrick Lamar, Jay Rock | |
| album | good kid, m.A.A.d city | |
| number | 5 | number on album |
| disc_number | 1 | number of album volume |
| released | 10/22/2012 | release date |
| year | 2012 | year of release date |
| playlist | Kendrick Lamar Essentials | title of playlist will only appear when you download playlist |
| playlist_number | 15 | index of track on the playlist |
| id | 20556797 | id on Tidal |
# Modules
You can also use TIDDL as module, it's fully typed so you will get type hints
+1 -1
View File
@@ -28,7 +28,7 @@ parser.add_argument(
type=str,
nargs="?",
const=True,
help="output file template, possible values are {id} {title} {number} {artist} {album} {artists}",
help="output file template, more info https://github.com/oskvr37/tiddl?tab=readme-ov-file#file-formatting",
dest="file_template",
)