summaryrefslogtreecommitdiff
path: root/src/plugins/ivimedia/doc
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@pelagicore.com>2018-03-01 15:09:12 +0100
committerDominik Holland <dominik.holland@pelagicore.com>2018-03-09 15:16:31 +0000
commit3fffa68e5827cc4b1b310912e26314cde2ba9e95 (patch)
treecb7c3c01df4399ee5be7359f84278b0d6009e618 /src/plugins/ivimedia/doc
parente2914fa9702ad553494ee05a58dde967bdefe004 (diff)
downloadqtivi-3fffa68e5827cc4b1b310912e26314cde2ba9e95.tar.gz
mediaplugin: Change the default mode to use a persistent database
The database is now written to the application's cache folder and is reused on the next start of the application. The indexer will now also use the systems music folder by default. The non persistent database can be enabled by setting the QTIVIMEDIA_TEMPORARY_DATABASE environment variable. Change-Id: I0c496295499e618d7ca5970a695aef83ee3cc8fd Reviewed-by: Robert Griebl <robert.griebl@pelagicore.com>
Diffstat (limited to 'src/plugins/ivimedia/doc')
-rw-r--r--src/plugins/ivimedia/doc/src/backends.qdoc13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/plugins/ivimedia/doc/src/backends.qdoc b/src/plugins/ivimedia/doc/src/backends.qdoc
index 3907765..7671cf2 100644
--- a/src/plugins/ivimedia/doc/src/backends.qdoc
+++ b/src/plugins/ivimedia/doc/src/backends.qdoc
@@ -100,25 +100,28 @@ the following navigation paths:
\li Album -> Track
\endlist
-\note On systems where \c taglib wasn't found, indexing of files doesn't work and because of that
+\note On systems where \c taglib is disabled, indexing of files doesn't work and because of that
the media database can't be created.
\section1 Configuration
-This backend uses environment variables for its configuration. By default it will use
-a non persistent mode, where the indexed media database is not saved, but recreated on every start
-of the app.
+This backend uses environment variables for its configuration. By default it will write its database
+to the application's cache location. There is also a non persistent mode, where the indexed media
+database is not saved, but recreated on every start of the app.
\table
\header
\li Name
\li Description
\row
+ \li QTIVIMEDIA_TEMPORARY_DATABASE
+ \li The database is written to a temporary location and deleted when the application is stopped.
+\row
\li QTIVIMEDIA_SIMULATOR_DATABASE
\li A path to the media database which should be used.
\row
\li QTIVIMEDIA_SIMULATOR_LOCALMEDIAFOLDER
- \li The local media directory (default: /home/<user>/media)
+ \li The local media directory (default: all media locations of the user - see also QStandardPaths)
\row
\li QTIVIMEDIA_SIMULATOR_DEVICEFOLDER
\li The path which will be used by the DiscoveryModel for discovering media devices.