GNOME Bugzilla – Bug 706013
banshee: Fails to play FLAC from uPNP
Last modified: 2020-03-17 09:51:33 UTC
Created attachment 251639 [details] banshee --debug output Originally from http://bugs.debian.org/719697 When I attempt to play a FLAC from a uPNP server (a minidlna install on my LAN) Banshee silently fails to play the file with no indication as to the problem. This is bad both in that the playback fails and in that no information is provided as to what went wrong. This appears to be FLAC specific, a MP3 plays fine. Debug log is attached.
Created attachment 251682 [details] Debug log including Mono.UPnP stuff The previous one seemed to show some DAAP errors instead.
I think the relevant part of the log (which should probably be fixed in mono-upnp repo) is: [46 Warn 19:22:30.324] Caught an exception - Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.DeserializationException: The DIDL-Lite element has no proper children. (in `Mono.Upnp.Dcp.MediaServer1') at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory+<Deserialize>c__Iterator6`1[Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Object].MoveNext () [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Deserialize[MusicTrack] (System.String xml) [0x00000] in <filename unknown>:0 at Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.RemoteContentDirectory.Search[MusicTrack] (Mono.Upnp.Dcp.MediaServer1.ContentDirectory1.Container container, System.Action`1 query, ResultsSettings settings) [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
That exception is caused by the server returning a search result that does not match the UPnP spec. If I remember correctly, the spec says a DIDL-Lite element must not be empty. As it seems that the FLAC track is visible in Banshee, this exception might not be related to the problem.
Banshee is not under active development anymore and had its last code changes more than three years ago. Its codebase has been archived. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is being shut down) if anyone takes the responsibility for active development again. See https://gitlab.gnome.org/Infrastructure/Infrastructure/issues/264 for more info.