Add support for saving playcounts and ratings to tags

This commit is contained in:
Jonas Kvinge
2021-10-24 16:08:17 +02:00
parent ce7926cfa4
commit 3ab86543ad
22 changed files with 1230 additions and 286 deletions

View File

@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>516</width>
<height>1167</height>
<height>1339</height>
</rect>
</property>
<property name="windowTitle">
@@ -540,6 +540,53 @@ If there are no matches then it will use the largest image in the directory.</st
</layout>
</widget>
</item>
<item>
<widget class="QGroupBox" name="groupbox_song_playcounts_and_ratings">
<property name="title">
<string>Song playcounts and ratings</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="checkbox_save_playcounts">
<property name="text">
<string>Save playcounts to song tags when possible</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_save_ratings">
<property name="text">
<string>Save ratings to song tags when possible</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="layout_statistics_button">
<item>
<widget class="QPushButton" name="button_save_stats">
<property name="text">
<string>Save playcounts and ratings to files now</string>
</property>
</widget>
</item>
<item>
<spacer name="spacer_save_stats">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="checkbox_delete_files">
<property name="text">