Page 1 of 1

DirecTV C41-500 Error

PostPosted: Mon Mar 10, 2014 10:45 pm
by cfmorrison
Thanks for reading. I apologize if already answered, did a good bit of searching and can't seem to locate what I'm looking for.

I have a DirecTV HR44 Genie with 3 C41-500 Mini's. I have set up Serviio and its working just fine through the HR44 in the living room. No problem seeing videos, no problem with audio. I read the only previous post by someone having an issue with the C41 mini's, and confirmed that I've got them all set to DirecTV. I've confirmed that they all can stream audio but not video. I'm left with a white screen, or the Media Share exits back to the menu. All videos listed show camera icon's, not the X's.

I turned on logging in the Serviio XML file, and it produced this:

2014-03-09 23:18:52,625 WARN [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: MPEG_PS_NTSC

This shows up each time I attempt to watch a video from the bedroom. All of these are AVI files, which play fine in the front but not in the back. The error only appears when I attempt to watch a video in the back. I've tried to understand what its telling me from the XML file. I see the media entries at the beginning, then the entries for each profile. I'm not sure if this is telling me that its attempting to Transcode, but isn't supposed to, isn't transcoding but is supposed to, or if its unknown. For whatever reason, these same files play fine in teh front but not the back.

Many thanks.

Re: DirecTV C41-500 Error

PostPosted: Tue Mar 11, 2014 2:03 am
by cfmorrison
Here's the latest. Although the Renderer Profile panel shows the HR44 with its ip address on my subnet, 10.251.1.127, the C41 shows up with its strange 169.254.11.50 address. However this is what shows up in the log when making the video request from the C41:

2014-03-10 20:28:07,934 DEBUG [ServiioHttpService] Incoming request from /10.251.1.129:33919: GET /resource/3212/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [HOST: 10.251.1.103:8895,transferMode.dlna.org: Streaming]]
2014-03-10 20:28:07,934 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.251.1.129
2014-03-10 20:28:07,935 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.251.1.129
2014-03-10 20:28:07,935 DEBUG [ProfileManager] Cannot find stored renderer, using Generic
2014-03-10 20:28:07,935 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=10.251.1.129, Profile=Generic DLNA profile'
2014-03-10 20:28:07,935 DEBUG [ResourceDeliveryProcessor] Request for resource 3212 and type 'MEDIA_ITEM' received
2014-03-10 20:28:07,935 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 3212 (local)
2014-03-10 20:28:07,935 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3212)
2014-03-10 20:28:07,936 DEBUG [VideoDAOImpl] Reading a Video (id = 3212)
2014-03-10 20:28:07,936 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 3212, format MPEG_PS_NTSC and profile Generic DLNA profile
2014-03-10 20:28:07,936 WARN [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: MPEG_PS_NTSC

Its a different IP address making the request and the device automatically chooses the wrong (Generic) profile. This address .129 does NOT show up in the Renderer Profile section. So how do I set a profile for something that doesn't show up in the renderer panel, or how do I manually add a device to the renderer panel? I can't seem to find either in the doc's on the wiki.

Thanks

Re: DirecTV C41-500 Error

PostPosted: Tue Mar 11, 2014 3:18 am
by cfmorrison
The problem is most definitely lying in the fact that the C41 Genie Mini shows up with a 169.254.x.x address in the automatically generated Renderer Profile list, however that is not the IP address that the appliance connects to the server with.

Because of my limited knowledge on the editing of the profile.xml file, I figured I had nothing to lose as I only have 1 type of device hooked to the television sets, the DirecTV HR44 and the C41. So I took the DirectTV Transcode information from Profile 6 and overwrote the Transcode information in the Default Profile 1. Restarted the service and voila, it works.

I know this is a total kludge and most definitely not the way to get this done, however it works. I'm able to view movies on my bedroom C41-500 receiver. The most ideal situation would be to figure out why the C41 doesn't show up in the Renderer Profile list using the ip address that its connecting to the server with, OR return the ADD button so that I can read the IP address from the log, and manually add the device with its associated IP address and device name. Either way, it will allow me to take that IP address and assign it something other than the default profile.

If you've read these messages this far and have anything to add, please help! :) Thanks a ton.

Re: DirecTV C41-500 Error

PostPosted: Tue Mar 11, 2014 4:07 am
by DenyAll
No definitely not the way to do it. Profile 1 is a generic profile that is used by all other profiles. Changing it can therefore have repercussions with any other profiles (you will probably be OK in this case, but its not good practice).

The 169.254 address is a default address assigned to the device when it cannot get an address from the DCHP server (it is often simply a temporary state - it soon gets its proper address after that). Try simply removing it from your renderer list and then refreshing. You should get the proper 10.251.1.129 address show up in your list, which you can then assign to the proper profile. If this doesn't work you may need to assign a static IP address to the C41 (either in the C41 or a reserved address from the router - either way you'll need to look at its manual for that).

