You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
[Originally posted posted by @pszafer on Jul 24, 2011 at https://github.com/htgoebel/coherence/issues/2].
Hello,
There is an issue in coherence to cooperate with Windows Media Player (maybe only 12 version).
Don't know why, but WMP, when establishing files content on server, doing UPNP method:
UPNP Search.
I've checked what Samsung DLNA Server doing during UPNP Search made by WMP12, it is returning Error 707.
Then WMP12 doing UPNP Browse and everything working correctly.
So there are 2 solutions for this issue:
1)
in path coherence/upnp/devices/media_server.py
method: getChildWithDefault
change if:
if(headers.has_key('user-agent') and
(headers['user-agent'].find('Xbox/') == 0 or # XBox
headers['user-agent'].startswith("""Mozilla/4.0 (compatible; UPnP/1.0; Windows""")) or # wmp11
path in ['description-1.xml','description-2.xml']):
to:
if(headers.has_key('user-agent') and
(headers['user-agent'].find('Xbox/') == 0 or # XBox
headers['user-agent'].startswith("""Mozilla/4.0 (compatible; UPnP/1.0; Windows""") or # wmp11
headers['user-agent'].find('Windows-Media-Player/12.0') != -1) and #wmp 12
And then it is working.
In file coherence/upnp/devices/media_server.py
method: getChildWithDefault
you need to pass to file: coherence/upnp/services/servers/content_directory_server.py
information that this is WMP12 (kwargs)
and return failure.Failure(errorCode(707))
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
[Originally posted posted by @pszafer on Jul 24, 2011 at https://github.com/htgoebel/coherence/issues/2].
Hello,
There is an issue in coherence to cooperate with Windows Media Player (maybe only 12 version).
Don't know why, but WMP, when establishing files content on server, doing UPNP method:
I've checked what Samsung DLNA Server doing during UPNP Search made by WMP12, it is returning Error 707.
Then WMP12 doing UPNP Browse and everything working correctly.
So there are 2 solutions for this issue:
1)
in path
coherence/upnp/devices/media_server.py
method:
getChildWithDefault
change if:
to:
And then it is working.
In file
coherence/upnp/devices/media_server.py
method:
getChildWithDefault
you need to pass to file:
coherence/upnp/services/servers/content_directory_server.py
information that this is WMP12 (kwargs)
and
return failure.Failure(errorCode(707))
The text was updated successfully, but these errors were encountered: