Jump to content

XBMC as receiver


steve1977

Recommended Posts

steve1977

XBMC has a feature to act as UPnP receiver. Was hoping that I can stream to it using the play-to function from MBS.

 

I somehow remember someone in this forum has succeeded doing so? Any advice how to make it happen? XBMC already shows up in the list of play-to devices, but the stream does not start when starting to play a movie.

Link to comment
Share on other sites

Spaceboy

Works for me with raspbmc with xbmb3c. I switched on everything in network. Appears as a dolma device

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

steve1977

Works for me with raspbmc with xbmb3c. I switched on everything in network. Appears as a dolma device

 

 

Sent from my iPhone using Tapatalk

 

Also appears for me as DLNA device, but it fails to play. Does this work for you and did you create a dedicated profile?

Link to comment
Share on other sites

Spaceboy

Created a profile but just copied the default and used the user-agent I got from the log. I posted it elsewhere, give us a sec

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Spaceboy

Ok seems I didn't even need to set a user agent. I've recently been using it to play music over dlna, previously I used xmb3c as the remote player for video. It worked, but I'm having other trouble with that one do not used for a while

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

you will need a profile because the default transcodes just about everything. basing it off the wdtv live one is a good start. please post the profile here and it can be included in a future server release

  • Like 1
Link to comment
Share on other sites

Spaceboy

Can have a look at this tomorrow, would you mind giving me some advice on why I can't get the sonos profile to work @@Luke? I've been trying with happy2play but seem to have hit a brick wall. Cheers

 

 

Sent from my iPhone using Tapatalk

  • Like 1
Link to comment
Share on other sites

Spaceboy

its all setup but as with the Sonos profile MBS is not connecting the profile and the device. I can't get past this without the help I asked for. still trying myself though

Link to comment
Share on other sites

steve1977

Thanks. Appears you are a step further figuring it out. Hope Luke can share some guidance what you will have to do to have MBS match device and profile.

 

@@Luke

Link to comment
Share on other sites

Spaceboy

works for me, probably still needs some more detail. let me know what and i can make more changes

Edited by Spaceboy
Link to comment
Share on other sites

Happy2Play

@@Spaceboy are you sure this actually works with no Identification fields?  Could you post the DeviceDescription:
 section of the log if present.

Edited by Happy2Play
Link to comment
Share on other sites

Spaceboy

Sorry, there was. happy2play spotted some personal info in there so I deleted. It needs more work anyway, I'll take a look tonight. Not far away though I think

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Spaceboy

so in the log i see this:

 

2014-09-26 22:54:53.5376 Debug - Dlna: No matching device profile found. The default will need to be used.
2014-09-26 22:54:53.5376 Info - Dlna: No matching device profile found. The default will need to be used.
    DeviceDescription:
    FriendlyName: Bedroom
    Manufacturer:Team XBMC
    ManufacturerUrl:http://xbmc.org/
    ModelDescription:XBMC Media Center - Media Renderer
    ModelName:XBMC Media Center
    ModelNumber:13.2 Git:20140817-0f3db05
    ModelUrl:http://xbmc.org/
    SerialNumber:
2014-09-26 22:54:53.5376 Info - Dlna: DLNA Session created for Bedroom - XBMC Media Center

 

but replicating it into the profile doesn't change anything. i can play stuff but i get no control over it once its started and no info reported in the server

Link to comment
Share on other sites

Spaceboy

but elsewhere i see this 2014-09-26 23:17:24.7668 Debug - Dlna: No matching device profile found. The default will be used. User-agent: XBMC/13.2 Git:20140817-0f3db05 (Linux; Raspbian GNU/Linux 7 (wheezy); 3.12.21 armv6l; http://xbmc.org).

Link to comment
Share on other sites

Happy2Play

Try this.

 

  <Identification>
    <FriendlyName />
    <ModelNumber />
    <SerialNumber />
    <ModelName />
    <DeviceDescription />
    <ModelUrl />
    <Manufacturer>Team XBMC</Manufacturer>
    <ManufacturerUrl>http://xbmc.org</ManufacturerUrl>
    <Headers>

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

    </Headers>
  </Identification>

 

 

   DeviceDescription:
    FriendlyName: Bedroom
    Manufacturer:Team XBMC
    ManufacturerUrl:http://xbmc.org/
    ModelDescription:XBMC Media Center - Media Renderer
    ModelName:XBMC Media Center
    ModelNumber:13.2 Git:20140817-0f3db05
    ModelUrl:http://xbmc.org/
    SerialNumber:

General rule looks in the log if you match this info in a profile it will be found, but at least half the info is specific user input data like "Bedroom" was user input.  Not the same on every device.

 

ModelNumber I would guess is the XBMC version, won't be the same for everyone.

 

But for personal use all the info to make it work is listed.

 

Note: even if you have a profile some device have there own already coded. 

 

Example the Roku

Dlna: No matching device profile found. The default will be used. User-agent: Roku/DVP-5.5 (045.05E00415A)

Edited by Happy2Play
Link to comment
Share on other sites

Spaceboy

still looking at resolving this for dnla on raspbmc but i should say there is always the option of installing xbmbc3 and playing direct to that. needs no config and you get full control.

Link to comment
Share on other sites

Spaceboy

update, the profile is definitely working. everything plays to raspbmc over dnla (not xbmbc3) and my customisation is respected. the problem is you have no control in mb3. i believe its down to this error:

 

2014-09-28 16:55:07.5899 Debug - Dlna: Bedroom - Received PlayRequest: PlayNow
2014-09-28 16:55:07.6169 Debug - Dlna: Found matching device profile: Raspberry Pi
2014-09-28 16:55:07.6219 Debug - Dlna: Bedroom - Playlist created
2014-09-28 16:55:07.6219 Debug - Dlna: Bedroom - Playing 1 items
2014-09-28 16:55:07.6219 Debug - Dlna: Bedroom - SetAvTransport Uri: http://192.168.1.15:8096/mediabrowser/audio/8164d9f7b71fa4e0f4008ddb6267f330/stream.m4a?Params=8beb92e28ceb4e19013fd98d385b00c1;uuid:43955c9a-0349-a162-fd03-6a757f74cac1;8164d9f7b71fa4e0f4008ddb6267f330;true;;;;;;;;;;;0;;;; DlnaHeaders: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01D00000000000000000000000000000
2014-09-28 16:55:07.6219 Info - App: HttpClientManager POST: http://192.168.1.31:1758/AVTransport/43955c9a-0349-a162-fd03-6a757f74cac1/control.xml
2014-09-28 16:55:07.6689 Info - App: HttpClientManager POST: http://192.168.1.31:1758/AVTransport/43955c9a-0349-a162-fd03-6a757f74cac1/control.xml
2014-09-28 16:55:07.7160 Info - App: HttpClientManager POST: http://192.168.1.31:1758/AVTransport/43955c9a-0349-a162-fd03-6a757f74cac1/control.xml
2014-09-28 16:55:07.7681 Error - Dlna: Error reporting progress
    Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
    System.FormatException
     at System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
     at System.Guid.TryParseGuidWithDashes(String guidString, GuidResult& result)
     at System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
     at System.Guid..ctor(String g)
     at MediaBrowser.Server.Implementations.Session.SessionManager.<OnPlaybackProgress>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
     at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
     at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
     at MediaBrowser.Dlna.PlayTo.PlayToController.<_device_PlaybackProgress>d__16.MoveNext()

 

here we can see it sucesfully playing an alac file and it erroring on the progress back from raspbmc. this is the same as reported here http://mediabrowser.tv/community/index.php?/topic/9276-dlna-error-reporting-progress/

 

so i think more guidance is needed at this stage. cheers

Link to comment
Share on other sites

Happy2Play

@Luke - Does the DLNA Play to media progress come from the profile or the server?

Link to comment
Share on other sites

i'm not sure what exactly you're asking, but basically what's happening there is after playing something, we query the device to find out what it's doing, and the media Id it's giving us isn't matching what we've sent it. why still needs to be determined.

Link to comment
Share on other sites

steve1977

I am a bit lost. Are you saying that I can just install XBMC3C and then play-to via dlna will work? If that's the case, it should be easy for xnappo also to get the "normal" dlna working?

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...