Translates old internal paths into new ones.
More...
#include <LegacyPathTranslation.h>
Translates old internal paths into new ones.
Translates old videodb:// and musicdb:// paths which used numbers to indicate a specific category to new paths using more descriptive strings to indicate categories.
◆ TranslateMusicDbPath() [1/2]
std::string CLegacyPathTranslation::TranslateMusicDbPath |
( |
const CURL & | legacyPath | ) |
|
|
static |
Translates old musicdb:// paths to new ones.
- Parameters
-
legacyPath | Path in the old musicdb:// format using numbers |
- Returns
- Path in the new musicdb:// format using descriptive strings
◆ TranslateMusicDbPath() [2/2]
std::string CLegacyPathTranslation::TranslateMusicDbPath |
( |
const std::string & | legacyPath | ) |
|
|
static |
◆ TranslateVideoDbPath() [1/2]
std::string CLegacyPathTranslation::TranslateVideoDbPath |
( |
const CURL & | legacyPath | ) |
|
|
static |
Translates old videodb:// paths to new ones.
- Parameters
-
legacyPath | Path in the old videodb:// format using numbers |
- Returns
- Path in the new videodb:// format using descriptive strings
◆ TranslateVideoDbPath() [2/2]
std::string CLegacyPathTranslation::TranslateVideoDbPath |
( |
const std::string & | legacyPath | ) |
|
|
static |
The documentation for this class was generated from the following files: