Jump to content

DLNA with Dish Hopper and Joey?


Tolerant

Recommended Posts

Happy2Play

The downside

.avi, .mpg and .divx don't play it just end up not playing or if have started a mp4 or mkv it end looping that previous played video that last played 

 You can experiment and try adding avi, mpg and dixv to this line.

 

    <DirectPlayProfile container="mp4,mkv,mpeg,mpegts" audioCodec="mp3,ac3,aac,he-aac,pcm" videoCodec="h264,mpeg2video" type="Video" />

 

These files didn't try to transcode?  If not try changing (<TranscodingProfile container="mpegts") to (<TranscodingProfile container="mp4")

Edited by Happy2Play
Link to comment
Share on other sites

Changing this (<TranscodingProfile container="mpegts") to this (<TranscodingProfile container="mp4") solve it now everything works

Edited by SHSPVR
Link to comment
Share on other sites

Happy2Play

The User-agent can probably be removed since <FriendlyName>Hopper with Sling\(.*</FriendlyName> made it work in this case.

Link to comment
Share on other sites

Happy2Play, on 20 Sept 2014 - 9:49 PM, said:Happy2Play, on 20 Sept 2014 - 9:49 PM, said:

The User-agent can probably be removed since <FriendlyName>Hopper with Sling\(.*</FriendlyName> made it work in this case.

That turn out to be a bad idea after all end up have to restore that User-agent line.

Edited by SHSPVR
Link to comment
Share on other sites

Happy2Play

@@SHSPVR

Can you try changing the user agent and modifying your friendly name. 

 

<HttpHeaderInfo name="User-Agent" value="xip" match="Substring" />  to       <HttpHeaderInfo name="User-Agent" value="XiP" match="Substring" /> or maybe "XiP*"

 

We know we can get this to work on Hopper with Sling (XiP813), but will it work on the other models?

 

Edit could you remove the model named also.  Need to try and make this for all models if possible.

 

Edit2.  Can you see if this work without a friendly name.

 

A profile I saw on Plex just uses  <DeviceDescription>Echostar Technologies</DeviceDescription>

 

So it will take some testing to make this profile as vanilla as possible.

Edited by Happy2Play
Link to comment
Share on other sites

Happy2Play, on 20 Sept 2014 - 11:27 PM, said:Happy2Play, on 20 Sept 2014 - 11:27 PM, said:

@@SHSPVR

Can you try changing the user agent and modifying your friendly name. 

 

<HttpHeaderInfo name="User-Agent" value="xip" match="Substring" />  to       <HttpHeaderInfo name="User-Agent" value="XiP" match="Substring" /> or maybe "XiP*"

 

We know we can get this to work on Hopper with Sling (XiP813), but will it work on the other models?

 

Edit could you remove the model named also.  Need to try and make this for all models if possible.

 

Edit2.  Can you see if this work without a friendly name.

 

A profile I saw on Plex just uses  <DeviceDescription>Echostar Technologies</DeviceDescription>

 

So it will take some testing to make this profile as vanilla as possible.

 

Yes change it to XiP work the 2nd didn't at all

So like this will be OK

 

  <Name>Hopper-Joey</Name>

  <Identification>

    <FriendlyName>Hopper</FriendlyName>

    <ModelNumber />

    <SerialNumber />

    <ModelName />

    <DeviceDescription />

    <ModelUrl />

    <Manufacturer />

    <ManufacturerUrl />

    <Headers>

      <HttpHeaderInfo name="User-Agent" value="XiP" match="Substring" />

    </Headers>

  </Identification>

 

Here the XML

Edited by SHSPVR
Link to comment
Share on other sites

Happy2Play

Can you try without Friendly name.  So in theory this will work on Joey also.

Link to comment
Share on other sites

Sorry about that I did remove but end up back in file some so thing I manual edit it I let you know in about 10mins

Link to comment
Share on other sites

Happy2Play, on 21 Sept 2014 - 12:43 AM, said:Happy2Play, on 21 Sept 2014 - 12:43 AM, said:

Can you try without Friendly name.  So in theory this will work on Joey also.

So far yes it working with out any Friendly name even on Joey and Super Joey

Edited by SHSPVR
Link to comment
Share on other sites

Happy2Play

@SHSPVR - Great news can you post the final revision.  And thanks for all the testing.

Link to comment
Share on other sites

you need to add some identification criteria - friendlyname, model, etc. 

 

sometimes the http headers are used, sometimes the device properties. if they're all empty the profile will end up getting matched for every device.

Link to comment
Share on other sites

that looks good, although i didn't mean to suggest you had to fill out all those fields. so if you don't want friendly name + manufacturer + url, remove one or two.

 

basically the rule of thumb is you want at least one device property, and at least one http header. that will cover both the dlna server and play to functions.

 

so based on that let me know if this is the final one and i'll add it to MBS.

Link to comment
Share on other sites

Still works just fine stick with that.

Should I start new post in ref to this below

Now on to a few small problem I see which not really a big deal but not sure if it be on hopper end or possible on MBS end.

Here just one

Any way when ever I browser TV Series the sub folder listed to get to videos on Hopper or Joey and cancel (back page) it doesn't always list the same folder when first when there.

 

post-4629-0-03025300-1411317107_thumb.jpg

post-4629-0-45735400-1411317127_thumb.jpg

Link to comment
Share on other sites

Happy2Play

You would probably have to look at the server logs and see if there are errors when this happens.

Link to comment
Share on other sites

The only thing I see so far is just stuff like this

 

2014-09-22 15:31:21.7048 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
 Event with Id uuid:d0648cd692304250b8f2613506dda094 not found.
 MediaBrowser.Common.Extensions.ResourceNotFoundException
    at MediaBrowser.Dlna.Eventing.EventManager.GetSubscription(String id, Boolean throwOnMissing)
    at MediaBrowser.Dlna.Eventing.EventManager.RenewEventSubscription(String subscriptionId, Nullable`1 timeoutSeconds)
    at MediaBrowser.Dlna.Service.BaseService.RenewEventSubscription(String subscriptionId, Nullable`1 timeoutSeconds)
    at MediaBrowser.Api.Dlna.DlnaServerService.ProcessEventRequest(IEventManager eventManager)
    at lambda_method(Closure , Object , Object )
    at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)
 
2014-09-22 15:31:21.7048 Error - HttpServer: Error processing request for /mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
 Event with Id uuid:d0648cd692304250b8f2613506dda094 not found.
 ServiceStack.HttpError
 No Stack Trace Available
 
2014-09-22 15:31:21.7204 Error - NotFoundHttpHandler: 192.168.2.2:8096 Request not found: /mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
2014-09-22 15:31:21.7204 Debug - HttpServer: HTTP Response 404 to 192.168.2.46. Response time: 31.2001 ms.
 Url: http://192.168.2.2:8096/mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
2014-09-22 15:31:21.7360 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 6a2e050a2f4a4ac499dc8d202f13aa45
2014-09-22 15:31:22.1885 Debug - HttpServer: HTTP SUBSCRIBE http://192.168.2.2:8096/mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
 Ip: 192.168.2.47:35103. Headers: HOST=192.168.2.2:8096,SID=uuid:7a5b374da46041bf94ea8350bb1985e4,TIMEOUT=Second-1801
2014-09-22 15:31:22.1885 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
 Event with Id uuid:7a5b374da46041bf94ea8350bb1985e4 not found.
 MediaBrowser.Common.Extensions.ResourceNotFoundException
    at MediaBrowser.Dlna.Eventing.EventManager.GetSubscription(String id, Boolean throwOnMissing)
    at MediaBrowser.Dlna.Eventing.EventManager.RenewEventSubscription(String subscriptionId, Nullable`1 timeoutSeconds)
    at MediaBrowser.Dlna.Service.BaseService.RenewEventSubscription(String subscriptionId, Nullable`1 timeoutSeconds)
    at MediaBrowser.Api.Dlna.DlnaServerService.ProcessEventRequest(IEventManager eventManager)
    at lambda_method(Closure , Object , Object )
    at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)
 
2014-09-22 15:31:22.1885 Error - HttpServer: Error processing request for /mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
 Event with Id uuid:7a5b374da46041bf94ea8350bb1985e4 not found.
 ServiceStack.HttpError
 No Stack Trace Available
 
2014-09-22 15:31:22.1885 Error - NotFoundHttpHandler: 192.168.2.2:8096 Request not found: /mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
2014-09-22 15:31:22.2041 Debug - HttpServer: HTTP Response 404 to 192.168.2.47. Response time: 15.6 ms.
 Url: http://192.168.2.2:8096/mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
2014-09-22 15:31:22.2041 Debug - HttpServer: Exiting HttpConnection.OnReadInternal because nread=0. ConnectionId: 12dfa72dd3b14d8ba8850a6c6aeabab5
2014-09-22 15:31:22.3289 Debug - HttpServer: HTTP SUBSCRIBE http://192.168.2.2:8096/mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
 Ip: 192.168.2.48:56662. Headers: HOST=192.168.2.2:8096,SID=uuid:57cedb9436da48d5922d01d8745693a7,TIMEOUT=Second-1801
2014-09-22 15:31:22.3289 Error - DtoUtils: ServiceBase<TRequest>::Service Exception
 Event with Id uuid:57cedb9436da48d5922d01d8745693a7 not found.
 MediaBrowser.Common.Extensions.ResourceNotFoundException
    at MediaBrowser.Dlna.Eventing.EventManager.GetSubscription(String id, Boolean throwOnMissing)
    at MediaBrowser.Dlna.Eventing.EventManager.RenewEventSubscription(String subscriptionId, Nullable`1 timeoutSeconds)
    at MediaBrowser.Dlna.Service.BaseService.RenewEventSubscription(String subscriptionId, Nullable`1 timeoutSeconds)
    at MediaBrowser.Api.Dlna.DlnaServerService.ProcessEventRequest(IEventManager eventManager)
    at lambda_method(Closure , Object , Object )
    at ServiceStack.Host.ServiceRunner`1.Execute(IRequest request, Object instance, TRequest requestDto)
 
2014-09-22 15:31:22.3289 Error - HttpServer: Error processing request for /mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events
 Event with Id uuid:57cedb9436da48d5922d01d8745693a7 not found.
 ServiceStack.HttpError
 No Stack Trace Available
 
2014-09-22 15:31:22.3445 Error - NotFoundHttpHandler: 192.168.2.2:8096 Request not found: /mediabrowser/dlna/contentdirectory/dd3808bc7523eca1cafd3f722a8a8fb5/events

Edited by SHSPVR
Link to comment
Share on other sites

  • 5 months later...
coldhammer

just got MBS running on my hopper but im not sure if im seeing the correct behavior. I have three views movies, tv, anime. However when i bring up MB in the hopper it only shows me directories for movies and tv. I do see that my anime has been lumped in with my regular tv shows under the tv directory. Is this the correct behavior? My expectation is that i would see a different directory that matches each defined view within the webgui.

Link to comment
Share on other sites

SHSPVR

just got MBS running on my hopper but im not sure if im seeing the correct behavior. I have three views movies, tv, anime. However when i bring up MB in the hopper it only shows me directories for movies and tv. I do see that my anime has been lumped in with my regular tv shows under the tv directory. Is this the correct behavior? My expectation is that i would see a different directory that matches each defined view within the webgui.

That the case with the hopper

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...