diff options
Diffstat (limited to 'utils/themeeditor')
-rw-r--r-- | utils/themeeditor/models/parsetreenode.cpp | 8 | ||||
-rw-r--r-- | utils/themeeditor/resources/deviceoptions | 1 |
2 files changed, 9 insertions, 0 deletions
diff --git a/utils/themeeditor/models/parsetreenode.cpp b/utils/themeeditor/models/parsetreenode.cpp index 25cae58762..f5a7e81166 100644 --- a/utils/themeeditor/models/parsetreenode.cpp +++ b/utils/themeeditor/models/parsetreenode.cpp | |||
@@ -906,6 +906,14 @@ QVariant ParseTreeNode::evalTag(const RBRenderInfo& info, bool conditional, | |||
906 | else | 906 | else |
907 | child = 1; | 907 | child = 1; |
908 | } | 908 | } |
909 | else if(element->tag->name[0] == 'i' || element->tag->name[0] == 'I' | ||
910 | || element->tag->name[0] == 'f' || element->tag->name[0] == 'F') | ||
911 | { | ||
912 | if(info.device()->data("id3available").toBool()) | ||
913 | child = 0; | ||
914 | else | ||
915 | child = 1; | ||
916 | } | ||
909 | else | 917 | else |
910 | { | 918 | { |
911 | child = val.toInt(); | 919 | child = val.toInt(); |
diff --git a/utils/themeeditor/resources/deviceoptions b/utils/themeeditor/resources/deviceoptions index fa7885d9a5..5f83b32afc 100644 --- a/utils/themeeditor/resources/deviceoptions +++ b/utils/themeeditor/resources/deviceoptions | |||
@@ -40,6 +40,7 @@ rendersbs ; Render SBS If Available ; check ; true | |||
40 | rtl ; Right-To-Left Language ; check ; false | 40 | rtl ; Right-To-Left Language ; check ; false |
41 | 41 | ||
42 | [ID3 Info] | 42 | [ID3 Info] |
43 | id3available ; ID3 Info Available ; check ; true | ||
43 | ia ; Artist ; text ; Current Artist | 44 | ia ; Artist ; text ; Current Artist |
44 | ic ; Composer ; text ; Current Composer | 45 | ic ; Composer ; text ; Current Composer |
45 | iA ; Album Artist ; text ; Current Album Artist | 46 | iA ; Album Artist ; text ; Current Album Artist |