summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [Release] Version 0.1.0v0.1.0version-0-1-0Regis Merlino2013-06-032-1/+4
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Configuration] Post-release version bumpRegis Merlino2013-06-031-1/+1
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [Release] Version 0.0.1v0.0.1Regis Merlino2013-06-031-1/+3
| | | | Signed-off-by: Regis Merlino <regis.merlino@intel.com>
* [main] Connect SIGINT to default handlerJussi Kukkonen2013-05-031-0/+3
| | | | | | | | | 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>
* [GenericModel] Workaround a bug in python-gi 3.8Jussi Kukkonen2013-04-201-10/+24
| | | | | | | | | | | | | 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>
* [MainWindow] Set columns clickable only if they are sortableJussi Kukkonen2013-03-211-1/+8
| | | | | | | Fixes #24 (although whether "unclickable" means "greyed out" depends on the theme). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [UPnP] Add Server-abstraction, use it in MainWindowJussi Kukkonen2013-03-212-28/+37
| | | | | | | | 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>
* [Model] Reset requested range on flush()Jussi Kukkonen2013-03-211-0/+1
| | | | | | Without this flush() won't result in a re-fetch as it should. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [MainWindow] Set "dLeyna-control" as the window titleJussi Kukkonen2013-03-201-1/+1
| | | | | | Fixes #15. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [UPnP] Do not make duplicate found_server_callback() callsJussi Kukkonen2013-03-191-10/+5
| | | | | | | | | | Use the same code for GetServers() callback and the FoundServer handler: GetServers() code path wasn't checking for existing servers, so duplicates could appear with good timing. Also mark signal handlers as 'private' methods. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Gtk] Upgrade to Gtk+3, GStreamer 1.0 and python-giJussi Kukkonen2013-03-187-175/+196
| | | | | | | | | | | | This includes: * Player (manual) drawing changed to use Cairo * GenericModel now directly inherits from TreeModel * lots of syntax changes Fixes #13. Fixes #14. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [GenericModel] Add abstract GenericModel._fetch_items()Jussi Kukkonen2013-03-183-5/+8
| | | | | | This seems like a good practice and silences a pychecker warning. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [UPnP] Call found_server callback on GetServers() resultsJussi Kukkonen2013-03-121-0/+2
| | | | | | | | This was not needed before as GetServers() results were always handled in __init__() -- so no callbacks could yet exist. Now with asynchronous GetServers() handling this is no longer true. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [UPnP] Handle GetServers() asynchronouslyJussi Kukkonen2013-03-091-5/+9
| | | | | | | | The call won't take long normally, and the app isn't really useful until it returns. Nevertheless, D-Bus calls should still be asynchronous. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Model] auto-load items also when max_items is not knownJussi Kukkonen2013-03-072-15/+25
| | | | | | | | | | This mostly removes special casing for the servers that do not support max_items: the code already works quite well for them. Add GenericModel.length_is_known() so we can still do the most efficient thing with better servers. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Browse] Use the GenericModel for BrowseJussi Kukkonen2013-03-074-244/+68
| | | | | | | | | | This removes a lot of duplicate code and makes Browse perform as well as Search. Note that BrowseModels are discarded as soon as the view changes to another "directory" (BrowseModel). Caching could be added later on. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Model] Add "static rows" in the modelJussi Kukkonen2013-03-071-8/+19
| | | | | | | | | This allows inserting a static row into the model. It will be inserted before the actual search/browse results. This is useful for BrowseModel that wants to edd e.g. ".."-row for moving up a directory Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Model] stop fetching if all results have been fetched alreadyJussi Kukkonen2013-03-071-1/+4
| | | | | | This will skip one useless search/browse call in some cases. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Model] Name column indexesJussi Kukkonen2013-03-072-11/+17
| | | | | | | This makes it easier to change the model without breaking things outside the model. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Search] Refactor: separate generic model code from searchJussi Kukkonen2013-03-072-255/+290
| | | | | | | | | | Create a new GenericModel class and put most of SearchModel code there. Subclass SearchModel from GenericModel. Later we can use GenericModel for BrowseModel as well, removing duplicate code. No functional changes. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Player] Move play-pause-button next to the progress scaleJussi Kukkonen2013-03-061-4/+6
| | | | | | Change is a purely visual one. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Player] Create the adjustment like other widgetsJussi Kukkonen2013-03-061-17/+10
| | | | | | | Create the adjustment on init(), only do set_upper() when duration is available. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Player] Fix seekingJussi Kukkonen2013-03-061-8/+6
| | | | | | | | | Do seeks so that the UI doesn't block. Enable seeking while playing. Fixes #3 Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Player] Update UI based only on gstreamer stateJussi Kukkonen2013-03-061-34/+43
| | | | | | | This is simpler and less error-prone than doing it both from gstreamer and UI event handlers. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Player] Remove Stop-buttonJussi Kukkonen2013-03-061-32/+17
| | | | | | | | Remove "Stop" button: it does not give the user much added value and the relation to pause is not clear to many people (this is why most modern players do not use it). Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [player] Use buttons with stock media imagesJussi Kukkonen2013-03-061-19/+26
| | | | | | Also use a play/pause button instead of separate ones Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Search] Refactor: implement asynchronous searchJussi Kukkonen2013-03-063-83/+233
| | | | | | | | | | | | | | | | To prevent UI from blocking and to prevent excessive searches, the custom model needs to be refactored to not do synchronous searches in on_get_value(). This is achieved by * adding SearchModel.set_request_range() so the view can inform the model of the required rows * Adding a dict-based cache for the search results * Adding row-inserted/changed/deleted signals to the model Fixes #2 Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Rename] Rename to dleyna-controlJussi Kukkonen2013-03-0111-36/+36
| | | | | | | | | | | dleyna code is being restructured as decided in https://lists.01.org/pipermail/dleyna/2013-February/000099.html, as a result it makes sense to rename media-service-demo to dleyna-control and move the code from git://github.com/01org/media-service-demo.git to git://github.com/01org/dleyna-control.git Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
* [Search] Fix: Filter out Reference ItemsLudovic Ferrandis2012-09-211-1/+2
| | | | | | Fix https://github.com/01org/media-service-demo/issues/1 Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [FIX] Increment timeout when getting imagesLudovic Ferrandis2012-09-191-1/+1
| | | | Signed-off-by: Ludovic Ferrandis <ludovic.ferrandis@intel.com>
* [General] Initial CommitMark Ryan2012-06-0815-0/+1844
Signed-off-by: Mark Ryan <mark.d.ryan@intel.com>