[MainWindow] Set "dLeyna-control" as the window title

Fixes #15.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[Model] Reset requested range on flush()

Without this flush() won't result in a re-fetch as it should.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[UPnP] Add Server-abstraction, use it in MainWindow

Add the whole Server-object into the server-liststore:
This way we don't need to add new columns when we need to use new
properties like SortCaps.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[MainWindow] Set columns clickable only if they are sortable

Fixes #24 (although whether "unclickable" means "greyed out" depends
on the theme).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[GenericModel] Workaround a bug in python-gi 3.8

Recent python GI wrappers have a bug where Gtk.TreeIter.userdata
cannot hold value 0 (it will become None). Workaround by setting
'value+1' and getting 'value-1'.

See https://bugzilla.gnome.org/show_bug.cgi?id=698366 for the
python-gi bug.

Fixes #36.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[main] Connect SIGINT to default handler

The GTK main thread won't handle keyboard interrupt by default:
https://bugzilla.gnome.org/show_bug.cgi?id=622084

Bind SIGINT to SIG_DFL manually so ctrl-c works.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[Release] Version 0.0.1

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Configuration] Post-release version bump

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Release] Version 0.1.0

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[Configuration] Post-branch version bump

Signed-off-by: Regis Merlino <regis.merlino@intel.com>
[MainWindow] Accept content type "Music" as well

MediaObject2 spec has been changed so "audio.music" type is now
"music". We should try to play both types.

Fixes #8. Note that actual fixes need to happen on dleyna-server
side: This just makes dleyna-control accept all legal values of
"Type".

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
[Search] Partial fix for bug #38

- Removed a trailing space in front of the search string.  This
  was causing problems for minidlna.
- dleyna-control no longer issues a search if the search string is
  empty, i.e., images, audio and video are unselected.  The old code
  was causing an invalid query to be sent which was generating an error
  in rygel can causing weird behaviour in minidlna.

Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>