diff --git a/api/funkwhale_api/music/dynamic_preferences_registry.py b/api/funkwhale_api/music/dynamic_preferences_registry.py index 0a7d781aa..c46af5022 100644 --- a/api/funkwhale_api/music/dynamic_preferences_registry.py +++ b/api/funkwhale_api/music/dynamic_preferences_registry.py @@ -27,8 +27,8 @@ class MusicCacheDuration(types.IntPreference): default = 60 * 24 * 7 verbose_name = "Transcoding cache duration" help_text = ( - "How much minutes do you want to keep a copy of transcoded tracks" - "locally? Transcoded files that were not listened in this interval " - "will be erased and retranscoded from the remote on the next listening." + "How much minutes do you want to keep a copy of transcoded tracks " + "on the server? Transcoded files that were not listened in this interval " + "will be erased and retranscoded on the next listening." ) field_kwargs = {"required": False} diff --git a/front/src/views/admin/Settings.vue b/front/src/views/admin/Settings.vue index 43bb54de3..0aa47a5c2 100644 --- a/front/src/views/admin/Settings.vue +++ b/front/src/views/admin/Settings.vue @@ -79,6 +79,7 @@ export default { // somehow, extraction fails if in the return block directly let instanceLabel = this.$gettext('Instance information') let usersLabel = this.$gettext('Users') + let musicLabel = this.$gettext('Music') let playlistsLabel = this.$gettext('Playlists') let federationLabel = this.$gettext('Federation') let subsonicLabel = this.$gettext('Subsonic') @@ -104,6 +105,14 @@ export default { 'users__upload_quota' ] }, + { + label: musicLabel, + id: 'music', + settings: [ + 'music__transcoding_enabled', + 'music__transcoding_cache_duration', + ] + }, { label: playlistsLabel, id: 'playlists',