Re: titleformat: any way to know which device requested it?

afriend <afriend.a0lson-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.devel
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
mherger wrote: 
> > Since I can't think of a way to make jivelite devices display this
> > character I thought maybe I can return different characters if I know
> > which device requested the titleformat.
> 
> At which point would you need to know the device? Are you using some 
> custom formatter in a plugin?

No, this would have been like: if device = -jivelite- device (touch,
pCP, radio, squeezeplay...) then deliver -normal text star- character
-otherwise- deliver -blackstar 2605 character- (that is not part of
jivelite's default FreeSans font).
But I've made peace with it. If people prefer the backstar 2605 rating
star character (like me) they just need to install a different font on
their jivelite devices (l did that) and then switch a setting.

But I have one more question about titleformats:

Let's say I have defined a title format "TITLE RATINGSTARS" in settings
> interface and the RATINGSTARS is supplied by my plugin.
Now I play a playlist in the LMS web UI. Then I rate a song of that
current playlist somewhere else (outside the LMS web UI).

IS THERE A WAY TO 'FORCE' A REFRESH OF THE TITLE FORMAT (CONTENT) SO THE
NEW VALUE IS DISPLAYED MORE OR LESS RIGHT AWAY?

I've noticed the title format content in the LMS web UI is updated
shortly after I've paused/started/stopped any song in that playlist.


------------------------------------------------------------------------
afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306
View this thread: http://forums.slimdevices.com/showthread.php?t=114400
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.