illustrate
Products            Buy            Support Forum            Registrations            Professional            About           
 

Adding custom tags

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • JoesyMcWales
    replied
    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

    Leave a comment:


  • JoesyMcWales
    replied
    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 ?

    Leave a comment:


  • Spoon
    replied
    Re: Adding custom tags

    Yes

    Leave a comment:


  • JoesyMcWales
    replied
    Re: Adding custom tags

    Originally posted by Spoon
    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
    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 ?

    Leave a comment:


  • Spoon
    replied
    Re: Adding custom tags

    It will not be possible.

    Leave a comment:


  • PepsiCan
    replied
    Re: Adding custom tags

    Originally posted by Spoon
    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.
    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!

    Leave a comment:


  • Spoon
    replied
    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.

    Leave a comment:


  • PepsiCan
    replied
    Re: Adding custom tags

    Originally posted by Spoon
    You have to manually type this new value into the tree.
    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
    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
    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!

    Leave a comment:


  • PepsiCan
    replied
    Re: Adding custom tags

    Originally posted by Spoon
    You have to manually type this new value into the tree.
    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!

    Leave a comment:


  • Spoon
    replied
    Re: Adding custom tags

    You have to manually type this new value into the tree.

    Leave a comment:


  • PepsiCan
    replied
    Re: Adding custom tags

    Originally posted by Spoon
    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
    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?

    Leave a comment:


  • Spoon
    replied
    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

    Leave a comment:


  • PepsiCan
    replied
    Re: Adding custom tags

    Originally posted by Spoon
    Through a ssh connection, it is not easy as requires knowledge of Linux to browse to the configuration files and edit them.
    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.

    Leave a comment:


  • Spoon
    replied
    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.

    Leave a comment:


  • PepsiCan
    replied
    Re: Adding custom tags

    How do we do this on unix based machines like QNAPs and Raspberry Pis?

    Leave a comment:

Working...