240 lines
11 KiB
INI
240 lines
11 KiB
INI
<?xml version="1.0" ?>
|
|
|
|
<Configuration>
|
|
<!-- Both the install directory and the lfs_id values are mandatory if performing an installation.
|
|
If the installation files are left on the targets, corrupt databases found during Gracenote
|
|
init can be discarded and new databases copied from the install directory.
|
|
-->
|
|
<!-- List file id. This id must match the database instance. Do not change! -->
|
|
<!-- NBT Specific , LFS-ID for //eCDDB/Gracenote/ce927/eval/W/packed/ce927_rev2948_edb5805001_Global_le_20100624234649/manifest.gn-->
|
|
<Install>
|
|
<lfs_id value="742" />
|
|
<install_dir value="/work/" />
|
|
</Install>
|
|
|
|
|
|
<!-- The following options control Gracenote specific options and are passed on as-is during Gracenote
|
|
library startup. The list of potential values is available from the Gracenote docs. Make sure all
|
|
licensed features are enabled before installing the databases or the databases will be missing data.
|
|
-->
|
|
<Gracenote>
|
|
<option name="base_database_path" value="/mnt/data/mm/gracenote/db/" />
|
|
|
|
<!-- YOMI DB CE-2068 -->
|
|
|
|
<!-- The clien id for Harman Automotive. Do not change. -->
|
|
<option name="client_id" value="3841024" />
|
|
<!-- The client id tag. Do not change. -->
|
|
<option name="client_id_tag" value="15DC139EBB619E8D68507513FA017AEF" />
|
|
<!-- LDAC key is used to match the database. Project specific, this is for NBT. Do not change. -->
|
|
<option name="LDAC_key" value="LDAC0001003574B57EB3C20EF3E452311C7EC06614C276B37DEADE0FEAA2013D14749F2C1B9D61B560EA8106F0A00B3F1B679F6F0EC076B365FBC9" />
|
|
|
|
<!-- CHANGES FOR TESTING YOMI DB -->
|
|
|
|
<!-- Options which features are enabled. This does only affect the features the gracenote server
|
|
support. This does not mean that the feature is supported by the system, because the MME might not
|
|
support the individual feature! -->
|
|
<option name="enable_playlist" value="true" />
|
|
<option name="enable_cd_local" value="true" />
|
|
<option name="enable_textid" value="true" />
|
|
<option name="enable_textidalb" value="true" />
|
|
<option name="enable_mediavocs" value="true" />
|
|
<option name="enable_cvrt_local" value="true" />
|
|
<option name="enable_online" value="false" />
|
|
<!-- Playlist data file path. This path is used to store media library files used for playlist
|
|
generation (play more like this) -->
|
|
<option name="playlist_data_file_path" value="/mnt/quota/mm/gracenote/mldb/" />
|
|
<!-- Backup path for the playlist data files -->
|
|
<option name="playlist_backup_data_file_path" value="/mnt/quota/mm/gracenote/mldb_backup/" />
|
|
<!-- On Demand Lookup (ODL) Cache file path. This path is used to store ODL hits that have been retrieved
|
|
from Online GN Server and selected explicitly by the user -->
|
|
<option name="cd_cache_path" value="/mnt/quota/mm/gracenote/odlcache/" />
|
|
<!-- On Demand Lookup (ODL) Cache backup file path. -->
|
|
<option name="cd_cache_backup_path" value="/mnt/quota/mm/gracenote/odlcache_backup/" />
|
|
|
|
<!-- Using Gracenotes caching options for textid lookups may provide considerable lookup
|
|
perfomance increases. The album, genre, lead performer and composer caching values
|
|
are in number of entries and not bytes or kilobytes.
|
|
-->
|
|
<option name="textid_db_lookup_buffer_size" value="8192" />
|
|
<option name="textid_album_cache_max" value="25" />
|
|
<option name="textid_genre_cache_max" value="25" />
|
|
<option name="textid_lead_performer_cache_max" value="25" />
|
|
<option name="textid_composer_cache_max" value="25" />
|
|
</Gracenote>
|
|
|
|
<!-- Some additional options/constraints to follow when looking up data. Examples include falling back to
|
|
online lookups if local lookups fail, returning normalized metadata with textid lookups, and setting
|
|
a minimum confidence threshold when doing music (online) look-ups.
|
|
add_seed_to_list value, value set to true - required for playmorelike this
|
|
-->
|
|
<Lookup_Options>
|
|
<cd_lookup>
|
|
<check_online value="false" />
|
|
<check_odl_cache value="true" />
|
|
</cd_lookup>
|
|
<coverart_lookup>
|
|
<check_musicid_online value="false" />
|
|
<check_toc_online value="false" />
|
|
|
|
<!-- Artwork will always try to match in the following order depending on what's configured:
|
|
Album > Artist > Genre.
|
|
-->
|
|
<use_artist_art value="false" />
|
|
<use_genre_art value="false" />
|
|
<check_odl_cache value="true" />
|
|
</coverart_lookup>
|
|
<sync_lookup>
|
|
<check_online value="false" />
|
|
<normalized_metadata value="true" />
|
|
</sync_lookup>
|
|
<musicid_lookup>
|
|
<!-- Define a minimum confidence rating. If any match is below this value, the
|
|
match won't be returned. Note: '0' disables filtering allowing all matches.
|
|
Gracenote only returns values of 0, 1, and 2 with respective confidence
|
|
levels of none, high, and low. The server will remap these values as 0, 85,
|
|
and 66. If you want low + high values, set the value between 1-66, if you
|
|
want just high values, set the value between 67-85.
|
|
-->
|
|
<min_confidence value="0" />
|
|
</musicid_lookup>
|
|
<textid_lookup>
|
|
<!-- Define a minimum confidence rating. If any match is below this value, the
|
|
match won't be returned. For TextID lookups, a confidence rating is only
|
|
available when a match type of 'ALBUM' is found. Note: '0' disables filtering
|
|
allowing all matches.
|
|
-->
|
|
<min_confidence value="66" />
|
|
</textid_lookup>
|
|
<playlisting>
|
|
<max_per_album value="4" />
|
|
<max_per_artist value="4" />
|
|
<add_seed_to_list value="true" />
|
|
<empty_result_error value="true" />
|
|
</playlisting>
|
|
</Lookup_Options>
|
|
|
|
<Updates>
|
|
<!-- When looking online, Gracenote may suggest an update which can be applied right away or
|
|
deferred and installed at a later time via a GN server API. Valid updated types are "none",
|
|
"live", and "deferred". The path element is the location to create a temporary list required
|
|
by the updates when downloading.
|
|
-->
|
|
<online_update type="none" path="/ramdisk/mm/gracenote_lists.tmp" />
|
|
</Updates>
|
|
|
|
<!-- Control what matadata strings will be returned during a lookup. Control is fine grained and can
|
|
be used to control album, track and work levels for different lookup methods. Hard coded mme.sql
|
|
fields or any Extended Metadata fields defined in the mme.conf must match the value of a particular
|
|
key in order to be written to the database.
|
|
-->
|
|
<Metadata>
|
|
<gracenote_key value="yomi" />
|
|
<textid>
|
|
<album>
|
|
<key name="album_title" value="album" />
|
|
<key name="album_numtracks" value="album_numtracks"/>
|
|
<key name="album_year" value="year" />
|
|
<key name="album_popularity" value="album_popularity"/>
|
|
<key name="album_artist" value="artist"/>
|
|
<key name="album_genre" value="genre"/>
|
|
<key name="contributor" value="contributor"/>
|
|
<key name="contributor_type" value="contributor_type"/>
|
|
<key name="contributor_origin" value="contributor_origin"/>
|
|
<key name="contributor_era" value="contributor_era"/>
|
|
<key name="contributor_popularity" value="contributor_popularity"/>
|
|
<key name="contributor_genre" value="contributor_genre"/>
|
|
<key name="composer" value="composer"/>
|
|
<key name="composer_type" value="composer_type"/>
|
|
<key name="composer_origin" value="composer_origin"/>
|
|
<key name="composer_era" value="composer_era"/>
|
|
<key name="composer_genre" value="composer_genre"/>
|
|
<key name="fetch_id" value="fetch_id"/>
|
|
<key name="album_title_secret" value="album_secret" />
|
|
<key name="album_artist_secret" value="artist_secret"/>
|
|
<key name="contributor_secret" value="contributor_secret"/>
|
|
<key name="composer_secret" value="composer_secret"/>
|
|
</album>
|
|
</textid>
|
|
<musicid>
|
|
<album>
|
|
<key name="language_id" value="language_id"/>
|
|
<key name="num_discs" value="num_discs"/>
|
|
<key name="disc_num" value="disc_num"/>
|
|
<key name="album_title" value="album"/>
|
|
<key name="album_title_secret" value="album_secret" />
|
|
<key name="album_label" value="album_label"/>
|
|
<key name="album_revision" value="album_revision"/>
|
|
<key name="album_year" value="album_year"/>
|
|
<key name="album_popularity" value="album_popularity"/>
|
|
<key name="album_artist" value="artist"/>
|
|
<key name="album_artist_type" value="album_artist_type"/>
|
|
<key name="album_artist_origin" value="album_artist_origin"/>
|
|
<key name="album_artist_era" value="album_artist_era"/>
|
|
<key name="album_artist_genre" value="genre"/>
|
|
<key name="album_tagid" value="album_tagid"/>
|
|
<key name="album_cert_level" value="album_cert_level"/>
|
|
<key name="album_num_tracks" value="album_num_tracks"/>
|
|
<key name="album_title_secret" value="album_secret"/>
|
|
<key name="album_artist_secret" value="artist_secret"/>
|
|
</album>
|
|
<track>
|
|
<key name="track_title" value="title"/>
|
|
<key name="track_year" value="year"/>
|
|
<key name="track_popularity" value="track_popularity"/>
|
|
<key name="track_artist" value="artist"/>
|
|
<key name="track_artist_type" value="track_artist_type"/>
|
|
<key name="track_artist_origin" value="track_artist_origin"/>
|
|
<key name="track_artist_era" value="track_artist_era"/>
|
|
<key name="track_genre" value="genre"/>
|
|
<key name="track_title_secret" value="title_secret"/>
|
|
<key name="track_artist_secret" value="artist_secret"/>
|
|
</track>
|
|
<work>
|
|
<key name="work_title" value="work_title"/>
|
|
<key name="composer" value="composer"/>
|
|
<key name="composer_origin" value="composer_origin"/>
|
|
<key name="composer_era" value="composer_era"/>
|
|
<key name="composer_genre" value="composer_genre"/>
|
|
</work>
|
|
</musicid>
|
|
</Metadata>
|
|
|
|
<!-- Control what phonetic data will be returned during a lookup. Control is fine grained and can
|
|
be used to control album, track and work levels for different lookup methods.
|
|
-->
|
|
<Phonetic_Data>
|
|
<textid>
|
|
<album>
|
|
<key name="album_title" value="album_title" />
|
|
<key name="album_artist" value="album_artist" />
|
|
<key name="album_genre" value="album_genre" />
|
|
</album>
|
|
</textid>
|
|
<musicid>
|
|
<album>
|
|
<key name="album_title" value="album_title" />
|
|
<key name="album_artist" value="album_artist" />
|
|
<key name="album_genre" value="album_genre" />
|
|
</album>
|
|
<track>
|
|
<key name="track_title" value="track_title" />
|
|
<key name="track_artist" value="track_artist" />
|
|
<key name="track_genre" value="track_genre" />
|
|
</track>
|
|
<work>
|
|
<key name="work_title" value="work_title" />
|
|
<key name="composer" value="composer" />
|
|
</work>
|
|
</musicid>
|
|
</Phonetic_Data>
|
|
|
|
<!-- Control coverart image dimensions. Potential size values are "none", "thumb", "small", and "medium".
|
|
See the Gracenote documentation for more detailed information on exact sizes returned.
|
|
-->
|
|
<Coverart>
|
|
<size value="small" />
|
|
</Coverart>
|
|
|
|
</Configuration>
|