FAQ  •  Register  •  Login

Display of File Name extensions

<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Oct 14, 2011 12:53 pm

Display of File Name extensions

I was pretty sure I had found a bug when the filename extensions that display for all my files in my folder menus eg: "testfile.mkv" and "testfile.flv" did not display in the menus when I added "last added" and "last viewed" folders and simply gave me eg: "testfile" and "testfile". Such inconsistency and the inability to distinguish between files made no sense to me.

I opened Ticket #434, reporting this as a bug but was advised that this is a feature and that I should ask in the forum for an explanation of this behaviour.

Would someone please explain the logic of this?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Oct 14, 2011 1:06 pm

Re: Display of File Name extensions

The Folders view shows files as they appear on the filesystem, e.g.:

  Code:
Avatar (2009) DVD Rip.avi


In all other views it uses title from retrieved (online) metadata (if found), e.g.:

  Code:
Avatar
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Oct 14, 2011 1:17 pm

Re: Display of File Name extensions

OK, but I assume that if I turn metadate off or there is no "online" metadata for "testfile.mkv" that the file system will be the only source for this info, so why drop the .ext which is a valid part of the name?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Oct 14, 2011 1:44 pm

Re: Display of File Name extensions

I tries to fake metadata title by removing the extension. In most cases users don't care about extension and to have the same file name with different extension in Last added is very corner case. It might happen when testing, but not really in real world usage.
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Fri Oct 14, 2011 3:18 pm

Re: Display of File Name extensions

OK, I'd only suggest that leaving the extension instead of trying to fake has no adverse effect, but removing the extension does have an adverse effect, so I would not have chosen to do so. May I suggest that if the filename contains a series pattern that makes faking it appropriate then drop the extension, but if it is a plain filename that the extension be left alone.

Regardless of your decision, I would suggest that the Metadata Extraction documentation, http://www.serviio.org/index.php?option=com_content&view=article&id=12 be expanded to explain the conditions under which extension is removed/retained.

Thanks again for all your support.

Return to Samsung

Who is online

Users browsing this forum: No registered users and 20 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.