PDA

View Full Version : Adding Custom ID Tags to Asset



Spoon
04-29-2009, 03:13 PM
These are instructions for the Windows version. For Linux/Mac/QNAP, see below.

Asset has the ability to display custom ID Tags (non-standard), with a little configuring.

For example your FLAC library contains a unique tag of 'MOOD', you can add this to asset by:

Start >> Run >> Regedit:

Browse to:

HKEY_LOCAL_MACHINE\SOFTWARE\Illustrate\dBpoweramp

Can copy the value in 'DefaultUserPath' to Start >> Run (to open that path in Windows File Explorer).

Note on Windows Home server the path is:

C:\Windows\SysWOW64\config\systemprofile\AppData\R oaming\dBpoweramp\uMediaLibrary

Open MediaDatabaseFieldsv5.txt and at the end add:

mood,0,NVARCHAR(150)

If expecting multiple tags, such as multiple artists stored in a single tag then for mood you would enter:

t_mood,3,INTEGER

Next in Asset Configuration >> Advances Settings add 'Mood' to the browse tree (you will have to manually type the tag when adding a new container as it will not appear in the drop list).

Asset Should be restarted, then rebuild the database (refresh all).

PeterP
10-22-2018, 03:13 AM
Navigate to the folder where your Asset UPnP configuration data resides. By default it is ~/.dBpoweramp/uMediaLibrary-v4
For different (older) Asset versions, the folder name might be different ("uMediaLibrary-v3", etc), but the rest works all the same.


Locate and edit MediaDatabaseFieldsv5.txt
For different (older) Asset versions, the folder and file name might be different ("MediaDatabaseFieldsv4.txt" etc), but the rest works all the same.
For an example, in order to show a 'MOOD' tag, a line should be added at the end:
mood,0,NVARCHAR(150)
Where the ',0,' tells asset not to expect multi items in the field, for example artist has ,3, to allow 3 artists.

Next, edit AssetUPnPDefinedBrowseTreev6.txt in the same folder.
For different (older) Asset versions, the file name might be different ("AssetUPnPDefinedBrowseTreev4.txt" etc), but the rest works all the same.
Add lines for your newly defined fields, following the syntax, for an example:
Mood{_a_to_z}{_no_track_list_}
Mood\Album
... will add "Mood" view which lists your albums.

When done, Asset Should be restarted, then rebuild the database (refresh all).

PeterP
10-22-2018, 03:36 AM
First, get a SFTP client application. FileZilla (https://filezilla-project.org/download.php?type=client) (free and available for all platforms) is fine for this purpose.

Connect to your NAS using SFTP protocol and your admin credentials. This will allow direct manipulation of various configuration files of your NAS.

Locate the directory where QPKG applications are installed - go to /share/ and browse subfolders named HDA_DATA, MD0_DATA, CE_CACHEDEV1_DATA or alike for a .qpkg subfolder.

Once in .qpkg subfolder, open Asset/data/.dBpoweramp/uMediaLibrary-v4
The full path will look like this:
/share/CE_CACHEDEV1_DATA/.qpkg/Asset/data/.dBpoweramp/uMediaLibrary-v4
Download files: "MediaDatabaseFieldsv5.txt" and "AssetUPnPDefinedBrowseTreev6.txt" from this folder and make changes to them.

For an example, in order to define a 'MOOD' tag, a line should be added at the end of MediaDatabaseFieldsv5.txt:
mood,0,NVARCHAR(150)
Where the ',0,' tells asset not to expect multi items in the field, for example artist has ,3, to allow 3 artists.

Next, edit AssetUPnPDefinedBrowseTreev6.txt to put your new tag in the browsing tree:
Mood{_a_to_z}{_no_track_list_}
Mood\Album
... will add "Mood" view which lists your albums.

Save the edited files on your local computer, transfer them back to your NAS.

When done, Asset Should be restarted, then rebuild the database (refresh all).

PeterP
10-22-2018, 03:38 AM
Navigate to the folder where your Asset UPnP configuration data resides:
In Finder, press cmd+shift+g, enter ~/Library/dBpoweramp/uMediaLibrary-v4
For different (older) Asset versions, the folder name might be different ("uMediaLibrary-v3", etc), but the rest works all the same.


Locate and edit MediaDatabaseFieldsv5.txt
For different (older) Asset versions, the folder and file name might be different ("MediaDatabaseFieldsv4.txt" etc), but the rest works all the same.
For an example, in order to show a 'MOOD' tag, a line should be added at the end:
mood,0,NVARCHAR(150)
Where the ',0,' tells asset not to expect multi items in the field, for example artist has ,3, to allow 3 artists.

Next, edit AssetUPnPDefinedBrowseTreev6.txt in the same folder.
For different (older) Asset versions, the file name might be different ("AssetUPnPDefinedBrowseTreev4.txt" etc), but the rest works all the same.
Add lines for your newly defined fields, following the syntax, for an example:
Mood{_a_to_z}{_no_track_list_}
Mood\Album
... will add "Mood" view which lists your albums.

When done, Asset Should be restarted, then rebuild the database (refresh all).