Announcing version 0.3.0 of media-service-upnp
by Mark D Ryan
Hi All,
Version 0.3.0 of media-service-upnp has been released.
The source can be downloaded from github
( https://github.com/01org/media-service-upnp/tarball/v0.3.0 )
The main changes are
version 0.3.0
- Implemented the Update method which allows server side object
meta data to be added, updated and deleted.
https://github.com/01org/media-service-upnp/pull/98
- Unsubscribe to service notifications when a context is lost.
This is necessary to fix a bug reported by the UPnP test tool.
- Fixed a few problems with the API.txt file.
The following people contributed to the release
Christophe Guiraud <christophe.guiraud(a)intel.com>
Regis Merlino <regis.merlino(a)intel.com>
Mark Ryan <mark.d.ryan(a)intel.com>
Regards,
Mark
8 years, 4 months
Announcing versions 0.2.0 and 0.2.1 of media-service-upnp
by Mark D Ryan
Hi All,
Versions 0.2.0 and 0.2.1 of media-service-upnp have been released.
The source can be downloaded from github
( https://github.com/01org/media-service-upnp/tarball/v0.2.1 )
( https://github.com/01org/media-service-upnp/tarball/v0.2.0 )
The main changes are
version 0.2.1
- Added missing soup dependencies to the main Makefile.am.
version 0.2.0
- Completed implementation of Upload. It is now possible to
upload files to remote DMSs, both to specific directories and to
the AnyContainer ( if it is supported by your DMS ) . Methods
have also been added to allow clients to cancel uploads and to
monitor their progress.
https://github.com/01org/media-service-upnp/issues/34
- DMS objects and containers can now be deleted.
https://github.com/01org/media-service-upnp/issues/35
- Containers can now be created on remote DMSs.
https://github.com/01org/media-service-upnp/issues/43
- New properties have been added to provide more information about
media objects exposed by DMSs:
- DLNAManaged indicates which actions can be performed on an object,
e.g., upload, delete, etc.
https://github.com/01org/media-service-upnp/issues/36
- Creator which indicates the creator of the content.
- CreateClass which identifies the type of objects that can be
created in a given container.
https://github.com/01org/media-service-upnp/issues/45
- The Artists property has been added to org.gnome.UPnP.MediaItem2.
Artists is an array of all the artists who worked on the object.
- The com.intel.UPnP.MediaDevice interface exposes some additional
properties that inform clients about the optional features supported
by DMSs. These include:
- DLNACaps indicating the DLNA OCM operations supported by the
server.
- FeatureList containing the list of features, e.g., BOOKMARK, EPG,
supported by the server.
- SortCaps and SortExt Caps indicating the sorting capabilities of
the server.
- SearchCaps indicating the searching capabilities of the server.
- See https://github.com/01org/media-service-upnp/issues/24 for more
details
- Some new methods and properties have been added to
com.intel.UPnP.MediaDevice for ContentSync:
- The System ID property
https://github.com/01org/media-service-upnp/issues/38
- GetSystemResetToken
https://github.com/01org/media-service-upnp/issues/46
- The method com.intel.MediaServiceUPnP.PreferLocalAddresses has been
added. This is useful for writing DMCs. It allows DMCs to instruct
media-service-upnp to favour remote addresses.
https://github.com/01org/media-service-upnp/issues/21
The following people contributed to the release
Ludovic Ferrandis <ludovic.ferrandis(a)intel.com>
Christophe Guiraud <christophe.guiraud(a)intel.com>
Regis Merlino <regis.merlino(a)intel.com>
Mark Ryan <mark.d.ryan(a)intel.com>
Regards,
Mark
8 years, 4 months
How to start with dLeyna
by Oueslati, Hatem
Dear all,
Please find below a nice tutorial to help you getting started with dLeyna.
This will guide you through the installation and execution of the software stack and basic usages.
KR,
The dLeyna Team
-------------------------------------
How to start with dLeyna
Prerequisites:
- Linux Operating System (like Ubuntu, Fedora)
- 200MB of free space
- Internet connection
- git
Packages:
You need the following packages to build the dLeyna components:
gssdp
glib-2.0 >= 2.22
gobject-2.0 >= 2.22
gio-2.0 >= 2.22
libsoup-2.4 >= 2.26.1
gupnp
glib-2.0 >= 2.24.0
gio-2.0
gmodule-2.0
gssdp-1.0 >= 0.11.2
libsoup-2.4 >= 2.28.2
libxml-2.0
uuid >= 1.41.3
gupnp-av
gupnp-1.0 >= 0.17.0
gupnp-dlna
libxml-2.0 >= 2.5.0
gupnp-tools
gssdp-1.0 >= 0.10
gupnp-1.0 >= 0.13
gtk+-3.0 >= 3.0.0
gthread-2.0 >= 2.12
gnome-icon-theme >= 2.20
gio-2.0 >= 2.12
gtksourceview-3.0 >= 3.0.0
gupnp-vala
gssdp-1.0 >= 0.11.0
gssdp-1.0 >= 0.12.2
gupnp-1.0 >= 0.18.0
gupnp-av-1.0 >= 0.9.0
gupnp-dlna-1.0 >= 0.5.1
media-service-upnp and renderer-service-upnp
dbus-1
glib-2.0 >= 2.26.1
gio-2.0 >= 2.26.1
gupnp-1.0 >= 0.17.2
gupnp-av-1.0
libsoup-2.4
Rygel
gssdp-1.0 >= 0.11.0
gupnp-1.0 >= 0.17.1
gupnp-av-1.0 >= 0.9.0
gupnp-dlna-1.0 >= 0.5.0
gstreamer-0.10 >= 0.10.36
gstreamer-base-0.10 >= 0.10.36
gstreamer-pbutils-0.10 >= 0.10.35
gio-2.0 >= 2.26
gee-1.0 >= 0.5.2
uuid >= 1.41.3
libsoup-2.4 >= 2.34.0
Create your dLeyna and localinstall folders:
cd ~/dev
mkdir dleyna
cd dleyna
mkdir localInstall
mkdir localInstall/usr/
mkdir localInstall/usr/local
Clone sources:
git clone git://git.gnome.org/gssdp
git clone git://git.gnome.org/gupnp
git clone git://git.gnome.org/gupnp-av
git clone git://git.gnome.org/gupnp-tools
git clone git://git.gnome.org/gupnp-dlna
git clone git://git.gnome.org/gupnp-vala
git clone git://github.com/01org/media-service-upnp.git
git clone git://github.com/01org /media-service-demo.git
git clone git://github.com/01org /renderer-service-upnp.git
git clone git://git.gnome.org/rygel
Add some local compiling variables in your bashrc:
sudo gedit ~/.bashrc
Add the following lines at the end of the file:
#Some local compiling variables:
export LOCAL_PREFIX="/home/<your_home_directory>/dev/dleyna/localInstall/usr/local"
export LOCAL_OLDINCLUDEDIR="/home/<your_home_directory>/dev/dleyna/localInstall/usr"
export LOCAL_VALAFLAGS=--vapidir="$LOCAL_PREFIX"/share/vala/vapi
export LOCAL_INCLUDE_DIR="$LOCAL_PREFIX"/include
export LOCAL_LINK_DIR="$LOCAL_PREFIX"/lib
export LOCAL_CFLAGS="-I$LOCAL_INCLUDE_DIR"
export LOCAL_LDFLAGS="-Wl,-rpath=$LOCAL_LINK_DIR"
export LOCAL_PKG_CONFIG_PATH="$LOCAL_LINK_DIR"/pkgconfig/
export LOCAL_PKG_CONFIG_LIBDIR="$LOCAL_PREFIX"/share
export LOCAL_LD_LIBRARY_PATH=$LOCAL_LINK_DIR
export LOCAL_FLAGS="--prefix=$LOCAL_PREFIX --oldincludedir=$LOCAL_OLDINCLUDEDIR PKG_CONFIG_PATH=$LOCAL_PKG_CONFIG_PATH LDFLAGS=$LOCAL_LDFLAGS"
export XDG_DATA_DIRS=$XDG_DATA_DIRS:$LOCAL_PKG_CONFIG_LIBDIR
Save and close it.
Apply changes with:
source ~/.bashrc
Build:
You can first retrieve the number of processors :
alias N_PROCESSORS=`grep -c processor /proc/cpuinfo`
cd ~/dev/dleyna/gssdp
./autogen.sh $LOCAL_FLAGS
make -j`N_PROCESSORS`
make install
cd ../gupnp
./autogen.sh $LOCAL_FLAGS
make -j`N_PROCESSORS`
make install
Update path of girdir and typelibdir in the Makefile.am of libgupnp-av:
cd ../gupnp-av/libgupnp-av
sudo gedit Makefile.am
girdir = $(datadir)/gir-1.0
#girdir = $(INTROSPECTION_GIRDIR)
typelibdir = $(libdir)/girepository-1.0/
#typelibdir = $(INTROSPECTION_TYPELIBDIR)
Save and close it.
And build gupnp-av:
cd ..
./autogen.sh $LOCAL_FLAGS
make -j`N_PROCESSORS`
make install
cd ../gupnp-dlna
./autogen.sh $LOCAL_FLAGS
make -j`N_PROCESSORS`
make install
cd ../gupnp-tools
./autogen.sh $LOCAL_FLAGS
make -j`N_PROCESSORS`
make install
cd ../gupnp-vala
./autogen.sh $LOCAL_FLAGS
make -j`N_PROCESSORS`
make install
media-service-upnp:
cd ../media-service-upnp
autoreconf -i
./configure
make
sudo make install
renderer-service-upnp:
cd ../renderer-service-upnp
autoreconf -i
./configure
make
sudo make install
media-service-demo:
cd ../media-service-demo
sudo ./setup.py install
Rygel:
cd ../rygel
./configure $LOCAL_FLAGS --disable-tracker-plugin
make -j`N_PROCESSORS`
make install
Launch:
Launch the components you need from several Terminals, for example:
cd ~/dev/dleyna/media-service-upnp/
./media-service-upnp
cd ~/dev/dleyna/media-service-demo/src
./media-service-demo.py
cd ~/dev/dleyna/gupnp-tools/src/av-cp
./gupnp-av-cp
cd ~/dev/dleyna/rygel/src/rygel
./rygel
You should see something like this:
[cid:part1.02080800.06070309@intel.com]
Problems and Errors:
If you meet the following error when building Rygel:
"checking for valac... /usr/bin/valac
checking /usr/bin/valac is at least version 0.16.1... no
configure: error: Vala 0.16.1 not found."
Go to: https://live.gnome.org/Vala/Release
Download last version of vala and extract it.
cd ../vala-0.17.5/
./configure
make
sudo make install
Export Valac's path:
export VALAC="~/dev/vala-0.17.5/compiler/valac"
Build Rygel again.
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris,
92196 Meudon Cedex, France
Registration Number: 302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
8 years, 5 months