gupnp:gupnp-tools.git
10 years ago0.4 gupnp-tools-0.4
Jorn Baayen [Mon, 19 May 2008 20:34:04 +0000 (20:34 +0000)]
0.4

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@964 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRequire the correct version of gupnp.
Zeeshan Ali [Thu, 15 May 2008 16:09:20 +0000 (16:09 +0000)]
Require the correct version of gupnp.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@956 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoPrepare NEWS file for release.
Zeeshan Ali [Thu, 15 May 2008 16:09:11 +0000 (16:09 +0000)]
Prepare NEWS file for release.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@955 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd iterative browsing support.
Zeeshan Ali [Sun, 4 May 2008 17:29:41 +0000 (17:29 +0000)]
Add iterative browsing support.

Request 64 objects of a container, at a time and keep browsing till we get all
objects.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@909 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUpdate soup_session_queue_message() callback signature according to the new API.
Zeeshan Ali [Wed, 16 Apr 2008 21:55:55 +0000 (21:55 +0000)]
Update soup_session_queue_message() callback signature according to the new API.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@869 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years ago2008-04-15 Jorn Baayen <jorn@openedhand.com>
Jorn Baayen [Mon, 14 Apr 2008 21:58:50 +0000 (21:58 +0000)]
2008-04-15  Jorn Baayen  <jorn@openedhand.com>

* configure.ac:
* src/common/icons.c (get_icon_from_message),
(schedule_icon_update), (unschedule_icon_update), (deinit_icons):
* src/universal-cp/details-treeview.c (show_service_details),
(show_device_details):

Port to libsoup 2.4.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@863 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUpdate NEWS and README files for next (0.3) release. gupnp-tools-0.3
Zeeshan Ali [Tue, 1 Apr 2008 23:03:25 +0000 (23:03 +0000)]
Update NEWS and README files for next (0.3) release.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@857 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoBump-up the version.
Zeeshan Ali [Tue, 1 Apr 2008 22:26:45 +0000 (22:26 +0000)]
Bump-up the version.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@856 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRemove now useless FIXME comments.
Zeeshan Ali [Tue, 1 Apr 2008 21:27:52 +0000 (21:27 +0000)]
Remove now useless FIXME comments.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@854 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd icons to desktop entries.
Zeeshan Ali [Tue, 1 Apr 2008 00:00:19 +0000 (00:00 +0000)]
Add icons to desktop entries.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@853 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoCreate desktop files as part of build.
Zeeshan Ali [Tue, 1 Apr 2008 00:00:09 +0000 (00:00 +0000)]
Create desktop files as part of build.

