Resolving Inconsistent Queues
First Claim
1. A tangible, non-transitory computer-readable medium having stored therein instructions executable by one or more processors to cause a mobile device to perform a method comprising:
- receiving, on a touch-screen graphical display within a control interface of a first controller application, input data indicating selection of one or more particular audio tracks for playback by one or more particular playback devices;
transmitting, via a network interface to a computing system, an instruction to create a playback queue that includes the one or more particular audio tracks;
receiving, via the network interface in response to the instruction to create the playback queue, a first queue update message data indicating a first version number of the playback queue;
storing, in a queue version state variable indicating the most recent version of the playback queue, the first version number of the playback queue;
while the first controller application is controlling the playback queue, receiving, via the network interface from the computing system, a second queue update message data indicating a second version number of the playback queue;
detecting a queue consistency error based on the second version number of the playback queue not matching the first version number of the playback queue stored in the queue version state variable; and
in response to detecting the queue consistency error, transmitting, via a network interface to the computing system, an instruction to replace all tracks in the playback queue with the one or more particular audio tracks.
4 Assignments
0 Petitions
Accused Products
Abstract
Embodiments described herein may involve inconsistent queues. An example implementation may involve a computing device receiving a message indicating a playback queue corresponding to a playback zone of a media playback system. The playback queue may include first media items queued in a first order for playback by the playback zone. The computing device determines that a playlist at the computing device is to be queued for playback in the playback queue corresponding to the playback zone, the playlist including second media items in a second order. The computing device determines that the first media items in the first order is different from the second media items in the second order, and based on the determination, causes the first media items in the playback queue to be replaced with the second media items in the playlist.
-
Citations
20 Claims
-
1. A tangible, non-transitory computer-readable medium having stored therein instructions executable by one or more processors to cause a mobile device to perform a method comprising:
-
receiving, on a touch-screen graphical display within a control interface of a first controller application, input data indicating selection of one or more particular audio tracks for playback by one or more particular playback devices; transmitting, via a network interface to a computing system, an instruction to create a playback queue that includes the one or more particular audio tracks; receiving, via the network interface in response to the instruction to create the playback queue, a first queue update message data indicating a first version number of the playback queue; storing, in a queue version state variable indicating the most recent version of the playback queue, the first version number of the playback queue; while the first controller application is controlling the playback queue, receiving, via the network interface from the computing system, a second queue update message data indicating a second version number of the playback queue; detecting a queue consistency error based on the second version number of the playback queue not matching the first version number of the playback queue stored in the queue version state variable; and in response to detecting the queue consistency error, transmitting, via a network interface to the computing system, an instruction to replace all tracks in the playback queue with the one or more particular audio tracks. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method comprising:
-
a mobile device receiving, on a touch-screen graphical display within a control interface of a first controller application, input data indicating selection of one or more particular audio tracks for playback by one or more particular playback devices; the mobile device transmitting, via a network interface to a computing system, an instruction to create a playback queue that includes the one or more particular audio tracks; the mobile device receiving, via the network interface in response to the instruction to create the playback queue, a first queue update message data indicating a first version number of the playback queue; the mobile device storing, in a queue version state variable indicating the most recent version of the playback queue, the first version number of the playback queue; while the first controller application is controlling the playback queue, the mobile device receiving, via the network interface from the computing system, a second queue update message data indicating a second version number of the playback queue; the mobile device detecting a queue consistency error based on the second version number of the playback queue not matching the first version number of the playback queue stored in the queue version state variable; and in response to detecting the queue consistency error, the mobile device transmitting, via a network interface to the computing system, an instruction to replace all tracks in the playback queue with the one or more particular audio tracks. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A mobile device comprising:
-
a network interface; a touch-screen graphical display; one or more processors; and data storage having stored therein instructions executable by the one or more processors to cause the mobile device to perform a method comprising; receiving, on the touch-screen graphical display within a control interface of a first controller application, input data indicating selection of one or more particular audio tracks for playback by one or more particular playback devices; transmitting, via the network interface to a computing system, an instruction to create a playback queue that includes the one or more particular audio tracks; receiving, via the network interface in response to the instruction to create the playback queue, a first queue update message data indicating a first version number of the playback queue; storing, in a queue version state variable indicating the most recent version of the playback queue, the first version number of the playback queue; while the first controller application is controlling the playback queue, receiving, via the network interface from the computing system, a second queue update message data indicating a second version number of the playback queue; detecting a queue consistency error based on the second version number of the playback queue not matching the first version number of the playback queue stored in the queue version state variable; and in response to detecting the queue consistency error, transmitting, via a network interface to the computing system, an instruction to replace all tracks in the playback queue with the one or more particular audio tracks. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification