FAQ  •  Register  •  Login

DLNA question about file extension display parsing

<<

kittmaster

Streaming enthusiast

Posts: 34

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: 16546

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

Streaming enthusiast

Posts: 34

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

Streaming enthusiast

Posts: 34

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: 2313

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

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

kittmaster

Streaming enthusiast

Posts: 34

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: 2313

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

Panasonic ST30 Plasma, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Roku 2 XS, 4, Ultra and Stick, Yamaha RX-V679 AVR.
Primary server: Intel i5-6400, 8 gig ram, Windows 10 Pro, 18 TB hard drive space | Test server Windows 7 Home Premium, AMD Phenom II X4 965, 8 gig ram

Enable debug logging Identify video file contents
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16546

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

Streaming enthusiast

Posts: 34

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: 16546

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

Streaming enthusiast

Posts: 34

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: 16546

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

Streaming enthusiast

Posts: 34

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

Streaming enthusiast

Posts: 34

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: 16546

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.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 7 guests

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