Create desktop files as part of build to be able to substitute variables like
prefix in them.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@852 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoNo need to do any magic for being version agostic to services anymore.
Zeeshan Ali [Fri, 21 Mar 2008 14:38:18 +0000 (14:38 +0000)]
No need to do any magic for being version agostic to services anymore.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@851 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: _parse_didl() now returns a boolean and takes an error arg.
Zeeshan Ali [Sun, 16 Mar 2008 00:04:39 +0000 (00:04 +0000)]
API update: _parse_didl() now returns a boolean and takes an error arg.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@841 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: "instance-id" is no longer a property of parser object.
Zeeshan Ali [Sun, 16 Mar 2008 00:04:31 +0000 (00:04 +0000)]
API update: "instance-id" is no longer a property of parser object.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@840 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUse generic getters for 'res' property and it's attributes.
Zeeshan Ali [Sun, 16 Mar 2008 00:04:22 +0000 (00:04 +0000)]
Use generic getters for 'res' property and it's attributes.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@839 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: Use specific getters for basic DIDL props.
Zeeshan Ali [Sun, 16 Mar 2008 00:04:14 +0000 (00:04 +0000)]
API update: Use specific getters for basic DIDL props.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@838 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: Use generic getters for standard DIDL props.
Zeeshan Ali [Tue, 11 Mar 2008 12:30:20 +0000 (12:30 +0000)]
API update: Use generic getters for standard DIDL props.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@832 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoBetter error handling in browse callbacks.
Zeeshan Ali [Tue, 4 Mar 2008 22:14:45 +0000 (22:14 +0000)]
Better error handling in browse callbacks.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@812 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: Use g_type_init() instead of gupnp_av_init().
Zeeshan Ali [Mon, 25 Feb 2008 23:17:39 +0000 (23:17 +0000)]
API update: Use g_type_init() instead of gupnp_av_init().

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@807 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: 'instance-id' is now a property of LastChange parser object.
Zeeshan Ali [Mon, 25 Feb 2008 23:17:30 +0000 (23:17 +0000)]
API update: 'instance-id' is now a property of LastChange parser object.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@806 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAPI update: We now need a LastChange parser for parsing LastChange events.
Zeeshan Ali [Mon, 25 Feb 2008 23:17:21 +0000 (23:17 +0000)]
API update: We now need a LastChange parser for parsing LastChange events.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@805 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoNo need to pass error argument to gupnp_service_proxy_begin_action*() anymore.
Zeeshan Ali [Sun, 24 Feb 2008 23:39:51 +0000 (23:39 +0000)]
No need to pass error argument to gupnp_service_proxy_begin_action*() anymore.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@799 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoHandle 'TRANSITIONING' state.
Zeeshan Ali [Sun, 24 Feb 2008 23:39:40 +0000 (23:39 +0000)]
Handle 'TRANSITIONING' state.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@798 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd tooltip to 'clear state' button.
Zeeshan Ali [Sun, 24 Feb 2008 23:39:32 +0000 (23:39 +0000)]
Add tooltip to 'clear state' button.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@797 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoDon't ref the service proxy upon adding a notify on it.
Zeeshan Ali [Sun, 24 Feb 2008 23:39:25 +0000 (23:39 +0000)]
Don't ref the service proxy upon adding a notify on it.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@796 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoSmall cleanup change.
Zeeshan Ali [Sun, 24 Feb 2008 23:39:17 +0000 (23:39 +0000)]
Small cleanup change.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@795 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoCorrect a typo in Seek implementation.
Zeeshan Ali [Thu, 14 Feb 2008 09:51:07 +0000 (09:51 +0000)]
Correct a typo in Seek implementation.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@779 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoTry to get the duration from item metadata.
Zeeshan Ali [Thu, 14 Feb 2008 09:50:59 +0000 (09:50 +0000)]
Try to get the duration from item metadata.

This is to deal with renderers that do not event 'CurrentMediaDuration' through
LastChange.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@778 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoNo need to create the resource hashtable, just use the resources GList.
Zeeshan Ali [Thu, 14 Feb 2008 09:50:50 +0000 (09:50 +0000)]
No need to create the resource hashtable, just use the resources GList.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@777 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoDon't keep the resource hashtable but rather create it on the fly when needed.
Zeeshan Ali [Thu, 14 Feb 2008 09:50:41 +0000 (09:50 +0000)]
Don't keep the resource hashtable but rather create it on the fly when needed.

Don't keep the resource hashtable in the playlist treemodel but rather create
it from metadata before setting the URI on the renderer.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@776 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoMove get_resource_hash() to gupnp-av and rename accordingly.
Zeeshan Ali [Thu, 14 Feb 2008 09:50:30 +0000 (09:50 +0000)]
Move get_resource_hash() to gupnp-av and rename accordingly.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@775 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoEnable the user to clear the state of the currently selected renderer.
Zeeshan Ali [Thu, 14 Feb 2008 09:50:14 +0000 (09:50 +0000)]
Enable the user to clear the state of the currently selected renderer.

This is useful in dealing with crapy renderers out there that don't emit
LastChange events for state changes.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@774 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRefactor: put the state setting into a separate function.
Zeeshan Ali [Thu, 14 Feb 2008 09:50:01 +0000 (09:50 +0000)]
Refactor: put the state setting into a separate function.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@773 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAbout dialog should have a '12' pixels wide border.
Zeeshan Ali [Thu, 14 Feb 2008 09:49:52 +0000 (09:49 +0000)]
About dialog should have a '12' pixels wide border.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@772 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoTake wildcard into account when matching ProtocolInfo.
Zeeshan Ali [Tue, 12 Feb 2008 00:47:27 +0000 (00:47 +0000)]
Take wildcard into account when matching ProtocolInfo.

