Queue versioning
First Claim
1. A playback device comprising:
- a network interface;
an audio stage comprising an amplifier;
one or more processors;
a housing, the housing carrying at least the network interface, the audio stage, the one or more processors, and a data storage having stored therein instructions executable by the one or more processors to cause the playback device to perform functions comprising;
initiating playback of a queue including one or more first audio streams, wherein a queue identification token stored in the data storage represents a current version of the queue;
after initiating the playback, receiving, via the network interface from a computing system, data representing instructions to add one or more second audio streams to the queue, the instructions comprising;
(i) an indication of the one or more second audio streams, the one or more second audio streams including a particular audio stream;
(ii) a universal resource identifier (URI) representing a location of the particular audio stream at one or more servers of a streaming audio service; and
(iii) a first token representing an expected queue version;
determining whether the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token;
if the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token, adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue; and
if the expected queue version represented by the first token differs from the current version of the queue represented by the queue identification token, foregoing adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein may involve queue versioning. An example implementation may involve a playback device initiating playback of a queue including one or more first audio streams. A queue identification token stored in data storage represents a current version of the queue. The playback device receives, from a computing system, data representing instructions to add one or more second audio streams to the queue, the instructions including an indication of the one or more second audio streams and a first token representing an expected queue version. The playback device determines whether the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token. If so, the playback device adds the one or more second audio streams to the queue. If not, the playback device foregoes adding the one or more second audio streams to the queue.
121 Citations
20 Claims
-
1. A playback device comprising:
-
a network interface; an audio stage comprising an amplifier; one or more processors; a housing, the housing carrying at least the network interface, the audio stage, the one or more processors, and a data storage having stored therein instructions executable by the one or more processors to cause the playback device to perform functions comprising; initiating playback of a queue including one or more first audio streams, wherein a queue identification token stored in the data storage represents a current version of the queue; after initiating the playback, receiving, via the network interface from a computing system, data representing instructions to add one or more second audio streams to the queue, the instructions comprising;
(i) an indication of the one or more second audio streams, the one or more second audio streams including a particular audio stream;
(ii) a universal resource identifier (URI) representing a location of the particular audio stream at one or more servers of a streaming audio service; and
(iii) a first token representing an expected queue version;determining whether the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token; if the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token, adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue; and if the expected queue version represented by the first token differs from the current version of the queue represented by the queue identification token, foregoing adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method to be performed by a playback device, the method comprising:
-
initiating playback of a queue including one or more first audio streams, wherein a queue identification token stored in data storage of the playback device represents a current version of the queue; after initiating the playback, receiving, via a network interface of the playback device from a computing system, data representing instructions to add one or more second audio streams to the queue, the instructions comprising;
(i) an indication of the one or more second audio streams, the one or more second audio streams including a particular audio stream;
(ii) a universal resource identifier (URI) representing a location of the particular audio stream at one or more servers of a streaming audio service; and
(iii) a first token representing an expected queue version;determining whether the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token; if the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token, adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue; and if the expected queue version represented by the first token differs from the current version of the queue represented by the queue identification token, foregoing adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable medium having stored therein instructions executable by one or more processors to cause a playback device to perform functions comprising:
-
initiating playback of a queue including one or more first audio streams, wherein a queue identification token stored in data storage of the playback device represents a current version of the queue; after initiating the playback, receiving, via a network interface of the playback device from a computing system, data representing instructions to add one or more second audio streams to the queue, the instructions comprising;
(i) an indication of the one or more second audio streams, the one or more second audio streams including a particular audio stream;
(ii) a universal resource identifier (URI) representing a location of the particular audio stream at one or more servers of a streaming audio service; and
(iii) a first token representing an expected queue version;determining whether the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token; if the expected queue version represented by the first token matches the current version of the queue represented by the queue identification token, adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue; and if the expected queue version represented by the first token differs from the current version of the queue represented by the queue identification token, foregoing adding the one or more second audio streams to the queue according to the received instructions to add one or more second audio streams to the queue. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification