Added an option ui-allow-downloads in lms.conf to enable/disable downloads, fixes #776

This commit is contained in:
emeric
2025-12-03 22:02:16 +01:00
parent 7feecb2027
commit 2d90281b11
13 changed files with 88 additions and 37 deletions
+2
View File
@@ -24,7 +24,9 @@
${<if-has-mbid>}
<li><a href="${mbid-link}" target="_blank" class="dropdown-item">${tr:Lms.Explore.musicbrainz-artist}</a></li>
${</if-has-mbid>}
${<if-has-download>}
<li>${download class="dropdown-item"}</li>
${</if-has-download>}
</ul>
</div>
</div>
+2
View File
@@ -65,7 +65,9 @@
<ul class="dropdown-menu" aria-labelledby="${id:more-btn}">
<li>${play class="dropdown-item"}</li>
<li>${star class="dropdown-item"}</li>
${<if-has-download>}
<li>${download class="dropdown-item"}</li>
${</if-has-download>}
</ul>
</div>
</div>
+4
View File
@@ -27,7 +27,9 @@
${<if-has-mbid>}
<li><a href="${mbid-link}" target="_blank" class="dropdown-item">${tr:Lms.Explore.musicbrainz-release}</a></li>
${</if-has-mbid>}
${<if-has-download>}
<li>${download class="dropdown-item"}</li>
${</if-has-download>}
<li>${release-info class="dropdown-item"}</li>
</ul>
</div>
@@ -109,7 +111,9 @@
<li>${play-next class="dropdown-item"}</li>
<li>${play-last class="dropdown-item"}</li>
<li>${star class="dropdown-item"}</li>
${<if-has-download>}
<li>${download class="dropdown-item"}</li>
${</if-has-download>}
<li>${track-info class="dropdown-item"}</li>
${<if-has-lyrics>}<li>${track-lyrics class="dropdown-item"}</li>${</if-has-lyrics>}
</ul>
+2
View File
@@ -13,7 +13,9 @@
<ul class="dropdown-menu">
<li>${play-shuffled class="dropdown-item"}</li>
<li>${play-last class="dropdown-item"}</li>
${<if-has-download>}
<li>${download class="dropdown-item"}</li>
${</if-has-download>}
${<if-has-delete>}
<li>${delete class="dropdown-item"}</li>
${</if-has-delete>}
+2
View File
@@ -59,7 +59,9 @@
<li>${play-next class="dropdown-item"}</li>
<li>${play-last class="dropdown-item"}</li>
<li>${star class="dropdown-item"}</li>
${<if-has-download>}
<li>${download class="dropdown-item"}</li>
${</if-has-download>}
<li>${track-info class="dropdown-item"}</li>
${<if-has-lyrics>}<li>${track-lyrics class="dropdown-item"}</li>${</if-has-lyrics>}
</ul>