Take wildcard into account when matching transport and content format fields of
ProtocolInfo.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@769 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRefer to the ProtocolInfo fields by terms used by UPnP AV specs.
Zeeshan Ali [Tue, 12 Feb 2008 00:47:14 +0000 (00:47 +0000)]
Refer to the ProtocolInfo fields by terms used by UPnP AV specs.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@768 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoImplement comparison of extra field of ProtocolInfo.
Zeeshan Ali [Tue, 12 Feb 2008 00:47:02 +0000 (00:47 +0000)]
Implement comparison of extra field of ProtocolInfo.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@767 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoPass arguments in correct order to ProtocolInfo comparison functions.
Zeeshan Ali [Tue, 12 Feb 2008 00:46:53 +0000 (00:46 +0000)]
Pass arguments in correct order to ProtocolInfo comparison functions.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@766 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoFix a typo.
Zeeshan Ali [Tue, 12 Feb 2008 00:46:41 +0000 (00:46 +0000)]
Fix a typo.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@765 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRefactor: Put the timeout adding code into a separare function.
Zeeshan Ali [Tue, 12 Feb 2008 00:46:26 +0000 (00:46 +0000)]
Refactor: Put the timeout adding code into a separare function.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@764 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUnit for 'Seek' is "ABS_TIME" rather than "TIME".
Zeeshan Ali [Mon, 11 Feb 2008 12:20:42 +0000 (12:20 +0000)]
Unit for 'Seek' is "ABS_TIME" rather than "TIME".

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@763 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoCorrect the signature of "value-changed" signal handler.
Zeeshan Ali [Mon, 11 Feb 2008 12:20:34 +0000 (12:20 +0000)]
Correct the signature of "value-changed" signal handler.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@762 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoBlock the signal handlers on the scales when the value is set by the app.
Zeeshan Ali [Mon, 11 Feb 2008 12:20:26 +0000 (12:20 +0000)]
Block the signal handlers on the scales when the value is set by the app.

Block the 'value-changed' signal handlers on the scales when the value
is changed by the application rather than user.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@761 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoImplement seeking.
Zeeshan Ali [Mon, 11 Feb 2008 12:20:17 +0000 (12:20 +0000)]
Implement seeking.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@760 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUpdate the controls when the renderer selection changes.
Zeeshan Ali [Mon, 11 Feb 2008 12:20:09 +0000 (12:20 +0000)]
Update the controls when the renderer selection changes.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@759 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRename update_playback_controls_sensitivity() to prepare_controls_for_state().
Zeeshan Ali [Mon, 11 Feb 2008 12:20:01 +0000 (12:20 +0000)]
Rename update_playback_controls_sensitivity() to prepare_controls_for_state().

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@758 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoTrack media position of currently selected renderer.
Zeeshan Ali [Mon, 11 Feb 2008 12:19:51 +0000 (12:19 +0000)]
Track media position of currently selected renderer.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@757 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoFix and refactor some bad code.
Zeeshan Ali [Mon, 11 Feb 2008 12:19:43 +0000 (12:19 +0000)]
Fix and refactor some bad code.

- No need to strdup() udn for each callback as the callback can get a const
  reference to udn from the service proxy, itself.
- Fix the proxy (un)ref'ing.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@756 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd function to set the position of position hscale.
Zeeshan Ali [Mon, 11 Feb 2008 12:19:35 +0000 (12:19 +0000)]
Add function to set the position of position hscale.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@755 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoTrack media duration instead of track duration.
Zeeshan Ali [Mon, 11 Feb 2008 12:19:26 +0000 (12:19 +0000)]
Track media duration instead of track duration.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@754 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep track of current track duration on each renderer.
Zeeshan Ali [Mon, 11 Feb 2008 12:19:17 +0000 (12:19 +0000)]
Keep track of current track duration on each renderer.

Keep track of current track duration on each renderer, both in
renderer treemodel and renderer control UI.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@753 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep the sensitivity of playback controls in sync with renderer state.
Zeeshan Ali [Sun, 3 Feb 2008 23:55:24 +0000 (23:55 +0000)]
Keep the sensitivity of playback controls in sync with renderer state.

Update the sensitivity of playback controls based on state of currently selected renderer.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@748 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoSet the renderer combo insensitive when state is PLAYING/PAUSED and viceversa.
Zeeshan Ali [Sun, 3 Feb 2008 23:55:14 +0000 (23:55 +0000)]
Set the renderer combo insensitive when state is PLAYING/PAUSED and viceversa.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@747 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoA small cosmetic change.
Zeeshan Ali [Sun, 3 Feb 2008 23:55:06 +0000 (23:55 +0000)]
A small cosmetic change.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@746 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUse glade for connecting all treeview signals.
Zeeshan Ali [Sun, 3 Feb 2008 23:54:57 +0000 (23:54 +0000)]
Use glade for connecting all treeview signals.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@745 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoPlay selected item on playlist row activation.
Zeeshan Ali [Sun, 3 Feb 2008 23:54:46 +0000 (23:54 +0000)]
Play selected item on playlist row activation.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@744 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoDo not allow selection of containers.
Zeeshan Ali [Sun, 3 Feb 2008 23:54:35 +0000 (23:54 +0000)]
Do not allow selection of containers.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@743 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoMark MediaServer as container.
Zeeshan Ali [Sun, 3 Feb 2008 23:54:27 +0000 (23:54 +0000)]
Mark MediaServer as container.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@742 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoSet the renderer's state to STOPPED if a non-item is selected while PLAYING.
Zeeshan Ali [Sun, 3 Feb 2008 23:54:19 +0000 (23:54 +0000)]
Set the renderer's state to STOPPED if a non-item is selected while PLAYING.

Set the renderer's state to STOPPED if a non-item is selected while
the renderer's state is set to PLAYING/PAUSED.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@741 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoMake av_transport_send_action() public.
Zeeshan Ali [Sun, 3 Feb 2008 23:54:10 +0000 (23:54 +0000)]
Make av_transport_send_action() public.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@740 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoget_selected_item() returns a boolean indicating success.
Zeeshan Ali [Sun, 3 Feb 2008 23:53:55 +0000 (23:53 +0000)]
get_selected_item() returns a boolean indicating success.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@739 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoListen to and act on Container updates.
Zeeshan Ali [Thu, 31 Jan 2008 22:49:40 +0000 (22:49 +0000)]
Listen to and act on Container updates.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@736 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRemove a FIXME comment that is not valid anymore.
Zeeshan Ali [Thu, 31 Jan 2008 22:49:26 +0000 (22:49 +0000)]
Remove a FIXME comment that is not valid anymore.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@735 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRefactor: Put the code to unpopulate a container node, into a separate function.
Zeeshan Ali [Thu, 31 Jan 2008 22:49:10 +0000 (22:49 +0000)]
Refactor: Put the code to unpopulate a container node, into a separate function.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@734 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoOnly free the metadata if we actually get it and unify come coding style.
Zeeshan Ali [Tue, 29 Jan 2008 23:14:01 +0000 (23:14 +0000)]
Only free the metadata if we actually get it and unify come coding style.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@730 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRef the service proxy before _begin_action() and unref it in callback.
Zeeshan Ali [Tue, 29 Jan 2008 22:52:36 +0000 (22:52 +0000)]
Ref the service proxy before _begin_action() and unref it in callback.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@729 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoContainers should only be browsed if they are visible.
Zeeshan Ali [Tue, 29 Jan 2008 22:52:28 +0000 (22:52 +0000)]
Containers should only be browsed if they are visible.

