Slightly varying shuffling of content items in playlists
First Claim
1. A method comprisingusing one or more processors to perform the steps of:
- receiving a playlist that defines a first play order of content items, the first play order indicated by respective positions of content items identified in the playlist;
in response to a request to shuffle the playlist, performing a controlled swap of at least two content items identified in the playlist by;
iterating over adjacent pairs of content items;
responsive to said iterating, for each pair of content items, calculating a swap condition based on a threshold and determining whether to swap at least one pair of content items based on the swap condition; and
responsive to determining to swap the at least one pair of content items, swapping respective positions of the at least one pair of content items;
providing the playlist defining the second play order of content items.
2 Assignments
0 Petitions
Accused Products
Abstract
A media player provides a shuffle controller that slightly varies a play order of a playlist. The media player receives a playlist the defines a first play order of content items. The first play order is indicated by respective positions of content items identified in the playlist. The media player swaps respective positions of at least two content items identified in the playlist to define a second play order for the content items. In one configuration the media player determines a swap condition that may or may not result in the swapping of two adjacently identified content items in the play list. After iterating over the playlist, the media player provides the playlist defining the second play order of content items. This shuffled playlist can be played back or saved.
127 Citations
21 Claims
-
1. A method comprising
using one or more processors to perform the steps of: -
receiving a playlist that defines a first play order of content items, the first play order indicated by respective positions of content items identified in the playlist; in response to a request to shuffle the playlist, performing a controlled swap of at least two content items identified in the playlist by; iterating over adjacent pairs of content items; responsive to said iterating, for each pair of content items, calculating a swap condition based on a threshold and determining whether to swap at least one pair of content items based on the swap condition; and responsive to determining to swap the at least one pair of content items, swapping respective positions of the at least one pair of content items; providing the playlist defining the second play order of content items. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A non-transitory computer readable medium having instructions encoded thereon that, when executed on a computerized device, cause the computerized device to perform operations comprising:
-
receiving a playlist that defines a first play order of content items, the play order indicated by respective positions of content items identified in the playlist; in response to a request to shuffle the playlist, performing a controlled swap of at least two content items identified in the playlist by; iterating over adjacent pairs of content items; responsive to said iterating, for each pair of content items, calculating a swap condition based on a threshold and determining whether to swap at least one pair of content items based on the swap condition; and responsive to determining to swap the at least one pair of content items, swapping respective positions of the at least one pair of content items; providing the playlist defining the second play order of content items. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A computer system comprising:
-
a memory; a processor; a display; wherein the memory is encoded with a media player application that when executed in the processor provides a media player process that performs the operations of; receiving a playlist that defines a first play order of content items, the play order indicated by respective positions of content items identified in the playlist; in response to a request to shuffle the playlist, performing a controlled swap of at least two content items identified in the playlist by; iterating over adjacent pairs of content items; responsive to said iterating, for each pair of content items, calculating a swap condition based on a threshold and determining whether to swap at least one pair of content items based on the swap condition; and responsive to determining to swap the at least one pair of content items, swapping respective positions of the at least one pair of content items; providing the playlist defining the second play order of content items.
-
-
20. A media player stored in a non-transitory computer-readable medium and configured to be executed by a processor, wherein the media player is configured to:
-
perform a shuffle operation on a playlist that defines a first play order of content items, the shuffle operation iterating over the content list and identifying successive adjacent pairs of content items; and for each identified successive adjacent pair of content items, perform a conditional swap operation that swaps respective positions of the content items in the successive adjacent pair based on a calculated swap condition, the calculated swap condition based on a threshold, and if the calculated swap condition is met, the shuffle operation configured to result at least one successive adjacent pair of content items being swapped in position in the first play order to define a second play order for content items in the playlist; and play content items in the playlist in accordance with the second play order of content items. - View Dependent Claims (21)
-
Specification