I am puzzled as to why my CustomBrowse menu does not return any various
artists albums. All files, including those belonging to a VA album, have
a TRACKYEAR value set via CustomScan. Below is the first part of the
code for the CustomBrowse menu I use. I cannot understand why the menu
only shows non VA albums. Any hints from anyone would be appreciated.
Attached is also the full code for the menu.


Code:
--------------------
    <id>customtag</id>
                        <menuname>Albums</menuname>
                        <pathtype>sql</pathtype>
                        <pathtypedata>
                                select distinct 
customscan_track_attributes.value,customscan_track_attributes.value from 
customscan_track_attributes 
                                                where 
                                                        module='customtag' and
                                                        attr='TRACKYEAR' and
                                                        value='{context.itemid}'
                        </pathtypedata>
                        <customitemtype>customtagTRACKYEAR</customitemtype>
                        <menutype>sql</menutype>
                        <menulinks>alpha</menulinks>
                        <menudata>
                                select 
customscan_track_attributes.value,customscan_track_attributes.value,
                                        
substr(ifnull(customscan_track_attributes.valuesort,customscan_track_attributes.value),1,1)
                                     
                                        from customscan_track_attributes 
                                where
                                        
customscan_track_attributes.module='customtag' and
                                        
customscan_track_attributes.attr='TRACKYEAR'
                                group by customscan_track_attributes.value
                                order by 
ifnull(customscan_track_attributes.valuesort,customscan_track_attributes.value) 
asc
                        </menudata>
--------------------


PS. Erland, I tried to set up a menugroup with a name containing "Ö"
("A-Ö"), but then the CB menus inside that group did not work. When I
renamed the menugroup to "A-Z", all worked fine. Having "Ö" in the name
of the menu itself works fine. I just wanted to let you know.


+-------------------------------------------------------------------+
|Filename: CB_trackYear.txt                                         |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=9176|
+-------------------------------------------------------------------+

-- 
vagskal

2 x SB3 (wired), Receiver (wireless), Boom (wireless), Controller, iPeng
on iPod Touch, muso on remote computer running Win XP | 7.4.2 on Win XP
------------------------------------------------------------------------
vagskal's Profile: http://forums.slimdevices.com/member.php?userid=20778
View this thread: http://forums.slimdevices.com/showthread.php?t=49483

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to