Rhythmbox might fail to play songs when two DAAP shares exist on the same host
Submitted by W. Michael Petullo
rb_daap_plugin_find_source_for_uri() looks up a source for a given DAAP record URI. It presently does this by looking at each item in the hash table of sources and comparing the item's host to the host in the given URI. This obviously might return the wrong source in the case that a host has two DAAP shares listening on two ports, because the port is not considered. I need to:
- Modify rb_daap_plugin_find_source_for_uri() to provide a host+port to source_host_find,
- Modify source_host_find to consider ports when making a comparison (and rename the function), and
- Make a failed call to rb_daap_plugin_find_source_for_uri() from rb_daap_src_change_state() print a useful error.