Quote from: AndersF on November 28, 2007, 09:34:50How about setting up the UPNP protocol on the server plugin? Should also do the trick, but for sure a bit more tricky than on the client.Quote from: avvdr on November 27, 2007, 20:14:47Quotevomp has an own limited - but very functional, stable and fast GUI application. How should the UPnP fit into this?I got the impression that the Vomp Media player browsed a file system (NFS mounted or locally stored)
If it was then djmount would have made it transparent to Vomp whether UPNP was used or not, since the interface to djmount is the file system.
Vomp client doesn't do any NFS or similar things. Vomp client gets the data directly from the serverplug-in within an own protocol (binary for sure, the client needs to be highly efficient). The server plugin gets the data from the local FS, which could for sure be a mounted NFS directory.
This avoids having a full blown UPNP implementation on the client.
But for sure, some code exists already for the MVPMC project (MythTV as server). Similar project, but different codebase. Only some structures are equal.
Till some months ago, we couldn't use UPNP because of the kernel/compiler dependencies, which is now solved (but still patches are needed for the kernel AFAIK). So basically if you want to have a look into code merge from MVPMC there is a starting point.
Code:
The client has a lot of sourcecode, but not the server. As the server is one side of the protocol, it's much easier to look at and find the relevant things.
I don't think it's too much to read and understand (but for sure I didn't do that yet in detail - I'm not working with the protocol stuff).