using custom properties
Go back to
table of contents
Jajuk offers a way to add custom attributes on almost any item (files, playlists, artists, albums...). Imagine you're not happy with the integrated rating system: just create a custom 'my rate' number attribute on tracks. Other case: you want to store physical location of your CDs; create a String custom attribute on devices. You want to store the date you listened tracks: create a date-based custom property and so forth...
Notes:
-
Custom properties data is only stored in jajuk internal database and NOT in music files as tags (ID3 for ie) so this information will not accessible from others players or jukeboxes.
-
If you use this feature intensively, consider making backup of your collection files (see
Using_devices#Collection_backup_and_restore
).
How to create a new custom property ?
In frame top menu, select
Properties
/
Create custom property
. The new property wizard features:
-
Item
: Choose the item type you want to add custom property on. It can be physical (Device, Directory, File, Playlist File) or logical (Genre, Artist, Album, Track, Playlist).
-
Custom property name
: The property name. Note that some names are reserved like "name, id...". You will get an error message if you try to use them.
-
Type
: Property type. Jajuk supports: Numbers, Float, Strings, Dates or Booleans (true/false).
-
Default value
(optional): A given default value. Depending on property type, you will be able to set it in the text field, using the date picker or checking the check box. If no default value is given, jajuk use these values: Numbers: 0, Float: 0.0, Strings: "", Dates: <current day>, Boolean: false.
Then, click on
OK
to create the custom property.
How to remove a custom property ?
In frame top menu, select
Properties
/ Remove
custom property
. The remove property wizard features:
-
Item
: Choose the item type for which you want to remove custom property.
-
Custom property name
: The property name.
Then, click on
OK
to remove the custom property. Note that all values will be lost for this attribute. In case of manipulation error, see
Using_devices#Collection_backup_and_restore
.
How to set values ?
Values for custom properties can be set the same way than standard ones. See :
Editing tags and properties
page.
Using custom properties the Web 2.0 way
(thanks fsck222) Custom properties allow a "web 2.0" flavor searches:
-
Create a String custom properties on an item type (tracks, albums, files...)
-
Edit tags on items you want to tag, example: "lyrics woman" on an item and "man lyrics" on another one
-
Perform a search by filtering on the new created custom properties (or keep using the "any" filter). The search ignore words order so you can search for "man lyrics" or "woman" to find tagged items
Tag your music using your key word: a concrete example
-
In the perspective "Tracks", go in menu "Properties", create a new custom property using Item: "Title", Custom property name: "tag", type: "string".
-
Now start tagging your music. Select in the "Tracks tree" or "tracks table" window items you want to put the same tag, do a right click. At the bottom of the property window, there is the custom property "Tag" were you can enter your key words. For this example we create a few selections with tags such as:
-
Selection 1: "jazz trio piano bass saxophone live"
-
Selection 2: "jazz piano male singer live"
-
Selection 3: "jazz female singer"
-
Selection 4: "jazz bigband"
-
Selection 5: "pop piano female singer live"
-
You can now perform search on tags in the filter bar (top of the "tracks table" view). Select filter "any" or "tag", then enter your key words. For example "live singer" will list any track tagged before in selection 1 and 5.
Go back to
table of contents