-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- rename now supports paths (so you can set /path/to/music/%(album)/%(song) as a template) - yt-dlp-args option are now used as extra arguments instead of replacing the default arguments - module config is done under module.name in the toml now
1 parent
3df6b94
commit 200e2af
Showing
10 changed files
with
223 additions
and
73 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ infer = "0.13.0" | |
log = "0.4.17" | ||
fs_extra = "1.3.0" | ||
simplelog = "0.12.1" | ||
home = "0.5.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
|
||
# This specifies the stages and modules musicfetch will run. | ||
# Stages are run in parallel so be careful not to introduce any | ||
# race conditions by including too many modules in one stage. | ||
[stages] | ||
stage1 = ["fetch_song_info"] | ||
stage2 = ["infocopy"] | ||
stage3 = [ | ||
"albumui", | ||
"trackcounter" | ||
] | ||
stage4 = [ | ||
"tagui", | ||
"download" | ||
] | ||
stage5 = [ | ||
"tag_files", | ||
"albumcover" | ||
] | ||
stage6 = ["rename"] | ||
|
||
|
||
# Infocopy copies values from the yt-dlp json to the songinfo | ||
[module.infocopy] | ||
title = "track" | ||
album = "album" | ||
artist = "artist" | ||
|
||
[module.rename] | ||
# Template for filepaths. Can include paths to folders. These should be absolute, environment variables and '~' are not parsed. | ||
# Variables can be entered like this %(name) | ||
# Available variables: | ||
# %(title) - Song Title | ||
# %(album) - Album Name | ||
# %(artist) - Artist Name | ||
# %(genre) - Genre | ||
# %(year) - Release year | ||
# %(track_no) - Track Number | ||
# %(total_tracks) - Total Tracks in Album | ||
template = "%(title).%(ext)" | ||
|
||
[module.download] | ||
# Extra arguments to give to yt-dlp. For example ['--audio-format', 'mp3'] if you want to download everything as mp3 | ||
yt_dlp_args = [] | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.