From the website (http://ushare.geexbox.org/): uShare is a UPnP (TM) A/V & DLNA Media Server. It implements the server component that provides UPnP media devices with information on available multimedia files. uShare uses the built-in http server of libupnp to stream the files to clients. Reproducible: Always
Created attachment 130960 [details] ushare-1.0.ebuild
Created attachment 130961 [details] ushare.conf.d
Created attachment 130963 [details] ushare.init.d
Thanks , working with my xbox 360
one comment i just found, i would like to add the the following to the conf.d and the appropiate tag in the init.d (-p flag) to keep the random port from coming up on each reboot. # Port to listen to (default is random from IANA Dynamic Ports range) USHARE_PORT=49200
Latest release of uShare is 1.1a. ChangeLog: * Support for XboX 360 dashboard Fall Update (.avi and .divx now are supported) * DLNA support is not enabled by default, as not mandatory. * Some configure script fixes and better support for cross-compilation. * Fixed network interface discovery on MacOSX. * Much more complete DLNA support through external libdlna. * Telnet Control interface. * Support for FLAC and HDMOV files. * FreeBSD 64bit and MacOSX build fix. * Newly written configure script.
A friend of mine ask me to fix the ebuilds so they can work with 1.1a so after search about the program I have new ebuilds to work with 1.1a. Short summary about the changes: - ushare now has two use flags: nls and dlna. - dlna provides support for the open-source implementation of DLNA (Digital Living Network Alliance) via libdlna. - New USHARE_USER variable has been added to conf.d/ushare. This variable tells the init script to run ushare under non-root account. If no user is provided, root will be used then. - Content about using an specific port and disable telnet control has been added to conf.d/ushare under misc section. Some ebuild related information: - econf is no longer working in both ebuilds. They need a manual oonfigure. - Init script checks if USHARE_DIRS is empty and stop the booting. Ushare won't boot without this information. - Problems while crosscompiling may appear, sorry but don't have time nor enviroment to check. Sorry but I can't maintain the ebuild in the tree since I've never used it. Hope the ebuilds can help the rest of you.
Created attachment 139846 [details] ushare-1.1a.ebuild
Created attachment 139848 [details] ushare.init.d
Created attachment 139850 [details] ushare.conf.d
*** Bug 204010 has been marked as a duplicate of this bug. ***
It should depend on bug 204007 for the use of dlna. I don't want it to run as root, ever. So forcing it to run under ushare is the way to go IMHO.
I have an annoying bug with this. Basically it works fine -once-. So say I watch a few videos on my XBox then turn it (the XBox) off. When I turn the XBox back on and try to connect again it just times out and can't connect, but the uShare process on the server is still running.
Created attachment 177622 [details] ushare-1.1a.ebuild (media-libs/libdlna) Fixed dependency dev-libs/libdlna -> media-libs/libdlna.
Development is halted. Website states: "By lack of spare time, motivation and interest, uShare development is currently discontinued (this may change though). Don't expect release anytime soon :-("
Just a word of advice, I switched to "Coherence" which basically does the same thing but without the issues I had with uShare. So that's there if someone needs an alternative.
Created attachment 211333 [details] net-misc/ushare-1.1a.ebuild creates user ushare, builds correctly, installs man page
Created attachment 211334 [details] net-misc/ushare/files/ushare.conf.d added additional options
Created attachment 211336 [details] net-misc/ushare/files/ushare.init.d implements the additional options from conf.d
in gentoo-x86 tree. Big thanks to all the contributors on this bug!
Unknown option "--enable-nls". NLS flag seems to be bugged.