Skip to content

Commit

Permalink
Merge pull request 4thline#109 from ened/workbench-original-track-number
Browse files Browse the repository at this point in the history
Add originTrackNumber to CD browser. Future versions of the CD browser should probably have a full-height tableview which contains all properties.
  • Loading branch information
ened committed Apr 3, 2015
2 parents 6365685 + 4020590 commit 67388e8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ public ItemFormPanel(Item item) {
if (item.hasProperty(DIDLObject.Property.UPNP.REGION.class))
form.addLabelAndSelectableLastField("UPnP Region:", item.getFirstProperty(DIDLObject.Property.UPNP.REGION.class).toString(), this);

if (item.hasProperty(DIDLObject.Property.UPNP.ORIGINAL_TRACK_NUMBER.class))
form.addLabelAndSelectableLastField("UPnP Track:", item.getFirstProperty(DIDLObject.Property.UPNP.ORIGINAL_TRACK_NUMBER.class).toString(), this);

for (final Res resource : item.getResources()) {

form.addSeparator(this);
Expand Down

0 comments on commit 67388e8

Please sign in to comment.