Optimized storage of media items
First Claim
1. At least one non-transitory computer readable medium storing computer-executable instructions, the instructions, when executed, effective to cause a computing device to:
- enable an allocation of a minimum amount of storage space for one or more media items;
receive, by a cache management application on the computing device, a notification from an operating system of the computing device to make available an amount of storage space on the computing device, wherein media items are stored in a cache, each of the media items being associated with an album from among a plurality of albums; and
in response to receiving the notification from the operating system to make available an amount of storage space on the computing device,sort the plurality of albums into a not-in-library group including albums having no media item from the album associated with a media library of an account associated with the computing device, a favorites group including albums associated with at least one media item stored in the cache that is marked as a favorite, and an in-library-non-favorites group including all other albums;
rank the albums in each group from least recently playedback to most recently playedback, wherein an album playback date is the date that a most recently playedback media item from the album was playedback; and
delete, up to the allocated minimum amount of storage space, media items in reverse chronological order with respect to the playback date of the album with the media item is associated, starting with media items associated with albums in the not-in-library group, then media items associated with albums of the in-library-non-favorites group, and then media items associated with albums in the favorites group, until the amount of storage space to make available has been made available.
1 Assignment
0 Petitions
Accused Products
Abstract
The present technology is for optimizing storage on a computing device. A media application on the computing device can allocate a minimum amount of storage on the computing device. The media application can further be configured to automatically download and store media items added to a media library of an account associated with the computing device. The combination of these features can put strain on computing devices with limited amounts of storage. Accordingly, the present technology can automatically delete media items in cache to allow media items to be automatically downloaded, or allow other uses of storage by other applications on the computing device, while also preserving the minimum amount of storage of media items on the computing device.
33 Citations
18 Claims
-
1. At least one non-transitory computer readable medium storing computer-executable instructions, the instructions, when executed, effective to cause a computing device to:
-
enable an allocation of a minimum amount of storage space for one or more media items; receive, by a cache management application on the computing device, a notification from an operating system of the computing device to make available an amount of storage space on the computing device, wherein media items are stored in a cache, each of the media items being associated with an album from among a plurality of albums; and in response to receiving the notification from the operating system to make available an amount of storage space on the computing device, sort the plurality of albums into a not-in-library group including albums having no media item from the album associated with a media library of an account associated with the computing device, a favorites group including albums associated with at least one media item stored in the cache that is marked as a favorite, and an in-library-non-favorites group including all other albums; rank the albums in each group from least recently playedback to most recently playedback, wherein an album playback date is the date that a most recently playedback media item from the album was playedback; and delete, up to the allocated minimum amount of storage space, media items in reverse chronological order with respect to the playback date of the album with the media item is associated, starting with media items associated with albums in the not-in-library group, then media items associated with albums of the in-library-non-favorites group, and then media items associated with albums in the favorites group, until the amount of storage space to make available has been made available. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 18)
-
-
9. A computing device comprising:
-
a media playback application configured to stream media items from a media streaming service, and store the streamed media items in a cache, the media playback application including a setting effective to reserve a minimum amount of storage space for one or more media items; an operating system configured to manage storage services for applications including the media playback application, and to notify applications of a storage level condition; a cache management application configured to receive a notification from the operating system to make available an amount of storage space on the computing device, wherein the cache management application is further configured to, in response to receiving the notification from the operating system to make available an amount of storage space available on the computing device, group the streamed media items into a plurality of albums; sort the plurality of albums into a not-in-library group including albums having no media item from the album associated with a media library of an account associated with the computing device, a favorites group including albums associated with at least one media item stored in the cache that is marked as a favorite, and an in-library-non-favorites group including all other albums; rank the albums in each group from least recently playedback to most recently playedback, wherein an album playback date is the date that a most recently playedback media item from the album was playedback; and delete, up to the reserved minimum amount of storage space, media items in reverse chronological order with respect to the playback date of the album with the media item is associated, starting with media items associated with albums in the not-in-library group, then media items associated with albums of the in-library-non-favorites group, and then media items associated with albums in the favorites group, until the amount of storage space to make available has been made available. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A method for managing storage on a computing device, the method comprising:
-
receiving, by a cache management application on the computing device, a notification from an operating system on the computing device to make available an amount of storage space on the computing device, wherein media items are stored in a cache, each of the media items being associated with an album from among a plurality of albums; and in response to receiving the notification from the operating system to make available space on the computing device, sorting the plurality of albums into a not-in-library group including albums having no media item from the album associated with a media library of an account associated with the computing device, a favorites group including albums associated with at least one media item stored in the cache that is marked as a favorite, and an in-library-non-favorites group including all other albums; ranking the albums in each group from least recently playedback to most recently playedback, wherein an album playback date is the date that a most recently playedback media item from the album was playedback; and deleting media items in reverse chronological order with respect to the playback date of the album with the media item is associated, starting with media items associated with albums in the not-in-library group, then media items associated with albums of the in-library-non-favorites group, and then media items associated with albums in the favorites group, until the amount of storage space to make available has been made available. - View Dependent Claims (16, 17)
-
Specification