Skip to content

Commit

Permalink
refinements
Browse files Browse the repository at this point in the history
  • Loading branch information
darrell-k committed Jul 17, 2024
1 parent bd90675 commit e35c8a5
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions Changelog9.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ <h2><a name="v9.0.0" id="v9.0.0"></a>Introducing... Lyrion Music Server Version
<li><a href="https://github.com/LMS-Community/slimserver/pull/930">Massive upgrade for Classical music lovers</a>: add support for Works, Performances, Disc Subtitles. Thanks a ton @darrel-k!</li>
<li><a href="https://github.com/LMS-Community/slimserver/issues/1095">#1095</a> - Link from online tracks and albums to local library (if possible).</li>
<li><a href="https://github.com/LMS-Community/slimserver/pull/1115">#1115</a> - Add option to show tracks from a given year, even if their album would be listed in a different year.</li>
<li><a href="https://github.com/LMS-Community/slimserver/pull/1132">#1115</a> - Allow user defined contributor roles.</li>
</ul>
<br />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@
</tr>
[% FOREACH tag = customTags.keys.sort %]
<tr>
<td><input type="text" name="[% tag %]_tag" value="[% tag | html %]" class="stdedit"/></td>
<td><input type="text" name="[% tag %]_name" value="[% customTags.$tag.name | html %]" class="stdedit" style="width: 200px;"/></td>
<td><input type="text" name="[% tag | html %]_tag" value="[% tag | html %]" class="stdedit"/></td>
<td><input type="text" name="[% tag | html %]_name" value="[% customTags.$tag.name | html %]" class="stdedit" style="width: 200px;"/></td>
</tr>
[% END %]
<tr>
Expand Down
1 change: 0 additions & 1 deletion Slim/Plugin/ExtendedBrowseModes/Settings.pm
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ sub handler {

if ( $changed ) {
$serverPrefs->set('userDefinedRoles', $customTags);
Slim::Schema::Contributor->initializeRoles();
}

my $menus = $prefs->get('additionalMenuItems');
Expand Down
4 changes: 4 additions & 0 deletions Slim/Plugin/ExtendedBrowseModes/strings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ PLUGIN_EXTENDED_BROWSEMODES_TAGS

PLUGIN_EXTENDED_BROWSEMODES_TAGS_DESC
EN Tell LMS about any custom contributor role tags used in the music library. For example, SOLOIST, DRUMMER, PRODUCER, etc. These can then be used as Contributor Roles in the Additional Browse Modes above. They will also appear as categories when browsing albums or artists with Release Type grouping enabled. Changes here will trigger a rescan of the music library.
DE Informieren Sie LMS über alle benutzerdefinierten Rollen-Tags, die in der Musikbibliothek verwendet werden. Zum Beispiel SOLOIST, DRUMMER, PRODUCER, usw. Diese können dann als Mitwirkende Rollen in den zusätzlichen Suchmodi oben verwendet werden. Sie werden auch als Kategorien angezeigt, wenn Sie Alben oder Künstler mit aktivierter Gruppierung nach Veröffentlichungstyp durchsuchen. Änderungen hier lösen einen erneuten Scan der Musikbibliothek aus.
FR Indiquez à LMS toute étiquette de rôle de contributeur personnalisée utilisée dans la bibliothèque musicale. Par exemple, SOLOIST, DRUMMER, PRODUCER, etc. Ceux-ci peuvent ensuite être utilisés comme rôles de contributeur dans les modes de navigation supplémentaires ci-dessus. Ils apparaîtront également en tant que catégories lorsque vous parcourez des albums ou des artistes en activant le regroupement par type de publication. Les modifications apportées à ces catégories déclencheront une nouvelle analyse de la bibliothèque musicale.
ES Informe a LMS sobre cualquier etiqueta de rol de colaborador personalizada utilizada en la biblioteca musical. Por ejemplo, SOLISTA, BATERISTA, PRODUCTOR, etc. Estas etiquetas se pueden utilizar como roles de colaborador en los modos de exploración adicionales anteriores. También aparecerán como categorías al explorar álbumes o artistas con la agrupación Tipo de publicación activada. Los cambios que se realicen aquí provocarán una nueva exploración de la biblioteca musical.
NL Vertel LMS over alle aangepaste rollabels voor medewerkers die worden gebruikt in de muziekbibliotheek. Bijvoorbeeld SOLOIST, DRUMMER, PRODUCER, enz. Deze kunnen dan worden gebruikt als rollen voor medewerkers in de extra bladermodi hierboven. Ze verschijnen ook als categorieën wanneer u door albums of artiesten bladert met de Release Type groepering ingeschakeld. Als u hier wijzigingen aanbrengt, wordt de muziekbibliotheek opnieuw gescand.

PLUGIN_EXTENDED_BROWSEMODES_ROLE
EN Role tag
Expand Down
2 changes: 2 additions & 0 deletions Slim/Utils/Prefs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ sub init {
qw(splitList groupdiscs useTPE2AsAlbumArtist userDefinedRoles)
);

$prefs->setChange( sub { Slim::Schema::Contributor->initializeRoles() }, 'userDefinedRoles');

$prefs->setChange( sub { Slim::Utils::Misc::setPriority($_[1]) }, 'serverPriority');

$prefs->setChange( sub {
Expand Down

0 comments on commit e35c8a5

Please sign in to comment.