Both mono.upnp.and banshee have seen updates that should improve the upnp experience. Please try with banshee 2.4.1 and mono.upnp 0.1.2.
I'm running a Tonky server and want to get Banshee talking to it. Fresh
install of Mint 13 with Banshee 2.4.0 and turn on the upnp plugin. It sees
the media server but then exceptions (not sure if you prefer pastebins here,
sorry about the text):
[Info 23:55:03.475] Running Banshee 2.4.0: [Ubuntu 12.04 LTS (linux-gnu,
x86_64) @ 2012-05-06 11:52:27 UTC]
[Info 23:55:06.695] Updating web proxy from GConf
[Info 23:55:06.734] All services are started 2.59171
[Info 23:55:07.688] nereid Client Started
[Info 23:55:08.009] GStreamer version 0.10.36.0, gapless: True, replaygain:
False
[Warn 23:55:09.711] Caught an exception - System.MissingMethodException:
Default constructor not found for type
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ClassReference. (in `mscorlib')
at System.Activator.CreateInstance (System.Type type, Boolean nonPublic)
[0x00000] in <filename unknown>:0
at
Mono.Upnp.Xml.Compilation.DelegateDeserializationCompiler+<CreateDeserializer>c__AnonStoreyD.<>m__11
(Mono.Upnp.Xml.XmlDeserializationContext context) [0x00000] in <filename
unknown>:0
at
Mono.Upnp.Xml.Compilation.DelegateDeserializationCompiler+<CreateItemDeserializer>c__AnonStorey1C.<>m__2F
(System.Object obj, Mono.Upnp.Xml.XmlDeserializationContext context)
[0x00000] in <filename unknown>:0
at
Mono.Upnp.Xml.Compilation.DelegateDeserializationCompiler+<CreateArrayItemElementDeserializer>c__AnonStorey1E.<>m__31
(System.Object obj, Mono.Upnp.Xml.XmlDeserializationContext context)
[0x00000] in <filename unknown>:0
at
Mono.Upnp.Xml.Compilation.DelegateDeserializationCompiler+<CreateElementAutoDeserializer>c__AnonStorey12.<>m__1A
(System.Object obj, Mono.Upnp.Xml.XmlDeserializationContext context)
[0x00000] in <filename unknown>:0
at Mono.Upnp.Xml.XmlDeserializer.AutoDeserializeElement[Container]
(Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container obj,
Mono.Upnp.Xml.XmlDeserializationContext context) [0x00000] in <filename
unknown>:0
at
Mono.Upnp.Xml.XmlDeserializationContext.AutoDeserializeElement[Container]
(Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container obj) [0x00000] in
<filename unknown>:0
at
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container.DeserializeElement
(Mono.Upnp.Xml.XmlDeserializationContext context) [0x00000] in <filename
unknown>:0
at
Mono.Upnp.Xml.XmlDeserializable.Mono.Upnp.Xml.IXmlDeserializable.DeserializeElement
(Mono.Upnp.Xml.XmlDeserializationContext context) [0x00000] in <filename
unknown>:0
at
Mono.Upnp.Xml.Compilation.DelegateDeserializationCompiler.<CreateSubElementDeserializer>m__18
(System.Object obj, Mono.Upnp.Xml.XmlDeserializationContext context)
[0x00000] in <filename unknown>:0
at
Mono.Upnp.Xml.Compilation.DelegateDeserializationCompiler+<CreateElementDeserializer>c__AnonStorey11.<>m__17
(System.Object obj, Mono.Upnp.Xml.XmlDeserializationContext context, Int32
depth) [0x00000] in <filename unknown>:0
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. (in `mscorlib')
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags
invokeAttr, System.Reflection.Binder binder, System.Object[] parameters,
System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[]
parameters) [0x00000] in <filename unknown>:0
at
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory+<Deserializers>c__Iterator5`1[Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container].<>m__51
(System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory+<Deserialize>c__Iterator6`1[Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container].MoveNext
() [0x00000] in <filename unknown>:0
at
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.GetObject[Container]
(System.String id) [0x00000] in <filename unknown>:0
at
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.GetRootObject
() [0x00000] in <filename unknown>:0
at Banshee.UPnPClient.UPnPServerSource.Parse (Mono.Upnp.Device device,
Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.ContentDirectoryController
content_directory) [0x00000] in <filename unknown>:0
Is this more related to mono-upnp than Banshee?
Awesome player, very keen on getting this going. Thanks!
- Chris
--
View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Banshee-2-4-0-exception-when-using-upnp-plugin-tp4650363.html
Sent from the Banshee Media Player mailing list archive at Nabble.com.
_______________________________________________
banshee-list mailing list
banshee-list gnome org
https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here)