Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-09 Thread PasTim

Thanks.  A glimmer of understand begins in my slow brain.  

To reiterate, my custom scan set up does not include composer, or
conductor or indeed any tags except non-standard ones WORK, MOVEMENT,
WORKARTIST, SETID (and latterly TITLE as well).

I have another menu, Albums by Composer, which works fine, so the
mystery is still there, but it isn't worth the time and effort to find
out why.

I took my basic set up from your wiki recommendation at
http://wiki.slimdevices.com/index.php/Setup_browse_menu_for_classical_music

Too illustrate how differently people think, there is no way I would
treat a Composer as an Artist.  To me the difference between authoring
and performing is important and I would not wish to confuse the two. 
Sometimes a person does both, in which case I'd include them in both of
the relevant tags.  Life would be very boring if we all thought the same
way :)


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-08 Thread erland

The "Names to show" configuration is only used in the "Dynamic Tags"
browse menu template, so if you don't use "Dynamic Tags" template or
"Tags" menu it doesn't matter what you put in this field.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-08 Thread erland

Looks like you do have COMPOSER in the Mixed Tag configuration, what I
meant with the previous comment was that if you have COMPOSER both in:
- Custom tag/(one of the fields)
- Mixed tag/Composer tags

Then you probably get duplicate composer entries in the menus and this
could maybe confuse the letter navigation.

The principle with Mixed tag configuration is that for each parameter
line in Mixed tag configuration the contributor roles scanned by
standard SBS scanner will be stored as the tags listed in Custom Scan
database.

So if you have:
- Artist tags: ARTIST
- Conductor tags: CONDUCTOR,ARTIST
- Composer tags: COMPOSER

It basically means that all ARTIST tags scanned by standard SBS scanner
will end up as an ARTIST tag in the Custom Scan database plus that any
CONDUCTOR tags scanned by standard SBS scanner will also end up as an
ARTIST tag in the Custom Scan database, but any COMPOSER tags will not
end up as ARTIST tags in Custom Scan database.

On top of this it also means that the CONDUCTOR tags scanned by
standard SBS scanner will except for ending up as ARTIST tag in Custom
Scan database also be stored as CONDUCTOR tag in Custom Scan database.

Finally it also means that any COMPOSER tags scanned by standard SBS
scanner will only end up as COMPOSER tag in Custom Scan database and
will not be stored as ARTIST.

This configuration for "Composer tags" looks a bit strange, usually you
want ARTIST to be part of "Composer tags" too.

My standard comment is that it's better to have COMPOSER listed under
"Composer tags" in Mixed Tag configuration and not mention it at all in
Custom Tag configuration. If you have it in both Custom Tag and Mixed
Tag you will end up with multiple entries of COMPOSER in Custom Scan
database which probably is not what you like. 

I think there was some reason why some people wanted to have it in
Custom Tag configuration, but in this case I would suggest to not
mention COMPOSER in the Mixed Tag configuration, because else you will
end up with duplicate COMPOSER entries in the Custom Scan database.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-08 Thread PasTim

erland;682554 Wrote: 
> I think they look ok, feels like it should work, might be something with
> the Custom Tag configuration maybe that's causing it, I'll leave it for
> now if you don't feel it's urgent.

That's fine.

I started to look at my custom/mixed configuration again.

Is there a clear explanation of the initial mixed tag set-up screen? 
Looking at it again I am a bit confused.  In one of your (old) examples
(for classical music) you suggested tags:

Album tags: ALBUM
Artist tags: ARTIST
Composer tags: COMPOSER
Conductor tags: CONDUCTOR,ARTIST
Band tags: BAND,ARTIST
Genre tags: GENRE

I don't quite follow the logic.  Could you point me to somewhere where
it is explained in detail?  What does it really mean for CONDUCTOR and
ARTIST to be mapped in this way? For instance, what difference would I
perceive in behaviour if CONDUCTOR was on its own?

I looked at the wiki but am none the wiser. 

I currently have, in screen order:

ARTIST
ARTIST,ALBUMARTIST
TRACKARTIST,ARTIST
CONDUCTOR
COMPOSER
BAND
ALBUM
GENRE
YEAR
Include custom tags - yes

Names to show -
ALBUM(Album:Albums),ARTIST(Artist:Artists),GENRE(Genre:Genres),YEAR(Year:Years),CONDUCTOR(Conductor:Conductors),COMPOSER(Composer:Composers),
BAND(Band:Bands),TRACKARTIST(Track Artist:Track
Artists),ALBUMARTIST(Album Artist:Album
Artists),WORK(Work:Works),MOVEMENT(Movement:Movements),
WORKARTIST(Work Artist:Work Artists),SETID(Set Id:Set
Ids),TITLE(Title:Titles)