Containers should only be browsed if they are visible. This should
eliminate the problem of initial browsing taking down the whole
system.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@728 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoImplement volume control.
Zeeshan Ali [Tue, 29 Jan 2008 22:52:11 +0000 (22:52 +0000)]
Implement volume control.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@727 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd functions to get currently selected Renderer's RenderingControl and
Zeeshan Ali [Tue, 29 Jan 2008 22:52:03 +0000 (22:52 +0000)]
Add functions to get currently selected Renderer's RenderingControl and
volume.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@726 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoListen to 'value-changed' signal rather than 'change-value'.
Zeeshan Ali [Tue, 29 Jan 2008 22:51:53 +0000 (22:51 +0000)]
Listen to 'value-changed' signal rather than 'change-value'.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@725 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoThe update policy of GtkScale widgets should be 'discontinuous'
Zeeshan Ali [Tue, 29 Jan 2008 22:51:42 +0000 (22:51 +0000)]
The update policy of GtkScale widgets should be 'discontinuous'

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@724 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoSupply metadata to SetAVTransportURI action.
Zeeshan Ali [Mon, 28 Jan 2008 18:47:08 +0000 (18:47 +0000)]
Supply metadata to SetAVTransportURI action.

Supply metadata to SetAVTransportURI action and retrieve the metadata
on the fly each time before setting the URI.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@722 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoWork around for version-agnostic service proxy retreival/creation.
Zeeshan Ali [Mon, 28 Jan 2008 18:46:56 +0000 (18:46 +0000)]
Work around for version-agnostic service proxy retreival/creation.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@721 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoCompare individual parts of the res and protocol info.
Zeeshan Ali [Mon, 28 Jan 2008 18:46:42 +0000 (18:46 +0000)]
Compare individual parts of the res and protocol info.

Compare individual parts of the res and protocol info rather than
using glob pattern matching.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@720 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoSet the volume-vscale accordingly whenever renderer selection, changes.
Zeeshan Ali [Sun, 27 Jan 2008 23:23:54 +0000 (23:23 +0000)]
Set the volume-vscale accordingly whenever renderer selection, changes.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@719 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep the volume-vscale up2date with the volume of the renderer.
Zeeshan Ali [Sun, 27 Jan 2008 23:23:46 +0000 (23:23 +0000)]
Keep the volume-vscale up2date with the volume of the renderer.

Set the volume-vscale accordingly whenever the volume of the currently
selected renderer, changes.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@718 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep a reference to all renderer control widgets.
Zeeshan Ali [Sun, 27 Jan 2008 23:23:36 +0000 (23:23 +0000)]
Keep a reference to all renderer control widgets.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@717 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRemove some functions that got copied by mistake.
Zeeshan Ali [Sun, 27 Jan 2008 23:23:26 +0000 (23:23 +0000)]
Remove some functions that got copied by mistake.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@716 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep track of the Master volume of each MediaRenderer.
Zeeshan Ali [Sun, 27 Jan 2008 23:23:16 +0000 (23:23 +0000)]
Keep track of the Master volume of each MediaRenderer.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@715 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep the RenderingControl proxy in renderer combo as well.
Zeeshan Ali [Sun, 27 Jan 2008 23:23:07 +0000 (23:23 +0000)]
Keep the RenderingControl proxy in renderer combo as well.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@714 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoImplement next/prev controls (locally).
Zeeshan Ali [Sun, 27 Jan 2008 14:35:23 +0000 (14:35 +0000)]
Implement next/prev controls (locally).

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@713 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoCheck if we have a hashtable before unref'ing it.
Zeeshan Ali [Sun, 27 Jan 2008 14:35:12 +0000 (14:35 +0000)]
Check if we have a hashtable before unref'ing it.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@712 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoItem selection sets the URI on the renderer if it's in PLAYING/PAUSED state.
Zeeshan Ali [Sun, 27 Jan 2008 14:35:03 +0000 (14:35 +0000)]
Item selection sets the URI on the renderer if it's in PLAYING/PAUSED state.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@711 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd the forgotten renderer-controls.h file to build and VCS.
Zeeshan Ali [Sun, 27 Jan 2008 14:34:55 +0000 (14:34 +0000)]
Add the forgotten renderer-controls.h file to build and VCS.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@710 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoMake the AV URI setting function more generic and public.
Zeeshan Ali [Sun, 27 Jan 2008 14:34:46 +0000 (14:34 +0000)]
Make the AV URI setting function more generic and public.

