banshee cannot reliably play converted-to-wav files via daap from mt-daapd

Bug #834188 reported by Jamie Strandboge
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Banshee
Confirmed
Medium
banshee (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I have an mt-daapd server running on Lucid. Rhythmbox is able to detect the server, play songs and use its playlists. While Banshee sees the server and download songlists, it has many problems:
 * sometimes it will not play a song at all
 * if it does play a song, it fails to advance to other songs (once this worked, but then it didn't after)
 * after clicking on a playlist, all playlists then show up twice and are generally unusable
 * sometimes songs show up twice (this is https://bugzilla.gnome.org/show_bug.cgi?id=548366)
 * after the above problems, banshee does not close and has to be killed (Force quit).

With the decision to move away from rhythmbox to banshee, I fear that this will be perceived as a regression.
sometimes will show song duplicates ().

This is the error after trying to advance a song:
[Warn 17:34:18.353] Caught an exception - System.Net.Sockets.SocketException: Connection reset by peer (in `System')
  at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
System.IO.IOException: Write failure (in `System')
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  at System.IO.BinaryWriter.Write (System.Byte[] buffer) [0x00000] in <filename unknown>:0
  at Banshee.Web.BaseHttpServer.WriteResponseStream (System.Net.Sockets.Socket client, System.IO.Stream response, Int64 length, System.String filename, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.StreamTrack (System.Net.Sockets.Socket client, Daap.Database database, Daap.Track song, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.HandleValidRequest (System.Net.Sockets.Socket client, System.String[] split_request, System.String[] body_request) [0x00000] in <filename unknown>:0
[Warn 17:34:22.648] Caught an exception - System.Net.Sockets.SocketException: Connection reset by peer (in `System')
  at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
System.IO.IOException: Write failure (in `System')
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  at System.IO.BinaryWriter.Write (System.Byte[] buffer) [0x00000] in <filename unknown>:0
  at Banshee.Web.BaseHttpServer.WriteResponseStream (System.Net.Sockets.Socket client, System.IO.Stream response, Int64 length, System.String filename, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.StreamTrack (System.Net.Sockets.Socket client, Daap.Database database, Daap.Track song, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.HandleValidRequest (System.Net.Sockets.Socket client, System.String[] split_request, System.String[] body_request) [0x00000] in <filename unknown>:0
[Warn 17:34:22.736] Caught an exception - System.ArgumentOutOfRangeException: Must be > 0
Parameter name: length (in `Banshee.Services')
  at Banshee.Web.BaseHttpServer.WriteResponseStream (System.Net.Sockets.Socket client, System.IO.Stream response, Int64 length, System.String filename, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.StreamTrack (System.Net.Sockets.Socket client, Daap.Database database, Daap.Track song, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.HandleValidRequest (System.Net.Sockets.Socket client, System.String[] split_request, System.String[] body_request) [0x00000] in <filename unknown>:0
[Error 17:34:22.808] GStreamer resource error: OpenRead
[Warn 17:34:23.234] Caught an exception - System.ArgumentOutOfRangeException: Must be > 0
Parameter name: length (in `Banshee.Services')
  at Banshee.Web.BaseHttpServer.WriteResponseStream (System.Net.Sockets.Socket client, System.IO.Stream response, Int64 length, System.String filename, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.StreamTrack (System.Net.Sockets.Socket client, Daap.Database database, Daap.Track song, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.HandleValidRequest (System.Net.Sockets.Socket client, System.String[] split_request, System.String[] body_request) [0x00000] in <filename unknown>:0
[Error 17:34:23.301] GStreamer resource error: OpenRead
[Warn 17:34:23.736] Caught an exception - System.ArgumentOutOfRangeException: Must be > 0
Parameter name: length (in `Banshee.Services')
  at Banshee.Web.BaseHttpServer.WriteResponseStream (System.Net.Sockets.Socket client, System.IO.Stream response, Int64 length, System.String filename, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.StreamTrack (System.Net.Sockets.Socket client, Daap.Database database, Daap.Track song, Int64 offset) [0x00000] in <filename unknown>:0
  at Banshee.Daap.DaapProxyWebServer.HandleValidRequest (System.Net.Sockets.Socket client, System.String[] split_request, System.String[] body_request) [0x00000] in <filename unknown>:0
[Error 17:34:23.805] GStreamer resource error: OpenRead
[Warn 17:34:28.591] Caught an exception - System.Net.WebException: The request timed out (in `System')
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
  at Banshee.Metadata.MetadataServiceJob.GetHttpStream (System.Uri uri, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0
  at Banshee.Metadata.MetadataServiceJob.GetHttpStream (System.Uri uri) [0x00000] in <filename unknown>:0
  at Banshee.Metadata.Rhapsody.RhapsodyQueryJob.Run () [0x00000] in <filename unknown>:0
  at Banshee.Metadata.MetadataServiceJob.Run () [0x00000] in <filename unknown>:0
[Warn 17:34:45.582] Cover art found on Lastfm, but downloading it failed. Probably server under high load or dead link - System.Net.WebException: The request timed out (in `System')
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) [0x00000] in <filename unknown>:0
  at System.Net.HttpWebRequest.GetResponse () [0x00000] in <filename unknown>:0
  at Banshee.Metadata.MetadataServiceJob.GetHttpStream (System.Uri uri, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0
  at Banshee.Metadata.MetadataServiceJob.SaveHttpStream (System.Uri uri, System.String path, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0
  at Banshee.Metadata.MetadataServiceJob.SaveHttpStreamCover (System.Uri uri, System.String albumArtistId, System.String[] ignoreMimeTypes) [0x00000] in <filename unknown>:0
  at Banshee.Metadata.LastFM.LastFMQueryJob.Run () [0x00000] in <filename unknown>:0

summary: - banshee cannot play daap files from mt-daapd
+ banshee cannot reliably play daap files from mt-daapd
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: banshee cannot reliably play daap files from mt-daapd

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in banshee (Ubuntu):
status: New → Confirmed
Revision history for this message
steba (ste-ba) wrote :

For me it works better when I tell mt-daap to not convert tracks to wav:

never_transcode = ogg,mpeg

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

steba,

Thanks for the tip. I can confirm that once I added the 'never_transcode' line, everything started working again.

summary: - banshee cannot reliably play daap files from mt-daapd
+ banshee cannot reliably play converted-to-wav files via daap from mt-
+ daapd
Changed in banshee (Ubuntu):
importance: Undecided → Medium
Changed in banshee:
importance: Unknown → Medium
status: Unknown → New
Changed in banshee:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.