-
Adding custom tags
I have a custom Subgenre tag in my FLAC files that I want to use with Asset. I saw the sticky about doing this, but it goes back to 2009 and no longer seems to work. I cannot find the registry value or the MediaDatabaseFieldsv4.txt file that are referred to in the sticky. I am able to add Subgenre as a new container in the advanced options, but the list is empty when I select it in Asset after restarting (it should contain several entries like Concerto, Symphony, etc.). I am using Win7. Thank for any help!
-
Re: Adding custom tags
Which version of Asset UPnP is installed? Is Win7, 32-bit or 64-bit?
-
Re: Adding custom tags
Most recent Asset (5.1); Win 7 Home Premium, 64bit.
-
Re: Adding custom tags
If your Asset Running Mode is Local Account, go to:
%userprofile%\AppData\Roaming\dBpoweramp\uMediaLibrary
Locate MediaDatabaseFieldsv5.txt in the above folder and open it.
Add the following line:
subgenre,0,NVARCHAR(50)
at the end of the file and save MediaDatabaseFieldsv5.txt.
Launch Asset UPnP Configuration >> Rescan Library >> Refresh All
I think that's it.
... If your Asset Running Mode is Service, then the location of the MediaDatabaseFieldsv5.txt differs from the example given here.
-
Re: Adding custom tags
Thank you, mville -- that worked (I did have to restart Asset as well as rescanning, but that's not surprising). The only issue is that when I select Subgenre, I get a very long list with every individual file rather than seeing one entry per album (from which I could open an album and select individual tracks as desired). Any solution for this?
-
Re: Adding custom tags
[QUOTE=magister;162809]The only issue is that when I select Subgenre, I get a very long list with every individual file rather than seeing one entry per album (from which I could open an album and select individual tracks as desired). Any solution for this?[/QUOTE]
Launch Asset UPnP Configuration >> Advanced Settings >> Browse Tree
Select the Subgenre node/container and tick the No Track Listing option.
Also, configure the child container(s) for Subgenre as you desire e.g. Album Artist / Album with the A to Z and No Track Listing options ticked. You may have tweak these child containers to get the display options exactly right for you.
After you make a change to the Browse Tree, restart Asset before viewing to reflect the change(s).
-
Re: Adding custom tags
[QUOTE=mville;162813]
Also, configure the child container(s) for Subgenre as you desire e.g. Album Artist / Album with the A to Z and No Track Listing options ticked. You may have tweak these child containers to get the display options exactly right for you.[/QUOTE]
This is the piece I was missing -- I think I am on the right track with this now. Thanks again!
-
Re: Adding custom tags
[QUOTE=mville;162807]If your Asset Running Mode is Local Account, go to:
%userprofile%\AppData\Roaming\dBpoweramp\uMediaLibrary
Locate MediaDatabaseFieldsv5.txt in the above folder and open it.
Add the following line:
subgenre,0,NVARCHAR(50)
at the end of the file and save MediaDatabaseFieldsv5.txt.
Launch Asset UPnP Configuration >> Rescan Library >> Refresh All
I think that's it.
... If your Asset Running Mode is Service, then the location of the MediaDatabaseFieldsv5.txt differs from the example given here.[/QUOTE]
Hello guys. I am trying to do the same thing with the "Grouping" tag. I have modified the .txt file with"Grouping,0,NVARCHAR(50)" line, Refreshed all, but still don't see it as a possible selection when I try to create a new container. not sure what I'm missing here. Any suggestions?
Thanks
-
Re: Adding custom tags
[QUOTE=jwr31;163766]Hello guys. I am trying to do the same thing with the "Grouping" tag. I have modified the .txt file with"Grouping,0,NVARCHAR(50)" line, Refreshed all, but still don't see it as a possible selection when I try to create a new container. not sure what I'm missing here. Any suggestions?[/QUOTE]
You don't get the custom tag e.g. Grouping, in the Container list, so you can't select it. Just type Grouping in the container text box.
-
Re: Adding custom tags
Ok, I created the Container however it is coming up empty. The values I have in my Grouping tag are numbers from 1 to 5. I am trying to create a container that will display all the tracks based on the grouping I have assigned. I am hoping to create something like:
Grouping
1
- Artist
- Album
- Tracks
2
- Artist
- Album
- Tracks
3
- Artist
- Album
-Tracks
etc
Is this possible?
-
Re: Adding custom tags
Yes it is possible. Try Launch Asset UPnP Configuration >> Rescan Library >> Refresh All
If you right-click on an audio file and select Edit ID-Tag, can you confirm you are seeing the Grouping tag, with the expected data 1-5?
What file format is your audio library?
-
Re: Adding custom tags
Hi mville, thanks for the help. All my files are aiff and I have confirmed that, where I have entered a value, the Grouping number exists in the ID-Tag.
-
Re: Adding custom tags
[QUOTE=jwr31;163806]Hi mville, thanks for the help. All my files are aiff and I have confirmed that, where I have entered a value, the Grouping number exists in the ID-Tag.[/QUOTE]
Sorry, I am not sure why it isn't working. I have tested this to work, but only with flac and mp3 files.
Which Asset UPnP version is installed, platform/OS and DLNA/UPnP client software are you using?
Also, have you tried restarting your PC?
-
Re: Adding custom tags
I have Asset 5.1 installed on a Windows 10 laptop. I am using the Simaudio MiND app as the controller on an ipad mini. Here are the steps I Followed, Maybe I have missed something.
1. Modified the MediaDatabaseFieldsv5.txt file adding "Grouping,0,NVARCHAR(50)" at the bottom (Does the capital G have an impact?)
2. Saved the txt file
3. Launched Asset UPnP configuration
4. Go to Edit
5. Created a container and named it "Grouping" by typing it in
6. Restarted Asset
7. Re-scaned using "Refresh" All option.
-
Re: Adding custom tags
Asset allows you to get a dump of the whole Asset database, using the uMediaLibrary-dumpdb.exe. which you can save as a tab delimited text file and open in Excel or a similar application. Try running this and have a look at the data. There should be a column named Grouping showing the data. Check this is correct and report back.
If you are running Windows 10 32-bit, the executable can be found here:
C:\Program Files (x86)\Illustrate\dBpoweramp
If you are running Windows 10 64-bit, the executable can be found here:
C:\Program Files\Illustrate\dBpoweramp
-
Re: Adding custom tags
Ok,
I re-booted my laptop, "Refreshed all" and ran the uMediaLibrary-dumpdb.exe.
When I looked at the dump file the column exists but not data is being pulled. The column is empty. If you like I could send you the dump file and the MediaDatabaaseFieldsv5 file if that would help.
-
Re: Adding custom tags
It is likely that dBpoweramp is reading the tag as a different value, if you right click on a file >> Edit ID tags this will show how dBpoweramp reads the tag.
-
Re: Adding custom tags
[QUOTE=Spoon;163814]It is likely that dBpoweramp is reading the tag as a different value, if you right click on a file >> Edit ID tags this will show how dBpoweramp reads the tag.[/QUOTE]
jwr31 has confirmed in post no. 12 (in response to post no. 11), that the tag is Grouping, with the correct data, when viewed in Edit ID-Tag.
... jwr31, can you confirm this again please, perhaps with a screenshot?
-
2 Attachment(s)
Re: Adding custom tags
Here is are some screen shots
[ATTACH=CONFIG]862[/ATTACH]
[ATTACH=CONFIG]863[/ATTACH]
-
Re: Adding custom tags
[QUOTE=jwr31;163823]Here is are some screen shots
[ATTACH=CONFIG]862[/ATTACH]
[ATTACH=CONFIG]863[/ATTACH][/QUOTE]
These aren't dBpoweramp Edit ID-Tag screenshots. Do you have dBpoweramp Music Converter installed?
... further digging around and I have discovered that the Audioshell Grouping tag uses the conventions used by Tag&Rename.
The tag names used by different softwares is not standardized. I think the Tag&Rename/Audioshell Grouping tag is called Style in dBpoweramp/Asset and this tag is already predefined in the MediaDatabaseFieldsv5.txt, so you don't need to add it.
If I am right, all you need to do is Launch Asset UPnP Configuration >> Advanced Settings >> Browse Tree
and select the Style node/container from the dropdown list.
-
Re: Adding custom tags
You nailed it! I have been using iTunes to rip the CDs and was just using Audioshell to view the tags.
I now see my music collection as I wanted using the Styles container. Thanks guys.
There is one more thing I want to learn to do but am having difficulty finding information on how to do it. Basically, if I wanted to build some logic into a container how could I do that? (i.e. a container that allows me to see items with a Styles tag value of either 4 or 5). Can you point me in the right direction?
Thanks again.
-
Re: Adding custom tags
You can use the Dynamic browsing, with including items.
-
Re: Adding custom tags
How do we do this on unix based machines like QNAPs and Raspberry Pis?
-
Re: Adding custom tags
Through a ssh connection, it is not easy as requires knowledge of Linux to browse to the configuration files and edit them.
-
Re: Adding custom tags
[QUOTE=Spoon;166623]Through a ssh connection, it is not easy as requires knowledge of Linux to browse to the configuration files and edit them.[/QUOTE]
Can we have the file names and locations? I don't need a full tutorial but some pointers would be nice. For me, being able to add custom tags like in MinimServer is make or break. Running Asset on a windows box is not an option as I'd need a new machine.
-
Re: Adding custom tags
For the qnap:
The location of Assets configuration files are: /share/MD0_DATA/.qpkg/Asset/bin/.dBpoweramp/
for the Pi:
The configuration files for Asset are stored: ~/.dBpoweramp
-
Re: Adding custom tags
[QUOTE=Spoon;166631]For the qnap:
The location of Assets configuration files are: /share/MD0_DATA/.qpkg/Asset/bin/.dBpoweramp/
for the Pi:
The configuration files for Asset are stored: ~/.dBpoweramp[/QUOTE]
I found the file MediaDatabaseFieldsv4.txt. Thank you for that.
I added my custom tag (ORIGINALDATE) to the file at the bottom as originaldate,0,INTEGER. I saved the file, checked that the entry is there through CAT and then restarted AssetUPnP. When I want to edit the browse tree, I don't see the new field. Did I miss a link somewhere? Is my capitalisation not correct? What am I missing?
-
Re: Adding custom tags
You have to manually type this new value into the tree.
-
Re: Adding custom tags
[QUOTE=Spoon;166643]You have to manually type this new value into the tree.[/QUOTE]
Do you mean the tree in the webbrowser? I was expecting the drop-down list there to show the new value in the list. But I'll try typing it in later this evening. Thanks!
-
Re: Adding custom tags
[QUOTE=Spoon;166643]You have to manually type this new value into the tree.[/QUOTE]
I must be missing something very obvious. I edited the file MediaDatabaseFieldsv4.txt and at the bottom of the list I added
[CODE]originaldate,0,INTEGER[/CODE]
The field gets a YYYY MM DD or YYYY MM or YYYY value.
I then proceed to edit the AssetUPnPDefinedBrowseTreev4.txt file as follows:
[CODE]Artist / Album{_a_to_z_}{_no_track_list_}
Artist / Album\Album
Album{_a_to_z_}
Title{_a_to_z_}
OriginalDate{_no_track_list_}
originaldate{_no_track_list_}
Composer{_a_to_z_}{_no_track_list_}
Composer\Album[/CODE]
I wasn't sure whether casing makes a difference. If it does, then OriginalDate is the tag that should be used.
Anyway, what am I missing*? A file? A location? Thanks for the help!
-
Re: Adding custom tags
If you cannot edit the value in the web config, then it is right to edit in the AssetUPnPDefinedBrowseTreev4.txt file. After editing you need to restart asset, and do a full refresh all database scan.
-
Re: Adding custom tags
[QUOTE=Spoon;166662]If you cannot edit the value in the web config, then it is right to edit in the AssetUPnPDefinedBrowseTreev4.txt file. After editing you need to restart asset, and do a full refresh all database scan.[/QUOTE]
I found why I couldn't get it to work. There were two .dBpoweramp directories on the system. Obviously only one was in use and I was happily editing files in the other. Once I renamed the inactive directory and edited the other files, I could build a tree with the new tag.
One final question though. How do I get a similar grouping like for Year (1950s, 1960s, 1070s, etc) with my OriginalDate tag? It contains data like yyyy mm dd, yyyy, or yyyy mm. Thanks!
-
Re: Adding custom tags
-
Re: Adding custom tags
[QUOTE=Spoon;166631]For the qnap:
The location of Assets configuration files are: /share/MD0_DATA/.qpkg/Asset/bin/.dBpoweramp/
for the Pi:
The configuration files for Asset are stored: ~/.dBpoweramp[/QUOTE]
In my QNAP TS-251 I found the file "MediaDatabaseFieldsv4.txt" in /share/CACHEDEV1_DATA/.qpkg/Asset/bin/.dBpoweramp/uMediaLibrary-v2
Is it the right file/folder to edit ?
-
Re: Adding custom tags
-
Re: Adding custom tags
great, it works
is there any way to assign an icon to the new Custom Tag instead of the folder icon it gets by default ?
-
Re: Adding custom tags
Ok solved, I duplicated one of the jpg file in "/share/CACHEDEV1_DATA/.qpkg/Asset/bin/AssetImages" and renamed it ORIGINALDATE.jpg