The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


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

xPLRioNet query generation


  • Subject: xPLRioNet query generation
  • From: "Tony Tofts" <tony@xxxxxxxxxx>
  • Date: Fri, 4 Mar 2005 14:02:58 -0000


Hi all,

Thought it might be an idea to add to scanner.xml lines in which you can
define dynamic playlist queries?

My thoughts are a record structure as follows:

<query title="Top 20" device="*"
artist="*" album="*" track="*"
genre="*"
top="20" days="120" />

Title= is a description for the web (and local device) interfaces

Device= is either * for all, or the xpl name for a single device
(where stats are involved * would be all stats, device name would be stats
for that device only)

Artist=, album=, track=, genre= would be valid sql comparison strings e.g.
A% %and% etc

Top= means top n records in the stats (either all or per device)

days= is how many of the previous days stats to calculate top n from

If top/days are missing then the query generated would be a straight
forward
selection, rather than based on stats (obviously)

Thoughts/comments please?

Many thanks
Tony



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.