Patent ID: 7700865

Claim:
A method for providing a music program to be played by a personal music player, comprising: (a) determining a personal activity for a user and a time duration of the personal activity, wherein the personal activity comprises an activity in which the user will be engaged in a future concurrently with listening to the music program, wherein the personal activity is unrelated to user interaction with any personal music player; (b) sending a request for the music program to a music program server, wherein the request comprises the personal activity and the time duration, wherein the music program server: (b1) selects at least a first music program record corresponding to a first music program and a second music program record corresponding to a second music program, wherein activity attributes of the first and second music program records are synonyms of the personal activity and a sum of program time durations of the first and second music program records is equal to or less than the time duration of the personal activity, (b2) combines the first music program and the second music program into a separate combined music program, wherein the first music program comprises a first header comprising a first chunk size and a first audio data format information, and a first data chunk comprising a first data chunk size and a first audio data, wherein the second music program comprises a second header comprising a second chunk size and a second audio data format information, and a second data chunk comprising a second data chunk size and a second audio data, wherein the combines comprises: (b2i) combines the first data chunk and the second data chunk into a data chunk of the combined music program, (b2ii) stores the first audio data into an audio data of the combined music program and appending the second audio data to the audio data of the combined music program, and (b2iii) computes a combined data chunk size of the combined music program as a sum of the first data chunk size and the second data chunk size; and (c) receiving location information for the combined music program from the music program server.