Skip to content

Commit

Permalink
AF rename danceability, tooltip in execute command AT
Browse files Browse the repository at this point in the history
  • Loading branch information
Marekkon5 committed Nov 16, 2021
1 parent b712fee commit fa4e480
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion client/src/components/AutotaggerAdvanced.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,14 @@


<!-- Command -->
<div class='text-center text-body1 text-grey-4 q-mt-lg'>Execute command when tagging is finished</div>
<div class='text-center text-body1 text-grey-4 q-mt-lg'>
Execute command when tagging is finished
<q-icon name='mdi-help-circle-outline text-grey-6' class='q-mx-sm q-mb-xs'>
<q-tooltip content-style="font-size: 13px">
$success and $failed will be substituted with paths to files containing paths of affected tracks.
</q-tooltip>
</q-icon>
</div>
<q-input label='$success, $failed will be substituted' filled class='row input q-py-sm justify-center' style='max-width: 526px; margin: auto;' v-model='$1t.config.postCommand'></q-input>
<br><br>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/audiofeatures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl AFProperties {
pub fn merge_with_values(&self, features: &rspotify::model::audio::AudioFeatures, track: &FullTrack, format: AudioFileFormat) -> Vec<AFPropertyMerged> {
vec![
AFPropertyMerged::new(features.danceability, &self.danceability, &format)
.add_main_value("#dynamics-high", "#dynamics-med", "#dynamics-low"),
.add_main_value("#dance-high", "#dance-med", "#dance-low"),
AFPropertyMerged::new(features.acousticness, &self.acousticness, &format)
.add_main_value("#electronic", "", "#acoustic"),
AFPropertyMerged::new(features.energy, &self.energy, &format)
Expand Down

0 comments on commit fa4e480

Please sign in to comment.