Dominik Riebeling | c75a844 | 2006-04-04 21:48:47 +0000 | [diff] [blame] | 1 | % $Id$ % |
Michael DiFebbo | 642d74d | 2006-07-27 02:02:18 +0000 | [diff] [blame] | 2 | \section{\label{ref:tagcache}Tag Cache} |
Dominik Riebeling | c75a844 | 2006-04-04 21:48:47 +0000 | [diff] [blame] | 3 | |
| 4 | \subsection{Introduction} |
Michael DiFebbo | 642d74d | 2006-07-27 02:02:18 +0000 | [diff] [blame] | 5 | Tag Cache is the Rockbox music database system. Using the information |
Dominik Riebeling | c75a844 | 2006-04-04 21:48:47 +0000 | [diff] [blame] | 6 | contained in the tags (ID3v1, ID3v2, Vorbis Comments, Apev2, etc.) in your |
| 7 | audio files, Rockbox builds and maintains a database of the music files on |
| 8 | your player and allows you to browse them by Artist, Album and Genre. |
| 9 | |
Michael DiFebbo | 642d74d | 2006-07-27 02:02:18 +0000 | [diff] [blame] | 10 | \subsection{Initializing the Tag Cache} |
| 11 | Before you use the Tag Cache for the first time, you must initialize it by using |
| 12 | the \setting{Initialize Now} function in the \setting{Tag Cache Menu}, which is |
| 13 | described in the following section. |
Dominik Riebeling | c75a844 | 2006-04-04 21:48:47 +0000 | [diff] [blame] | 14 | |
Michael DiFebbo | 642d74d | 2006-07-27 02:02:18 +0000 | [diff] [blame] | 15 | \subsection{\label{ref:tagcachemenu}The Tag Cache Menu} |
| 16 | |
Martin Arver | 8570911 | 2006-08-15 10:53:14 +0000 | [diff] [blame] | 17 | \begin{description} |
| 18 | \opt{SWCODEC}{ |
| 19 | \item[Load To Ram: ] |
| 20 | The Tag Cache database can either be kept on disk (to save memory), or |
| 21 | loaded into RAM (for fast browsing). Setting this to \setting{Yes} loads |
| 22 | the tagcache to RAM, allowing faster browsing and searching. Setting this |
| 23 | option to \setting{No} keeps the tagcache on the disk, meaning slower |
| 24 | browsing but it does not use extra RAM and saves some battery on boot up. |
| 25 | |
| 26 | \note{If you use TagCache frequently, you should load to RAM, as this |
| 27 | will reduce the overall battery consumption because the disk will not |
| 28 | need to spin on each search.} |
| 29 | } |
| 30 | |
| 31 | \item[Auto Update: ] |
| 32 | If \setting{Auto update} is set to \setting{on}, each time the \dap{} |
| 33 | boots, Tag Cache will automatically do everything that the |
| 34 | \setting{Update now} setting does. Note that the \setting{Auto |
| 35 | Update} will only check for deleted files if the Directory Cache |
| 36 | (\setting{General Settings $\rightarrow$ System $\rightarrow$ |
| 37 | Disk $\rightarrow$ Directory Cache}) is enabled. |
| 38 | \setting{Update now} includes that check whether dircache has been enabled or |
| 39 | not. |
| 40 | |
| 41 | \item[Initialize Now: ] |
| 42 | Before you use the Tag Cache for the first time, you must initialize it by |
| 43 | using the \setting{Initialize Now} function in the \setting{Tag Cache |
| 44 | Menu}. \setting{Initialize Now} removes all database files (removing |
| 45 | runtimedb data also) and rebuilds the database from scratch. This takes |
| 46 | approximately 5 to 10 minutes, and may require a restart to allow the |
| 47 | files to be committed to the cache. |
| 48 | |
| 49 | The Tag Cache initialization happens in the background, so you can continue |
| 50 | to listen to music while the Tag Cache is being initialized. If you shut |
| 51 | down your player during initialization, the database building process will |
| 52 | continue next time you turn it on. |
| 53 | |
| 54 | \item[Update Now: ] |
| 55 | \setting{Update now} causes Tag Cache to detect new and deleted files |
| 56 | Note that unlike the \setting{Auto Update} function, \setting{Update Now} |
| 57 | will update the database regardless of whether the \setting{Directory Cache} |
| 58 | is enabled. Thus, an update using \setting{Update now} may take a long |
| 59 | time. Unlike \setting{Initialize Now}, the \setting{Update Now} function |
| 60 | does not remove runtime database information. |
| 61 | |
| 62 | \item[Gather Runtime Data (Experimental): ] |
| 63 | When enabled, this option allows the most played, unplayed and most recently |
| 64 | played tracks to be logged and scored. |
| 65 | |
| 66 | \item[Export modifications: ] |
| 67 | This allows for the runtime data to be exported into \\ |
| 68 | \fname{/.rockbox/tagcache\_changelog.txt}, which backs up the runtime data in |
| 69 | ASCII format. This is needed when Tag Cache structures change, because new |
| 70 | code cannot read old Tag Cache database code. But, all modifications |
| 71 | exported to ASCII format should be readable by all Tag Cache versions. |
| 72 | |
| 73 | \item[Import modifications: ] |
| 74 | Allows the \fname{/.rockbox/tagcache\_changelog.txt} backup to be |
| 75 | conveniently loaded into the Tag Cache. This is performed automatically when |
| 76 | the Tag Cache is initialized. |
| 77 | |
| 78 | \end{description} |
Michael DiFebbo | 642d74d | 2006-07-27 02:02:18 +0000 | [diff] [blame] | 79 | |
| 80 | \subsection{Using the Tag Cache} |
| 81 | Once the Tag Cache has been initialized, you can browse your music by Artist, |
| 82 | Album, Genre and Song Name. To use the Tag Cache, change the |
| 83 | \setting{Show Files} show mode by changing the \setting{General Settings |
| 84 | $\rightarrow$ File View $\rightarrow$ Show files} option to |
| 85 | \setting{ID3 database}. This disables the \setting{File Browser} and instead |
| 86 | allows you to view files using the information in the Tag Cache database.\\ |
| 87 | |
| 88 | \note{You may need to increase the value of the \setting{Max files in dir |
| 89 | browser} setting (\setting{General Settings $\rightarrow$ System $\rightarrow$ |
| 90 | Limits}) in order to view long lists of tracks in the ID3 database browser.\\ |
| 91 | |
| 92 | There is no option to turn off Tag Cache completely. If you do not want |
| 93 | to use it just don't do the initial build of the database and do not load it |
Dominik Riebeling | a18bd16 | 2006-04-20 16:44:26 +0000 | [diff] [blame] | 94 | to RAM.} |
| 95 | % |
Dominik Riebeling | c75a844 | 2006-04-04 21:48:47 +0000 | [diff] [blame] | 96 | \begin{table} |
| 97 | \begin{center} |
| 98 | \begin{tabularx}{.75\textwidth}{XX} |
| 99 | \toprule |
| 100 | Supported Tags & Unsupported Tags \\ |
| 101 | \midrule |
| 102 | Artist & Comment \\ |
| 103 | Album & Performer\\ |
| 104 | Bitrate & \\ |
| 105 | Composer & \\ |
| 106 | Genre & \\ |
| 107 | Length & \\ |
| 108 | Title & \\ |
| 109 | Track Number & \\ |
| 110 | \bottomrule |
| 111 | \end{tabularx} |
| 112 | \end{center} |
| 113 | \end{table} |
| 114 | |