Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/vivizzz007/vivi-music/llms.txt

Use this file to discover all available pages before exploring further.

VIVI Music lets you save any track to your device for playback without a network connection. Downloads are managed by ExoDownloadService, a Media3 DownloadService that runs in the background and shows progress notifications. Downloaded songs appear in the Library → Downloaded view and are played back directly from local storage, giving you gapless offline audio at the same quality you downloaded. Storage is configurable — you can set separate limits for the streaming playback cache and the image thumbnail cache, and clear both independently from Settings → Storage.
Downloaded tracks in VIVI Music are cached for personal offline use only. Do not redistribute downloaded audio files. All content remains the property of the respective rights holders and is streamed in compliance with YouTube’s terms of service.

How to Download a Track

1

Find the track

Navigate to any song in Search, Home, a playlist, an album, or the Library.
2

Open the track menu

Long-press the song row, or tap the ⋮ overflow menu icon on the right side of the row. This opens the song action sheet.
3

Tap Download

Select Download from the action sheet. The download begins immediately in the background via ExoDownloadService.
4

Monitor progress

A download progress notification appears in your notification shade. Multiple concurrent downloads are batched into a single notification showing overall progress.
5

Play offline

Once complete, the track is available in Library → Downloaded and plays from local storage regardless of network connectivity.

Auto-Download on Like

VIVI Music can automatically download a track the moment you like it, without any manual steps.
Preference keyDefaultDescription
AutoDownloadOnLikeKeyfalseWhen enabled, liking a song immediately queues it for download via ExoDownloadService
Enable this in Settings → Player & Audio → Auto-download on like.
Combine auto-download with the Liked songs auto-playlist to build a fully offline library of everything you enjoy — new likes are downloaded automatically and appear in both the Liked and Downloaded views.

Download Storage Management

Downloads and streaming cache are stored separately. Both limits are configured in Settings → Storage.

Song Cache

MaxSongCacheSizeKey controls the maximum size of the streaming playback cache (in MB). VIVI Music uses a SimpleCache (Media3 CacheDataSource) for both live streaming and downloaded content:
  • The player cache holds recently streamed audio for quick re-play.
  • The download cache holds explicitly downloaded tracks that are never evicted until you remove them manually.
When the player cache reaches MaxSongCacheSizeKey, older entries are evicted automatically to make room for new streams. Downloaded tracks are stored separately and are not subject to this limit.

Image Cache

MaxImageCacheSizeKey controls the maximum size of the thumbnail and artwork image cache in MB. Album art, artist images, and other visuals are cached using Coil and are subject to this separate limit.

Clearing Storage

1

Open Settings → Storage

Scroll to the Storage section in VIVI settings.
2

Clear song cache

Tap Clear song cache to evict all entries from the streaming player cache. This does not remove explicitly downloaded tracks.
3

Clear image cache

Tap Clear image cache to remove all cached thumbnails and artwork. Images will be re-fetched on next display.
4

Remove individual downloads

Long-press any downloaded song in Library → Downloaded and select Remove download to delete that specific file.

Smart Cache Management

VIVI Music uses a two-tier caching strategy to make the best use of available storage:

Streaming Cache

Recently played audio is cached up to MaxSongCacheSizeKey MB. Older entries are evicted automatically using LRU eviction so new streams always have room.

Download Cache

Explicitly downloaded tracks live in a separate cache and are never auto-evicted. They persist until you manually remove them.

Image Cache

Album art and thumbnails are cached separately up to MaxImageCacheSizeKey MB, keeping audio and image storage budgets independent.

Offline Playback

When a downloaded track is requested and no network is available, VIVI serves it directly from the download cache with no buffering delay.

Library: Downloaded Songs View

All downloaded tracks appear in the Library → Downloaded auto-playlist. You can sort and filter this view using the same sort controls available elsewhere in the library (create date, name, artist, play time). The Show Downloaded Playlist card in the Library is controlled by ShowDownloadedPlaylistKey (default: true) — disable it in Settings → Appearance if you prefer a cleaner library layout.

Build docs developers (and LLMs) love