The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: Possible bug in new xplhal build?


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: xPLMediaNet - How to deal with Various Artist Albums


  • Subject: Re: Re: xPLMediaNet - How to deal with Various Artist Albums
  • From: "Malcolm Lansell" <mlansell@xxxxxxxxxxxxxx>
  • Date: Tue, 12 Apr 2005 09:40:41 +0100
  • References: <FRNT2902E49CA8@frontier.co.uk>



----- Original Message -----
From: "Tony Tofts" <tony@xxxxxxx>
To: <ukha_xpl@xxxxxxx>
Sent: Tuesday, April 12, 2005 6:41 AM
Subject: RE: [ukha_xpl] Re: xPLMediaNet - How to deal with Various Artist
Albums


>
> Hi Mal,
>
>> I think that will work best.
>
> Have done a brief test, and seems ok.
>
> Am going to add an extra field of AlbumArtist, where this will be set
to
> 'Various' for various artist albums. This allows functions that are
album
> based to display 'Various' without needing any special code or
checking.
>
> Am also going to change the way the tags helper works. It currently
> returns
> 'unknown' for missing album/artist tags (tags can be tags or from
folder
> layout). I think this is fair enough for artists, but I think for
tracks
> where an album is missing it should be treated as a 'no album'
situation,
> rather than 'unknown'?
>

What's the practical difference between "unknown" and "no
album"?  Are
unknown items dropped from the database?

> Next issue is play statistics. Have changed the statistics, as someone
> requested, on the main media module to only add the track if it has
played
> completely.
>
> However, only the media module records stats (as these key directly to
> it's
> database)
>
> The downside is that if you opt to play tracks via
browse/playlist/query
> it
> currently records no statistics...
>
> What I'm thinking is that statistics should be a separate 'helper'
module
> that can work with any source?
>
> Providing the module can provide the necessary track information to
> provide
> a track hash this should work ok, but I think the stats helper should
only
> add the track stats if it can make a match to the media module
database.
> The
> reason being that the stats cannot be matched back to a particular
track
> unless the hash can be matched to a track record?
>

Sounds reasonable.  I don't know how your modules communicate, but if it's
anything like xPL where all devices receive all messages, it should be
fairly straighforward to snoop the play commands.

Mal



xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.