UPnP and directory structure support

I have recently upgraded to 0.25, everything went smoothly however I use my PS3 to access MythTV via UPnP. Now that UPnP is integrated with MythVideo when a UPnP client accesses the Videos folder there is no longer any organisation, everything in MythVideo is just listed in one huge directory. With 300+ files stored in MythVideo that is very close to unusable, is there any way to get the new UPnP server to show subfolders? I saw a suggestion in Ticket #8801 ( http://code.mythtv.org/trac/ticket/8801 ) that directory structure support should be reconsidered, is that still on the cards?

On Sat, Apr 14, 2012 at 4:34 PM, Dylan Walkden <dylan [at] taylordcomp> wrote: > Cheers Gavin, > > I assume that is a yes to the directory support being on the > cards and a no to the possibility of the UPnP server displaying subfolders > at the moment?

Heh, sorry, I was using my cellphone. I expect that we will fix that issue in 0.26. At the moment, that is a known issue in 0.25, and I don't expect we'll keep it that way forever. _______________________________________________ mythtv-dev mailing list mythtv-dev [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-dev

No worries, I was just having a poke around in the source code myself to see if it was something I could contribute to. Is that an area you'd be open to a patch submission for? And if so is there any documentation on the data structures involved like UPnpCDSRootInfo, or would I be better off looking through the code in upnpcdstv.cpp to understand how it all comes together?

On Sat, Apr 14, 2012 at 4:34 PM, Dylan Walkden <dylan [at] taylordcomp> wrote: > Cheers Gavin, > > I assume that is a yes to the directory support being on the > cards and a no to the possibility of the UPnP server displaying subfolders > at the moment?

On Sat, Apr 14, 2012 at 7:12 PM, Dylan Walkden <dylan [at] taylordcomp> wrote: > No worries, I was just having a poke around in the source code myself to > see if it was something I could contribute to. Is that an area you'd be > open to a patch submission for? And if so is there any documentation on > the data structures involved like UPnpCDSRootInfo, or would I be better > off looking through the code in upnpcdstv.cpp to understand how it all > comes together?

Patches are always welcome. :) Unfortunately, there's not much if any docs to be had. Something we need to keep working on in the future. If you can hack it from reading through the code, you're well set, basically.

I've had a chance to have a good look through the source code, it all seems pretty straight forward but I was hoping someone could point me to a reference on the uPnP AV specifications, assume that's what we're using. I'd just like to get a bit more information on the difference between items, containers and keys. It would also be handy to know what can and can't be used for node ids and other things.

On Sat, Apr 14, 2012 at 7:12 PM, Dylan Walkden <dylan [at] taylordcomp> wrote: > No worries, I was just having a poke around in the source code myself to > see if it was something I could contribute to. Is that an area you'd be > open to a patch submission for? And if so is there any documentation on > the data structures involved like UPnpCDSRootInfo, or would I be better > off looking through the code in upnpcdstv.cpp to understand how it all > comes together?

Patches are always welcome. :) Unfortunately, there's not much if any docs to be had. Something we need to keep working on in the future. If you can hack it from reading through the code, you're well set, basically.

> I've had a chance to have a good look through the source code, it all seems > pretty straight forward but I was hoping someone could point me to a reference > on the uPnP AV specifications, assume that's what we're using. > I'd just like to get a bit more information on the difference between items, > containers and keys. It would also be handy to know what can and can't be used > for node ids and other things. >

The DLNA spec must be purchased to look at it, but the upnp spec is freely available at: