From 1260fbf5bec5bb55bf6a1afa991e60806f3c886b Mon Sep 17 00:00:00 2001 From: Peter Saint-Andre Date: Wed, 23 Jan 2008 19:24:53 +0000 Subject: [PATCH] 1.2pre1 git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1596 4b5297f7-1745-476d-ba37-a9c6900126ab --- xep-0118.xml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/xep-0118.xml b/xep-0118.xml index 9524ab37..d18c77ce 100644 --- a/xep-0118.xml +++ b/xep-0118.xml @@ -7,7 +7,7 @@
User Tune - This specification defines a payload format for communicating information about music to which a user is listening, including the title, track number, collection, performer, composer, and length. The payload format is typically transported using the personal eventing profile of XMPP publish-subscribe as specified in XEP-0163. + This specification defines a payload format for communicating information about music to which a user is listening, including the title, track number, collection, performer, composer, length, and user rating. The payload format is typically transported using the personal eventing profile of XMPP publish-subscribe as specified in XEP-0163. &LEGALNOTICE; 0118 Draft @@ -24,6 +24,12 @@ http://www.xmpp.org/schemas/tune.xsd &stpeter; + + 1.2pre1 + 2008-01-23 + psa +

Added rating element.

+
1.1 2007-06-04 @@ -122,6 +128,12 @@ 686 xs:unsignedShort + + rating + The user's rating of the song or piece, from 1 (lowest) to 10 (highest). + 9 + xs:positiveInteger + source The collection (e.g., album) or other source (e.g., a band website that hosts streams or audio files) @@ -161,6 +173,7 @@ Yes 686 + 9 Yessongs Heart of the Sunrise 3 @@ -182,6 +195,7 @@ Yes 686 + 9 Yessongs Heart of the Sunrise 3 @@ -232,9 +246,10 @@

To prevent a large number of updates when a user is skipping through tracks, an implementation SHOULD wait several seconds before publishing new tune information.

If the length is unknown (e.g., the user is listening to a stream), the <length/> element SHOULD NOT be included.

+

A typical interface for user ratings is to show one to five star icons such as ☆☆☆☆☆. If this interface is used, the numbers 2, 4, 6, 8, and 10 should be mapped to one, two, three, four, and five stars respectively, and odd numbers should be mapped to half stars (e.g., the number 9 would be mapped to four-and-a-half stars).

-

This protocol introduces no security considerations above and beyond those defined in Publish-Subscribe (XEP-0060).

+

The publication of user tune information is not known to introduce any new security considerations above and beyond those defined in XEP-0060: Publish-Subscribe.

This document requires no interaction with &IANA;.

@@ -266,6 +281,14 @@ + + + + + + + +