(the extra spaces that show within the list above aren't there in the
system - they are artifacts of this post).


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-08 Thread erland

PasTim;682525 Wrote: 
> 
> If there's nothing obvious wrong with my menus or other standard
> setting, then please leave it.  I can live with it.
> 
I think they look ok, feels like it should work, might be something
with the Custom Tag configuration maybe that's causing it, I'll leave
it for now if you don't feel it's urgent.

PasTim;682525 Wrote: 
> 
> The time taken for menus to work on 1st run after LMS startup is a much
> greater issue for daily use, but I guess it's a fairly intractable
> problem.  You have a copy of my dbs.  I wonder if you can see the same
> delays on any of your systems?
> 
Haven't had the time to look at your DB files yet, will get back to you
has soon as I've tried them in my own system.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-08 Thread PasTim

The problem is, indeed, that the Composers in the WorksbyComposer menu
cannot be accessed using letter navigation.  I don't often use the
Touch directly, so I may be mistaken, but I think it used to work.  A
lot of water has flowed under the bridge over the last year, with
different SB/LLMS versions and some minor menu edits, so I can't say
this with any certainty.

There is no mention of COMPOSER in my Mixed Tag configuration.  It is
in my Custom Tag configuration.

If there's nothing obvious wrong with my menus or other standard
setting, then please leave it.  I can live with it.

The time taken for menus to work on 1st run after LMS startup is a much
greater issue for daily use, but I guess it's a fairly intractable
problem.  You have a copy of my dbs.  I wonder if you can see the same
delays on any of your systems?


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-07 Thread erland

How have you configured Custom Scan regarding COMPOSER ? Is it just
configured in "Mixed Tag" module or have you COMPOSER also configured
in "Custom Tag" scanning module ?

If you have it in both, that might be the problem, then you can try to
remove COMPOSER from "Custom Tag" scanning module configuration and see
if that makes a difference. If you need to have it in "Custom Tag"
scanning module to make some other menu behave correctly, you can
instead remove it from "Mixed Tag" module.

Just to be clear, the issue is that you don't get the letter navigation
in the list of composers (first menu level) in "Works by Composers" menu
?


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-07 Thread PasTim

Thanks for your very comprehensive reply.

WORKARTIST is a tag I have added in my files.

I thought the 'alpha' meneulink did what you said.  However, the
Worksbycomposer menu does not support the single letter selection,
whereas Worksbyworkartist does.  I have no idea why.

Looking at the the two xmls I couldn't see a significant difference
(not that odd since the worksartist one was derived from the composer
one). 

Once I have resolved this conundrum I'll fix others as you suggest.

With these two menus, the WORKARTIST and COMPOSER are the top level.

I have around 400 composers and 750 workartists, 18K tracks (so far) of
which 15K are classical.

On the Touch, the WORKARTIST menu shows big letters when using the
slidebar, the COMPOSER one does not.

On the web interface they both show A-Z lists at the top (if that is
what you meant  by 'page bar')
.

I understand the context problem.  I'll just have to use the web
interface (provided my laptop is working and available).

Both these and other similar menus still also cause several minutes
delay when no music can be played when they are first used after
startup.  I therefore have no use each one manually when I start up so
that I don't get a delay later in the day when listening to something.
I have 'Yes' in all the custom scan options for refreshes.


-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-07 Thread erland

How does your Custom Scan configuration look like ?

Is WORKARTIST a custom tag in your music files or is it something
that's only configured in the Custom Scan configuration ?

Generally speaking:

1. LETTER NAVIGATION
If you see big letters while scrolling with the slide bar on the touch
screen, it should also work to use number navigation on IR remote, to
make this work the following has to apply:
- There is a alpha element on the particular
menu level
- The SQL of the menu contains a third parameter that looks something
like this ( look for "substr" and "1,1)" ):

Code:


  
substr(ifnull(customscan_track_attributes.valuesort,customscan_track_attributes.value),1,1)
  



As far as I can see this is the case in "Works by Work Artist" and
"Works by Composer" menu but not in the second level of the "Albums by
Composer" menu. Adding a "substr(albums.titlesort,1,1)" will probably
also make it work in "Albums by Composer", so basically change:

Code:


  sql
  ^(.*)\s\((.*)\)$
  
  select albums.id,albums.title from 
contributor_album,albums,multilibrary_album 
  


To:

Code:


  sql
  alpha
  ^(.*)\s\((.*)\)$
  
  select albums.id,albums.title,substr(albums.titlesort,1,1) from 
contributor_album,albums,multilibrary_album 
  



So except for this albums list in "Albums by Composer" the number key
navigation should work, in my library I can't try it with your
configuration because it gives too few entries to verify the issue. 

I suggest that you try the above mentioned change and then see if the
issue still remains and in that case report:
- Which menus and menu levels in these menus it doesn't work in
- How many entries the non working menu levels have
- If a big letter is shown or not when using the slidebar to the right
on the touch screen
- If the web interface provide a numeric page bar or a alpabetic page
bar to navigate between different pages on these non working menu
levels.

2. CONTEXT MENUS
The problem is that Custom Browse currently doesn't implement its own
context menus, instead it reuses the context menus of standard SBS.
Unfortunately the standard menus in SBS doesn't support custom object
types, like the tags scanned with Custom Scan, so any menu level which
represent an item that does not exist in standard SBS database tables
will provide an empty context menu. So basically it's currently
possible to make it work for albums, artists, tracks, genres,
playlists, years but nothing else.

I think it will work correctly in iPeng because it provides the
playback related context menu items automatically and it will also work
on web interface and IR-remote. Not sure how it works in other
Android/iOS remotes, might work in those too, I just haven't tried it.

The missing parts are:

- Missing ability to play/add a WORK or WORKARTIST using the touch
screen of the Squeezebox Touch. I think playing a WORK will actually
work if you have "Play other songs in album or directory" option
enabled in the player settings, but you have do dive down into the song
level and play the first song of the work (which should add the other
songs of the work to the playlist automatically)

- Missing ability to add a WORK or WORKARTIST using IR remote or touch
screen since the + button/hold action just opens an empty context menu.
Play should work properly on IR remote, since you can use the play
button on IR remote, but add is currently not available.


I'll take a closer look if it would be possible to fix the + (context
menu) issue, but I don't want to promise anything before I've
investigated it further.


-- 
erland

Erland Isaksson ('My homepage' (http://erland.isaksson.info))
(Developer of 'many plugins/applets (both free and commercial)'
(http://wiki.slimdevices.com/index.php/User:Erland). 
If you like to encourage future presence on this forum and/or third
party plugin/applet development, 'consider purchasing some plugins'
(http://license.isaksson.info))
Interested in music discovery ? See 'Social Music Discovery (SMD)'
(http://forums.slimdevices.com/showthread.php?p=656713) project.

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] Custom Browse Menus - different behaviours

2012-01-06 Thread PasTim

I have a selection of custom browse menus, all based originally on
Erland's classical music suggestions.  When I access these via the
Touch (not the web interface) I see different behaviour patterns, and I
am unsure why.  Normally I use a laptop as my controller, but on
occasions I use the Touch via its remote control.

On some menus, pressing a letter on the remote skips to artists /
conductors / composers starting with that letter.  On others, it
doesn't.

On some menus, pressing + at some points (I'm not 100% clear on which
ones and where) gives me the option of adding that track, or set of
tracks, or album, to the playlist.  On others it appears to show
nothing when at any level other than track.

I apologise that this is a bit vague. I haven't yet ascertained a
pattern to the behaviour.

Is there some fundamental difference between Touch menus based on
standard tags, mixed tags, or custom tags, that I haven't understood?

The three attached xml files (in one zip since the forum upload seems
to fail with xml files) show "Works by Composer", "Works by WorkArtist"
(the prime Artist for a Work consisting of one or many tracks but not
necessarily a whole Album), and "Albums by Composer".  The first does
not support selection by single letter, the second does.  Neither of
the 1st two shows anything when I press + on the remote until I am at a
single track level.  The third menu allows use of a letter on the remote
to find composer, and when at Album level supports + on the remote to
add the whole album to the playlist.

What am I missing?


+---+
|Filename: Browse Config.zip|
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=12897|
+---+

-- 
PasTim

Server on Windows 7 Ultimate 64 bit, 2 CPU, 2GHz, 4GB, FLAC files. Touch
on Ethernet (in another room).  Analogue out over 'a bit of wire' to
ageing Quad Hi-Fi. An old (wireless) laptop controls the server using
Chrome.

PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=92847

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins