Jump to content

Client/Renderer protocols - is this feasible?


cfineman

Recommended Posts

cfineman
Recently I've been toying with the idea of an OPPO player. Been using MB3 on an HTPC for a while but, for a variety of reasons, the idea of using the OPPO as a network player is pretty compelling to me.

Having said that, there are a few warts in what DLNA can do (either intrinsically because of the specification or due to OPPO's specific implementation).

 

The MB3 android client is really coming along nicely and I don't want to give up the rich metadata driven experience however it's still "limited" to DLNA pushing afaik. From what I've gathered, many of the shortcomings of the OPPO's DLNA integration are overcome by accessing media items via SMB. I've seen mention of a REST API hosted in the OPPO's on-unit HTTP Server. Assuming such a thing truly exists (got more research to do there... starting with OPPO), do any of you guys have a sense of what it would take to change the DLNA "PlayTo" command to issue something like "PlayFrom //some/smb/served/path" against the OPPO's api? I'm sure there's more that would have to be done to complete the experience (e.g. the additional control point features like pause, FFWD, skip) but one step at a time.

 

Not sure I've got the time for such a project right now but I'm curious nonetheless. I'm a SWE so I'm tempted to start poking around the code base but before I even go down that path I wanted to run it by you guys since you've been hip deep in this stuff for a while and this is, at best, a half-baked thought that popped into my head earlier today when I saw the reference to the OPPO's REST api.
Edited by cfineman
Link to comment
Share on other sites

  • 1 month later...

I didn't have time for that same project.  It was a while ago now that I used various tools to essentially capture the packets  between Oppo Media Control (on an iPad) and the Oppo.

 

There are a couple basic things I wish the Oppo supported as a DMR:

 

Chapter Skip +/-

Forced subtitles (PGS subs)

 

You can use Chapter Skip if you use the "Goto" button on the Oppo.  It's a bit of a pain to have to do it that way but it works.

 

As for subtitles - they simply won't work when pushing content to the Oppo.

 

When pulling content from a DLNA server, The Oppo will support SUB subtitles in an MKV, but then you need to demux/transcode/remux the PGS subs back into the MKV which is just too time consuming, even if you automate the process (somewhere I had a python program to do some of it).

 

It would be nice if Oppo supported something other than Gracenote since Gracenote is terrible for Video and pretty much doesn't support TV shows.

 

If you are an SWE, I suppose you could go grab the APK for the Media Control App and Android which you can download directly from Oppo.  It's just Java and there are plenty of options to de-compile it.

 

Try this (NOTE: HTPC is what my HTPC is called):

 

http://[oppo IP address]/getmainfirmwareversion

 

Some others I had noted but I can't find my complete list.  The query string is encoded JSON and the responses are in JSON as well...

 

/loginSambaWithOutID?{"serverName":"HTPC"}

 

/getSambaShareFolderList

 

/mountSharedFolder?{"server":"HTPC","bWithID":false,"folder":"G","userName":"admin","password":"admin","bRememberID":false}

 

/getfilelist?{"mediatype":3,"filetype":0,"path":"/mnt/cifs1"}

 

/playnormalfile?

{"type":1,"extraNetPath":"HTPC","appDeviceType":7,"path":"/mnt/cifs1/Movies/Back to the Future Part II (1989).mkv","index":3}

Link to comment
Share on other sites

Redshirt

Not sure I'm following the gist of the original post, but the android client is able to receive play requests as well as send them to other clients. The feature is broken in current release due to the library changes, but it's fixed in the currently testing beta builds.

Link to comment
Share on other sites

  • 6 years later...

Hi, is the Emby Server on the same local network as the Oppo? If yes, then you could send a remote control command to the Emby Server API to play to the Oppo:

https://github.com/MediaBrowser/Emby/wiki

This assumes that Emby Server has already detected the Oppo, and it being visible in the "Play On" menu.

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