Re: DirecTV C41-500 Error

PostPosted: Tue Mar 11, 2014 5:24 am
by cfmorrison
I agree, and I'm aware of the fact that it's not the correct way to get it to work, it was more or less a way to prove what I was seeing.

I agree that the 169.254.x.x address is what is assigned to a Windows device (and perhaps others) when it fails to obtain a dhcp address. But note this:

In the log, the C41 does actually obtain an address on my 10.251.1.x subnet as show above. However the Serviio Renderer Profile console shows only the 169.254.x.x address. If that were a failed dhcp address, there's no way it could communicate with the Serviio server. Whats funny is that not only 1, but all 3 of my C41's show up on this 169.254 subnet with different addresses. In doing a google search, I came across a post on an DTV site discussing the function of the c41, and found the explanation from someone stating this is NOT a failed DHCP obtained address, but rather a hardcoded address used by the HR44 and the C41 to communicate.

Bottom line is this, if the 169.254 addresses shown in the Renderer Profile console are truly self generated failed DHCP addresses from the C41, then they shouldn't be communicating with the Seviio server on my 10.251.1.x network. (It didnt receive a valid address, right?) However it does, as evident when I reviewed the debug log. In it, I found that the MAC address is talking to the Serviio console using a valid 10.251.1.129 address. It was this address that I used when kludging the default profile with the DirecTV transcode information, and got it to work.

So although I agree that network devices such as Windows workstations will display a 169.254 address when they fail to obtain a valid address, Im fairly certain this is not the case. For whatever reason, DTV would appear to be using this as some sort of private addressing between the C41 and the HR44. However, its the address that the Seviio Renderer Profile console is picking up on, and because I can't create a profile for the actual address showing up in the Debug Log, I can only wait to see if there's any other way to assign a specific profile to a known IP address other than the one that shows in the Renderer PRofile. The C41 is truly communicating with a 10.251.1 address, contrary to what is shown in the Renderer Profile console. So more or less, the C41's have 2 addresses, this 169 address, and a valid address (that does show up in my DHCP server as well as the Serviio debug log), but only the 169.254 address shows up in the self populating Renderer Profile console.

ETA: Link on DBSTalk discussing the 169 address scheme used by the Genie:

http://www.dbstalk.com/topic/206735-genie-mini-clients-and-ip/page-2

Re: DirecTV C41-500 Error

PostPosted: Tue Mar 11, 2014 6:49 pm
by cfmorrison
Zip,

Any ideas? Either a way to restore the ADD button to the Renderer Profile so I can create a profile with a known address? Where is the information contained in the Renderer Profile retained between reboots, so that perhaps I can edit that file and manually add my C41's and designate them as DirecTV units? How about any ideas why the 169 address of the box is showing in the Renderer Profile, as opposed to the true IP address that shows up in the debug file when it connects to the server?

The issue remains that this 169 address is the only thing that shows in the Renderer Profile panel, and its obvious that manually selecting DirecTV doesn't have any affect on it, as the debug log shows that the true DHCP issued IP address is what the box uses to communicate. Let me know ifyou need some debug logs or anything else that might be of assistance.

Any help, much appreciated.

Re: DirecTV C41-500 Error

PostPosted: Tue Mar 11, 2014 7:32 pm
by zip
If the device doesn't show up using UPnP search functionality it'll get stored as a renderer when the device requests Serviio's device description document (probably somewhere on top of the log).

What IP is used there?

Re: DirecTV C41-500 Error

PostPosted: Wed Mar 12, 2014 12:38 am
by cfmorrison
Here's a screen shot of the Renderer Console:

Image

According to the Logfile, the same Mac address as 169.254.11.50 is attempting to connect using 10.251.1.129. Notice in the previous posts, the snippet of log file showing the connection attempt (timed when I made the request from the C41 console) and the fact that it "isn't listed therefore defaulting to the Generic DLNA profile".

I confirmed that it doesn't work following this. However when I clipped the Transcode section from the DirecTV section and pasted it into the Generic Profile section, the console worked perfectly.

So either I need to find out why the Renderer Profile console only shows this hard coded 169 address and fix it to actually show the 10.251.1.129 address the box subsequently issue's its request from, OR re-adding the ADD button in the Renderer Profile console which would allow me to manually make a profile with the address (obtained from the Log File) and giving me the ability to define it as a DirecTV interface.

Here's the snip of the Log file showing where the request comes in as a valid ip address, but its connection is rejected because its trying to use a Generic Profile. After I kludged the DirectTV code into the Generic profile it worked fine.

2014-03-10 20:28:07,934 DEBUG [ServiioHttpService] Incoming request from /10.251.1.129:33919: GET /resource/3212/MEDIA_ITEM/MPEG_PS_NTSC-0/ORIGINAL HTTP/1.1, headers = [HOST: 10.251.1.103:8895,transferMode.dlna.org: Streaming]]
2014-03-10 20:28:07,934 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.251.1.129
2014-03-10 20:28:07,935 DEBUG [RendererDAOImpl] Reading a Renderer with ip address 10.251.1.129
2014-03-10 20:28:07,935 DEBUG [ProfileManager] Cannot find stored renderer, using Generic
2014-03-10 20:28:07,935 DEBUG [ResourceDeliveryProcessor] Resource request accepted. Using client 'Identifier=10.251.1.129, Profile=Generic DLNA profile'
2014-03-10 20:28:07,935 DEBUG [ResourceDeliveryProcessor] Request for resource 3212 and type 'MEDIA_ITEM' received
2014-03-10 20:28:07,935 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 3212 (local)
2014-03-10 20:28:07,935 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 3212)
2014-03-10 20:28:07,936 DEBUG [VideoDAOImpl] Reading a Video (id = 3212)
2014-03-10 20:28:07,936 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 3212, format MPEG_PS_NTSC and profile Generic DLNA profile
2014-03-10 20:28:07,936 WARN [ResourceDeliveryProcessor] Invalid request, sending back 500 error
org.serviio.dlna.UnsupportedDLNAMediaFileFormatException: No media description available for required version: MPEG_PS_NTSC

Thanks

Re: DirecTV C41-500 Error

PostPosted: Wed Mar 12, 2014 9:01 pm
by cfmorrison
Zip,

Is there a file where the already discovered devices is stored between restarts of the server? An XML file thats read at startup, or something in the registry? Any place that I can manually add the entry that is requesting the connection, since its evident that the Upnp features discovered are using a different ip address. If I can find that file, I could edit it and manually add my entries.

Thanks

Re: DirecTV C41-500 Error

PostPosted: Wed Mar 19, 2014 12:57 am
by cfmorrison
Bump.

Zip, any way to edit the location where discovered devices are stored between the times you run Serviio or reboot the computer? It obviously doesn't rediscover each time, since some of the things removed from the network reappear the next time you run the server console. The UPNP functionality of the Genie Mini's only reveal the ip address used to communicate with the Genie, not the address used when querying the Serviio console. So I either need to manually add them to a list or edit an existing discovered device's IP address.

Thanks

Re: DirecTV C41-500 Error

PostPosted: Tue Jan 20, 2015 8:31 pm
by wiles01
Sorry to bring up a dead post... but did this ever get resolved in any form or fashion?? I have been unable to find any more recent comments/solutions about this problem on the board.

I'm having the same issue right now. I show the main C31 IP address that the Genie HR34 throws out to the C31 and have that profile set to DirecTV transcoding, but the auxilliary C31 IP address assignment is not showing up in the list for me to change DirecTV profile.

Since the DirecTV and C31 are the only profile I need, I was curious if there was any way to make the Generic profile just have all that the DirecTV profile has already added on maybe so I wouldn't even have to worry what profile was set for my particular setup? That way Generic would just cover what I already have.

I tried to copy and paste the transcoding info in the XML file but then Serviio just refused to load as it recognized the XML profile had been altered and not working correctly.