mpTinoMediaServer beta (1 Viewer)

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
wmp does a search request on all mediaobject.videoitem/musicitem for the different part of library. it only does this once, if it fails it never tries again untill upnp server is rebooted.

it then uses the metadata provided to show the items in corresponding areas (genre, title...).

I hacked support for this search request into xbmc, then it works very nicly for music, but video's for some reason f's up the title and breaks the urlencoding of the provided url :/.
 

Kaoh

Portal Pro
September 11, 2006
244
28
Home Country
Netherlands Netherlands
Example:

mpTino:
http-get:*:audio/mpeg:*"

nero Home Media:
http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_OP=01;DLNA.ORG_CI=0

Can you see what the nero home media thing is giving as info on the containers?
Cause as far as I can tell I can without any problem add all the DLNA stuuf to the audio items but mediaplayer just wont even navigate there. So something about teh containers must be different also.

What I see using media players own server part, it gives on the containers a long list of upnp:searchClass properties.
And my UPnP class for containers is object.container:storageFolder, theirs is only object.container.

On item level I see indeed that the protocolInfo property contains the DLNA stuff that was mentioned.

@elupus: How did you build that support? Is adding those properties to my containers enough or does it need more?
 

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
windows media player needs no dlna tags at all. (atleast it doesn't for me).

what it does do however is issue upnp an upnp search (mind you this is not the normal upnp browse request starting from objectid 0).
it searches for all all video (or music/picture) items in the db in one single request. then handles everything else itself. you don't need to implement full search functionallity, just parse it enough to understand what it's looking for, then return all items.
 

Kaoh

Portal Pro
September 11, 2006
244
28
Home Country
Netherlands Netherlands
hmmm, lets see how to do that using the Intel UPnP framework. But thanks, that saves me hours on trying to add all kinds of properties that are useless ;)
 

Gamester17

Portal Pro
May 12, 2004
98
3
Sweden
Home Country
Sweden Sweden
Regarding DNLA (Digital Living Network Alliance) compliance. One could buy the full guidelines (including protocol specifications, etc.) but they are $500 without becoming a DNLA member. There are some overviews here of what those guidelines cover:
http://www.dlna.org/en/industry/guidelines/
http://www.dlna.org/en/industry/about/

Intel does however provide a free tool called Intel® Digital Home Device Code Wizard, that "generates reference source code for use in building products based on the DLNA expanded guidelines. Includes reference source code for all DLNA expanded device classes and capabilities! For anyone building digital home products based on the expanded DLNA guidelines, there is no quicker way to a functional product than to start with the Intel® Digital Home Device Code Wizard!"
http://www.intel.com/cd/ids/developer/asmo-na/eng/downloads/upnp/tools/index.htm

Also, I found this free tool, QualityLogic Digital Home NetAnalyzer DL, which allows for an "efficient way to analyze Ethereal® traces of DLNA® sessions":
http://www.qualitylogic.com/genoa_test_tools/digital_home/dh_netanalyzer_dl.html
http://www.qualitylogic.com/forms/free_download.html
 

Kaoh

Portal Pro
September 11, 2006
244
28
Home Country
Netherlands Netherlands
hmm, yeah, about that. You may guess, or ill buy this documentation... or ill spend the money on racing the circuits in a Lamborghini... though choice....

If it cant be solved with the intel UPnP stuff it will not be in this product ;)
 

elupus

Portal Member
July 14, 2007
17
0
Home Country
Sweden Sweden
i'm very sure it can be solved with intel stuff. it's a standard thing in upnp. i hacked the support like this..
if(searchCriteria.Find("""object.item.audioItem""") >= 0)
return OnBrowseDirectChildren(action, "musicdb://4", info);
else if(searchCriteria.Find("""object.item.videoItem""") >= 0)
return OnBrowseDirectChildren(action, "videodb://1/2", info);

Ie I don't even care about parsing the search string. i think it looks something like "upnp:eek:bjecttype = object.item.videoItem and refid not exist" ( don't remember the exact syntax )
 

Gamester17

Portal Pro
May 12, 2004
98
3
Sweden
Home Country
Sweden Sweden
feel like having ago att adding one to the tvserver?
yeah, streaming live TV and changing channels via UPnP would be great, as requested previous here (by myself):
https://forum.team-mediaportal.com/upnp_support_universal_plug_and_play-t1037.html

I think it would also be a great idea to use the UPnP standards for all communications betweeen between MediaPortal front-end (the GUI = client-side) and the back-end (the TV Server 3 Engine = server-side). That way MediaPortal's front-end GUI could fully control MediaPortal's back-end TvServer, as well as any other third-party UPnP MediaServers like a media extender, ...just as any third-party UPnP MediaRenderer/ControlPoint devices and software could fully control MediaPortal's back-end TvServer3 via UPnP.

This would requite full UPnP implementations into MediaPortal's frontend and backend (or plugins for them):
- UPnP MediaServer DCP.
- UPnP ControlPoint (UPnP client, ie. the a 'master' device).
- UPnP MediaRenderer DCP (the 'slave' device that can render content).
- UPnP RenderingControl DCP.
- UPnP Remote User Interface (RUI) client and server.

If you like extra credits there is also a theird-party extention of the UPnP specifications called Web4CE (CEA-2014) which is a Web-based Protocol and Framework for Remote User Interface on UPnP, that allows a UPnP-capable home network device to provide its interface (display and control options) as a Web page to
display on any other device connected to the home network. That means that you can control a home networking device through any browser-based communications method for CE devices on a UPnP home network using ethernet and a special version of HTML called CE-HTML.
http://www.ce.org/standards
 

Kaoh

Portal Pro
September 11, 2006
244
28
Home Country
Netherlands Netherlands
since you are about this upnp stuff. feel like having ago att adding one to the tvserver?

Ill give it a quick try sometime, but only if it is easy ;) since I have no use for it :p And my time is so limited also.
 

Users who are viewing this thread

Top Bottom