Settings - Processing - Addltldevl wrote:Is there a way to suppress File Extensions for DLNA browsing?
Name: Suppress file extension
Script:
Code: Select all
var
sFileName: string;
begin
sFileName := ExtractFileName(CurrentMediaItem.Properties[mpiFilePath]);
if SameText(CurrentMediaItem.Properties[mpiTitle], sFileName) then
CurrentMediaItem.Properties[mpiTitle] := ChangeFileExt(sFileName, '')
end.
Settings - Additional - Events - "Ater reading of properties of a media-resource" - Suppress file extension - Ok
List [Movies] - select a file - right click - "Load file properties"