- August 20, 2007
- 2,161
- 747
- Moderator
- #331
The path is user selectable - for "default install" it is preset to@Guzzi
With what name and where stores MyFilms fanart pictures?
<MediaPortal data directoy>\MyFilms\Fanart\
but can be anywhere else, if the user changes that setting (e.g. for network installs, it is usually on a server share)
The naming is done as follows:
- movie title as base (the one the user configures as "mastertitle")
- replace invalid characters (those, the filesystem does not allow) with "_"
- replace spaces with dots
- lower case
- place all fanarts in a directory with that name -> '{<cleanedtitle>}'
- first fanart has same same as directory, if there are more, hashes are added to the name
Code:
string safeName = CreateFilename(title.ToLower()).Replace(' ', '.');
string dirname = artFolder + "\\{" + safeName + "}";
filename = dirname + "\\{" + safeName + "}.jpg";