Make the AV URI setting function more:
- generic (Takes Callback to call after URI is set)
- public.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@709 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoget_selected_item() returns the URI instead of resource_hash.
Zeeshan Ali [Sun, 27 Jan 2008 14:34:35 +0000 (14:34 +0000)]
get_selected_item() returns the URI instead of resource_hash.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@708 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUpdate according to the recent gupnp-av API changes.
Zeeshan Ali [Thu, 24 Jan 2008 00:20:41 +0000 (00:20 +0000)]
Update according to the recent gupnp-av API changes.

* src/av-cp/main.c:

Use UPnP types to differentiate the devices rather than GTypes.

* src/av-cp/playlist-treeview.c:
* src/av-cp/playlist-treeview.h:

- Use GUPnPDeviceProxy rather than now removed GUPnPMediaServerProxy.
- Move and adapt code from GUPnPMediaServerProxy for 'browse'.

* src/av-cp/renderer-combo.c:
* src/av-cp/renderer-combo.h:

Use GUPnPDeviceProxy rather than now removed GUPnPMediaRendererProxy.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@706 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoFix a small typo.
Zeeshan Ali [Wed, 16 Jan 2008 20:47:14 +0000 (20:47 +0000)]
Fix a small typo.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@684 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRefactor: Move the load_pixbuf_file() into common icon module and use
Zeeshan Ali [Sun, 13 Jan 2008 00:17:38 +0000 (00:17 +0000)]
Refactor: Move the load_pixbuf_file() into common icon module and use
that function in that module as well.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@671 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoAdd icons for universal-cp and av-cp.
Zeeshan Ali [Sun, 13 Jan 2008 00:17:16 +0000 (00:17 +0000)]
Add icons for universal-cp and av-cp.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@670 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoSubscribe to LastChange event to be notified of the state changes.
Zeeshan Ali [Mon, 31 Dec 2007 11:55:00 +0000 (11:55 +0000)]
Subscribe to LastChange event to be notified of the state changes.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@660 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoMove some static functions to the top of the file.
Zeeshan Ali [Mon, 31 Dec 2007 11:54:51 +0000 (11:54 +0000)]
Move some static functions to the top of the file.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@659 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoRefactor: Put all the code that sets the state in the treemodel into a separate function.
Zeeshan Ali [Mon, 31 Dec 2007 11:54:42 +0000 (11:54 +0000)]
Refactor: Put all the code that sets the state in the treemodel into a separate function.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@658 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoImplement get_selected_renderer_state().
Zeeshan Ali [Mon, 31 Dec 2007 11:54:33 +0000 (11:54 +0000)]
Implement get_selected_renderer_state().

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@657 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoUse 'AVTransport::GetTransportInfo' to retreive the state in the beginning.
Zeeshan Ali [Mon, 31 Dec 2007 11:54:24 +0000 (11:54 +0000)]
Use 'AVTransport::GetTransportInfo' to retreive the state in the beginning.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@656 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoKeep the av_transport's playback state in the treemodel.
Zeeshan Ali [Mon, 31 Dec 2007 11:54:15 +0000 (11:54 +0000)]
Keep the av_transport's playback state in the treemodel.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@655 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoGet/Create the av_transport proxy in the add_media_renderer().
Zeeshan Ali [Mon, 31 Dec 2007 11:54:07 +0000 (11:54 +0000)]
Get/Create the av_transport proxy in the add_media_renderer().

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@654 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoget_av_transport() takes and returns a proxy rather than an info object.
Zeeshan Ali [Mon, 31 Dec 2007 11:53:57 +0000 (11:53 +0000)]
get_av_transport() takes and returns a proxy rather than an info object.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@653 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoFix a potential leak.
Zeeshan Ali [Mon, 31 Dec 2007 11:53:48 +0000 (11:53 +0000)]
Fix a potential leak.

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@652 d8cb91d7-bff9-0310-92b9-80b65e4482b2

10 years agoReplace the GetProtocolInfoData with a duplicate of udn since that is
Zeeshan Ali [Mon, 31 Dec 2007 11:53:38 +0000 (11:53 +0000)]
Replace the GetProtocolInfoData with a duplicate of udn since that is
all that is needed in the get_protocol_info_cb().

git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp-tools@651 d8cb91d7-bff9-0310-92b9-80b65e4482b2