- Moderator
- #1
Started on: 2014-09-24
last update: 2014-09-24
Summary:
Add function (#makefilename) in Skin Expressions, which will return a string with no characters that are not allowed in filenames or directories. Ie will run function MakeDirectoryPath of Core/Util/Util.cs.
This function is required for the normal display ClearArt / CDArt etc. for artists and albums.
Area:
Skin Expressions
Description:
For example:
Was: <texture>#Play.Current.mvArtist - #Play.Current.mvAlbum.png</texture> - return - AC/DC - Back In Black.png - But the file with the same name can not be.
Will be: <texture>#makefilename(#Play.Current.mvArtist) - #makefilename(#Play.Current.mvAlbum).png</texture> - return - AC_DC - Back In Black.png - File with the same name has a right to exist.
Was: <texture>#Play.Current.mvArtist - #Play.Current.mvAlbum.png</texture> - return - Guns N' Roses - Live?!*@ Like a Suicide.png - But the file with the same name can not be.
Will be: <texture>#makefilename(#Play.Current.mvArtist) - #makefilename(#Play.Current.mvAlbum).png</texture> - return - Guns N' Roses - Live _!_@ Like a Suicide.png - File with the same name has a right to exist.
last update: 2014-09-24
Summary:
Add function (#makefilename) in Skin Expressions, which will return a string with no characters that are not allowed in filenames or directories. Ie will run function MakeDirectoryPath of Core/Util/Util.cs.
This function is required for the normal display ClearArt / CDArt etc. for artists and albums.
Area:
Skin Expressions
Description:
For example:
Was: <texture>#Play.Current.mvArtist - #Play.Current.mvAlbum.png</texture> - return - AC/DC - Back In Black.png - But the file with the same name can not be.
Will be: <texture>#makefilename(#Play.Current.mvArtist) - #makefilename(#Play.Current.mvAlbum).png</texture> - return - AC_DC - Back In Black.png - File with the same name has a right to exist.
Was: <texture>#Play.Current.mvArtist - #Play.Current.mvAlbum.png</texture> - return - Guns N' Roses - Live?!*@ Like a Suicide.png - But the file with the same name can not be.
Will be: <texture>#makefilename(#Play.Current.mvArtist) - #makefilename(#Play.Current.mvAlbum).png</texture> - return - Guns N' Roses - Live _!_@ Like a Suicide.png - File with the same name has a right to exist.
Last edited: