FAQ  •  Register  •  Login

DLNA question about file extension display parsing

<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Mon Jan 08, 2018 6:05 pm

DLNA question about file extension display parsing

Does anyone know where the file name parsing is done when a DLNA source like a Samsung TV is browsing the video titles?

My issue is every movie I have is listed as mymovie.mp4.mp4 (double file extension)

I think this has been asked but I can't find the answer.

This is definitely a Serviio problem and not a TV issue.

This issue is NOT present in the mediabrowser and as far as I know, unique to DLNA.

I know this because I was doing some testing with the same exact copied video files using my netgear router acting as a media server and the same exact movie files came up as mymovie.mp4

The only reason I didn't use that instead was because it can't generate video thumbnails.

I love serviio, but this is a real annoyance to me as minor as it is.

I can modify my files, I just don't know where to look. All .classes I've opened and searched for .mp4 come up empty or exclusions (not sure why).........

Can someone point me into where the file name for DNLA is generated to help chop some time down?

I'll be happy to share my results once I get it sorted out for those that may want the fix also.

Thank you,
Chris
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 09, 2018 9:54 am

Re: DLNA question about file extension display parsing

I assume this happens when you use the Folders view. In that view, Serviio sends the name of the video incl. its extension (movie.mp4). Then I assume the TV also add its own extension based on the file type it think it is. This is dependent on the TV, as I'm not seeing it on any of my devices.
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Tue Jan 09, 2018 1:14 pm

Re: DLNA question about file extension display parsing

Here is the Samsung F Series TV (living room)

One is served via i5 with serviio running, the other is my netgear Nighthawk x8 via USB drive as a media server.

The video files on the USB are the same files copied from i5 machine just for testing purposes.

So you will see the double mp4 from the serviio server and not from the x8

Image

Image
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Tue Jan 09, 2018 1:35 pm

Re: DLNA question about file extension display parsing

Here is something that just dawned on me, here is my 50" bravia pulling from the serviio server, the file names are fine.

So now it leads me to believe there may be an issue in the Samsung TV profile??

Possible fix in there?

Image
<<

atc98092

User avatar

DLNA master

Posts: 5205

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Jan 09, 2018 2:06 pm

Re: DLNA question about file extension display parsing

You can test the profile by changing the profile used to the generic profile. It the problem persists, then it's a Samsung issue.

Personally, I quit using my Samsung UI for playback a long time ago. Their DLNA support is terrible. I either use a Sony Blu Ray player or Roku as my playback device.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Tue Jan 09, 2018 2:31 pm

Re: DLNA question about file extension display parsing

Changed it to the generic profile and it does the same thing.

I hear what you're saying, but doesn't the X8 example prove it isn't a Samsung issue since it renders normally from the Netgear media server vs the Serviio server?

It runs great outside of that and plus I don't want have to contend with a third remote control vs the two I have already (Tv and Cable)

Am I incorrect in my assessment?
<<

atc98092

User avatar

DLNA master

Posts: 5205

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Tue Jan 09, 2018 5:49 pm

Re: DLNA question about file extension display parsing

I guess it all boils down to "it depends". Lousy answer, I know. What matters is how close Serviio, Samsung and Netgear adhere to the DLNA standard. That's a question I can't answer. It's possible that one of the three is better or worse than the others in adhering to the requirements. Based on my experience with Samsung, my money is on them not adhering too close. Perhaps there's something that Netgear does that Serviio does not (or vice versa) that works a little better with your Samsung. I recall seeing my Samsung doing something like that in the past, but it's been so long since I've used it for DLNA playback I couldn't say what it shows now. I do know that my Samsung refuses to play a video that is being transcoded, and Zip has noted the same issue with other Samsung sets.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Jan 15, 2018 8:52 am

Re: DLNA question about file extension display parsing

As per my answer, it's the TV adding the second extension to the file name. Seviio server the video name in the FOlders category with the extension in the title, and the TV adds the extension again. If you use Movies category (for example), you will get just 1 extension (which again is added by the TV because Serviio doesn't include the extension in the movie name in that view)
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Mon Jan 15, 2018 5:01 pm

Re: DLNA question about file extension display parsing

zip wrote:As per my answer, it's the TV adding the second extension to the file name. Seviio server the video name in the Folders category with the extension in the title, and the TV adds the extension again. If you use Movies category (for example), you will get just 1 extension (which again is added by the TV because Serviio doesn't include the extension in the movie name in that view)


I normally don't use the "movies" category, so for this thread, I turned it on in the presentation area and now I see the added folder to navigate to, when I go into it, I get "no content found"

I had this problem initially and can't seem to figure out where "movies" category is pulling from.

I'd like to see this for myself, what am I missing to have the "movies" category show to work. I can dump a single file for testing, but need to know how to set that up since it clearly isn't using my shared folder paths that all work correctly when I use the folder view.

Using windows 10 as the OS for the server.

Image
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 16, 2018 2:19 pm

Re: DLNA question about file extension display parsing

Do you have Descriptive metadata on in the Console? And metadata enabled for the shared folder? It won't show anything in the Movies category unless it knows it's a movie (and not an episode / home video).
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Tue Jan 16, 2018 4:03 pm

Re: DLNA question about file extension display parsing

In the shared folder yes, it is turned on, under metadata, it is set to no descriptive data.

I recall doing that because it was mangling my local file names using online sources and that seemed to fix it then.

Now, I've tried online meta, myMovies, XMBC and nothing changes, after each clicking rescan and starting and stopping the server and going back in.

Not sure where to go next.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Jan 16, 2018 10:42 pm

Re: DLNA question about file extension display parsing

Select Online Metadata, then save. Then click Refresh Video metadata and then Force refresh.
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Wed Jan 17, 2018 9:14 pm

Re: DLNA question about file extension display parsing

I did that exactly, and "now" I have 6 movies showing out of 200+ and all six have the same title : "I am Chris Farley" all with the same video album art......all show the same time, resolution......this is why I turned off online metadata, it brings back totally screwed up data and nothing even close to what the video actually is.

What should I do next to correct this?

All of my files have full meta embedded data like title, year, track (set to 1), album (set to MOVIES), and the video title matches the file name exactly using MP3TAG as my editor/tagger.

Under folders view, everything is correct, as it should be, I recall this is why I dumped the "movies" category because something was off.

Thoughts?

Thanks,
Chris
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Thu Jan 18, 2018 1:18 pm

Re: DLNA question about file extension display parsing

So I went back today, and now it found 1156 mp4 files, great! Took a while I guess to scan it all.

Bad news, it is TERRIBLE at determining what is what or the databases suck....I can't figure out which.

I have a LOT of music videos because I've been a DJ since 1986, so all of those live in a subfolder that stores them for easy viewing among my movie collection.

The online sources completely mangle the names, cover art etc.....ALL of that stuff is embedded in the files by me so I know what they should look like exactly. Why isn't it using what is already IN THE FILES?

Things like Bobby Brown - Every little step (MTV original music video).......comes up as a 1968 movie about some god knows what plot.

Even regular movies are being messed up also.

So why again do I need an online source to parse the movie and music video meta data for it to show up in MOVIES category????

I recall this is why I only use the folder view, which of course brings back the double MP4 extension junk. I can see why the movie category is neat to have with all the snippets of data, but what good is any of that when more 90% of everything I have is mislabeled or just flat out wrong?

Is there some FAQ or method that I need to do to the files to ensure the proper data gets pulled?

Look at the images below, I believe "the post" is still in the theaters! And no, I don't own "after the porn ends" either......hence you can see the frustration of "what the hell is this thing doing?"

Here are some screen shots of what I am seeing:

Image

Image

Image
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Jan 19, 2018 8:51 am

Re: DLNA question about file extension display parsing

yeah... embedded metadata (from the files) for video files is on the roadmap. But still, I think you'd have to separate the movies and music videos to different folders, and turn on Descriptive metadata for the movie folder only. ATM Serviio tries to find a move / episode based on the file name, and obviously music videos are not in the online DBs, so it gets the second best match.
<<

kittmaster

DLNA master

Posts: 194

Joined: Mon Aug 21, 2017 4:34 am

Post Thu Jan 25, 2018 7:52 pm

Re: DLNA question about file extension display parsing

Ok, I understand, hopefully it comes sooner than later, but I have a better understanding of how the mechanisms work now.

Having to content with the double mp4 thing and not getting movies set up the way I wanted, I've settled for the following.

I didn't change anything about my folder structure, I turned off all descriptive media, checked > Generate thumbnails for local videos, checked > Look for a local DVD cover image or poster (e.g. dvdcover.jpg, movie.jpg, etc.)

Anyone who reads this, I embed my covers into each file/movie using MP3TAG (supports MP4 containers only which I use), and then have an export script that exports all my movie covers using the same exact file name.

The result is, while I have no descriptive media (ok for now), anything with an embedded cover that I've specifically choosen will be displayed via DLNA (in HD mode) and things like music vidoes that don't have covers, the server will create a frame snapshot for it to have.

The key is to have each file/movies filename and cover.jpg to match, see attached image below.

Hopefully this helps someone who may not be entirely sure.

NEW NOTE: The question to zip, what should the files actually look like to pull the correct descriptive media? It's not like you can go to each file it finds and do a manual search to find a correct match. How do YOU guys do it to ensure the movie info is pulled in correctly? I also noticed that when it pulls in an incorrect movie title, it disregards the actual file name and inserts its own which could be complete wrong. There seems to be no way to correct the mistakes made when it tries to build the descriptive data and just flubs the whole process for those that are wrong......hints??

Greetz
Chris

Image

Image
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Fri Jan 26, 2018 12:01 am

Re: DLNA question about file extension display parsing

NEW NOTE: The question to zip, what should the files actually look like to pull the correct descriptive media? It's not like you can go to each file it finds and do a manual search to find a correct match. How do YOU guys do it to ensure the movie info is pulled in correctly? I also noticed that when it pulls in an incorrect movie title, it disregards the actual file name and inserts its own which could be complete wrong. There seems to be no way to correct the mistakes made when it tries to build the descriptive data and just flubs the whole process for those that are wrong......hints??
Not zip... but, If using the online metadata sources, Serviio uses the filename to do the lookup.

Read my post: viewtopic.php?f=5&t=10626&p=70544#p70544. Use Filebot to rapidly rename files to match the Serviio schema.

In addition, if the file is still not matched correctly you can use the IMDB ID in the file name to force it (this is generally the last resort, renaming the file usually works) - eg. "movie name (year) [tt99999].ext" where tt99999 is the IMDB id. You can use this to correct mistakes.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 27 guests

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