Hello,

MusicIP Mixer can be finetuned by Recipes.xml. I found some nice
examples on the Internet I like to share. Perhaps, you have some more:


Code:
--------------------
    
  
  <recipes>
        <recipe name="default ohne Klassik">
         <constraint max="0">genre contains 'Christmas'</constraint>
         <constraint max="0">genre contains 'Comedy'</constraint>
         <constraint max="0">genre contains 'Podcast'</constraint>
         <constraint max="0">genre contains 'classical'</constraint>
         <constraint max="0">genre contains 'Speech'</constraint>
        </recipe>
        
        <recipe name="Hits aus Zeit und Genre">
         <popularity type="hits"/>
         <genre weight="3"/>
         <era weight="2"/>
        </recipe>
        
        <recipe name="Nur Klassik like">
         <constraint max="1">genre contains 'classical'</constraint>
        </recipe>
  
  <recipe name="Decade Lock">
        <constraint cond="seed year != 0" cutoff="0">abs(year - seed year) &lt; 
10</constraint>
  </recipe>
  
  <recipe name="Use Ratings">
        <modifiers>
            <modifier weight="2">rating = 5</modifier>
            <modifier weight="1.5">rating = 4</modifier>
  <modifier weight=".5">rating = 2</modifier>
        </modifiers>
        <constraint max="0">rating = 1</constraint>
  </recipe>
  
  <recipe name="Prefer Unplayed Tracks">
        <modifiers>
            <modifier weight="2">playcount = 0</modifier>
        </modifiers>
  </recipe>
  
  <recipe name="Minimize Repeated Tracks">
        <modifiers>
            <modifier weight=".5">lastplayed &gt; now - 7 days</modifier>
        </modifiers>
  </recipe>
  
  <recipe name="Prefer Artist Type">
        <modifiers>
            <modifier cond="strlen(seed artisttype) > 0" weight="2">seed 
artisttype = artisttype</modifier>
        </modifiers>
  </recipe>
  
  <recipe name="Prefer General Seed Genre">
        <modifiers>
            <modifier cond="seed genre != 'Miscellaneous'" 
weight="2">overlap(seed genre, genre) &gt; 0</modifier>
        </modifiers>
  </recipe>
  
  <recipe name="Prefer Similar Titles">
        <modifiers>
            <modifier weight="2">overlap(seed title, title) &gt; 0</modifier>
        </modifiers>
  </recipe>
  
  <recipe name="Betty Crocker">
  <input type="slider" min=".5" max="2" value="1" param="scale" label="Scale" 
minLabel=".5" maxLabel="2"/>
  <input param="era" label="Era" type="checkbox" value="off"/>
  <input param="ratings" label="Ratings" type="checkbox" value="off"/>
  <input param="prefunplayed" label="Favor Unplayed" type="checkbox" 
value="off"/>
  <input param="preflastplayed" label="Deprecate Recently Played" 
type="checkbox" value="off"/>
  <input param="prefgenre" label="Prefer Seed Genre" type="checkbox" 
value="off"/>
  <input param="preftype" label="Prefer Artist Type" type="checkbox" 
value="off"/>
  <input param="preftitle" label="Prefer Similar Titles" type="checkbox" 
value="off"/>
  
  <modifiers cond="param ratings = 1">
  <modifier weight="2">rating = 5</modifier>
  <modifier weight="1.5">rating = 4</modifier>
  <modifier weight=".5">rating = 2</modifier>
  </modifiers>
  <constraint cond="param ratings = 1" max="0">rating = 1</constraint>
  <modifiers>
  <modifier cond="param era = 1 and seed year != 0" weight="2">abs(year - seed 
year) &lt; 10</modifier>
  <modifier cond="param refunplayed = 1" weight="2">playcount = 0</modifier>
  <modifier cond="param preflastplayed = 1" weight=".5">lastplayed &gt; now - 7 
days</modifier>
  <modifier cond="param preftype = 1 and strlen(seed artisttype) > 0" 
weight="2">seed artisttype = artisttype</modifier>
  <modifier cond="param prefgenre = 1 and seed genre != 'Miscellaneous'" 
weight="2">overlap(seed genre, genre) &gt; 0</modifier>
  <modifier cond="param preftitle = 1" weight="2">overlap(seed title, title) 
&gt; 0</modifier>
  </modifiers>
  </recipe>
  
  <recipe name="Conditional Exclusions">
        <input param="era" label="Restrict Era" type="checkbox" value="off"/>
        <input param="ratings" label="Rating Over 2" type="checkbox" 
value="off"/>
        <input param="prefunplayed" label="Only Unplayed" type="checkbox" 
value="off"/>
        <input param="preflastplayed" label="Remove Recently Played" 
type="checkbox" value="off"/>
        <input param="prefgenre" label="Prefer Seed Genre" type="checkbox" 
value="off"/>
        <input param="preftype" label="Prefer Artist Type" type="checkbox" 
value="off"/>
        <input param="preftitle" label="Prefer Similar Titles" type="checkbox" 
value="off"/>
  
        <constraint cond="param era = 1 and seed year != 0" cutoff="0">abs(year 
- seed year) &lt; 10</constraint>
        <constraint cond="param ratings = 1" cutoff="0">rating &gt; 
2</constraint>
        <constraint cond="param refunplayed = 1" cutoff="0">playcount = 
0</constraint>
        <constraint cond="param preflastplayed = 1" cutoff="0">lastplayed &lt; 
now - 7 days</constraint>
        <constraint cond="param preftype = 1 and strlen(seed artisttype) > 0" 
cutoff="0">seed artisttype = artisttype</constraint>
        <constraint cond="param prefgenre = 1 and seed genre != 
'Miscellaneous'" cutoff="0">overlap(seed genre, genre) &gt; 0</constraint>
        <constraint cond="param preftitle = 1" cutoff="0">overlap(seed title, 
title) &gt; 0</constraint>
  </recipe>
  
  </recipes>
  
  
--------------------


Greetings and a happy New Year



*Hardware:* Touch,3 Radio,Boom,2 SB3, PiCorePlayer
*Players Software:* squeezelite
*Steuerung:*Squeeze Comander
*Plugins:*"Lesezeichen, Custom Browse, TrackStat; Custom Scan;
'MusicInfoSCR'
(http://www.herger.net/slim-plugins/detail.php@nr=446&kategorie=slim-plugins);
'LazySearch 2' (http://www.hickinbottom.com/lazysearch),
JustCovers,PlayHLS;ENM for Dreambox, and more.

LMS 7.9.4 WINDOWS 10 2004 64Bit &'MusicIP '
(http://www.spicefly.com/)Server
------------------------------------------------------------------------
squeezebox_Fan's Profile: http://forums.slimdevices.com/member.php?userid=63027
View this thread: http://forums.slimdevices.com/showthread.php?t=113598

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to