Doesn't skip to the next track

Bug #373003 reported by Mehdi Abaakouk
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Listen
Fix Released
High
Mehdi Abaakouk
listen (Debian)
New
Undecided
Unassigned

Bug Description

Hi. I'm using Listen 0.6 on Ubuntu Jaunty. Ocasionally, when the end of a track is reached, Listen won't skip to the next track. I sometimes get a message like

WARNING listen.player.fadebin.StreamBin stream "file:///media/d...han - But not for me.flac" already blocked

but, for example, I got that message before it reached the end of the track. If I put my mouse over the notification icon, I get

ERROR listen.player.fadebin.PlayerBin 0xa49734c failed query position

Pressing 'next' produces this:

WARNING listen.player.fadebin.StreamBin stream "file:///media/d...ge - Embraceable you.flac" already blocked
Traceback (most recent call last):
  File "/usr/lib/listen/widget/song_model.py", line 104, in __on_change
    self.change_songs(songs)
  File "/usr/lib/listen/widget/song_model.py", line 80, in change_songs
    try:self[self.refcache_uri[song.get("uri")]] = song
TypeError: expecting a sequence
Traceback (most recent call last):
  File "/usr/lib/listen/widget/song_model.py", line 104, in __on_change
    self.change_songs(songs)
  File "/usr/lib/listen/widget/song_model.py", line 80, in change_songs
    try:self[self.refcache_uri[song.get("uri")]] = song
TypeError: expecting a sequence

If there's anything I can do to help debug this, please let me know.
Cheers.

This ticket was migrated from the old trac: re #905
Originally reported by: gregorovius

Related branches

Mehdi Abaakouk (sileht)
Changed in listen:
assignee: nobody → Mehdi Abaakouk (theli48)
importance: Undecided → High
Revision history for this message
Martin Pöhlmann (mpdeimos) wrote :

well,
I'm experiencing the same problem as well.

Imo, this has something to do with the crossfader. If turned on and xf time is higher than 1 sec then i didn't get a playback stop yet.

Weould be cool to see this fixed!

greets
-Martin

Revision history for this message
Diego Gaustein (gregorovius) wrote :

I have this issue and I do not have crossfade enabled, only gapless playback.

Cheers.

Revision history for this message
Guédon Mickaël (ebrain) wrote :

Same here with Jaunty x64 / Listen 0.6.2 .
Sometimes the playlist just stops. Happens as well with empty playlist and random selection.

This happens with or without crossfading.

Revision history for this message
Sergej (don-palme) wrote :

Same here with Listen 0.6.1 no crossfade and follow output at terminal:

No musicbrainz support (musicbrainz2 missing)
/usr/lib/listen/widget/preference.py:24: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
No avahi support
No Audio cd support (musicbrainz2 missing)
/usr/lib/listen/source/filesystem_source.py:50: PangoWarning: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
  self.chooser = gtk.FileChooserWidget(gtk.FILE_CHOOSER_ACTION_SELECT_FOLDER)
Tray icon attached
WARNING listen.shoutcast.ShoutcastPlugins 0xab635ac Failed open url http://www.shoutcast.com/sbin/newxml.phtml
WARNING listen.player.fadebin.StreamBin stream "file:///home/se...rn - reclaim_my_place.ogg" already blocked
WARNING listen.player.fadebin.StreamBin stream "file:///home/se...er/22 - korn - justin.ogg" already blocked
WARNING listen.player.fadebin.StreamBin stream "file:///home/se...ader/23 - korn - seed.ogg" already blocked
Traceback (most recent call last):
  File "/usr/lib/listen/widget/song_model.py", line 104, in __on_change
    self.change_songs(songs)
  File "/usr/lib/listen/widget/song_model.py", line 80, in change_songs
    try:self[self.refcache_uri[song.get("uri")]] = song
TypeError: expecting a sequence
Traceback (most recent call last):
  File "/usr/lib/listen/widget/song_model.py", line 104, in __on_change
    self.change_songs(songs)
  File "/usr/lib/listen/widget/song_model.py", line 80, in change_songs
    try:self[self.refcache_uri[song.get("uri")]] = song
TypeError: expecting a sequence
WARNING listen.player.fadebin.StreamBin stream "file:///home/se...4 - korn - cameltosis.ogg" already blocked
Traceback (most recent call last):
  File "/usr/lib/listen/widget/song_model.py", line 104, in __on_change
    self.change_songs(songs)
  File "/usr/lib/listen/widget/song_model.py", line 80, in change_songs
    try:self[self.refcache_uri[song.get("uri")]] = song
TypeError: expecting a sequence
Traceback (most recent call last):
  File "/usr/lib/listen/widget/song_model.py", line 104, in __on_change
    self.change_songs(songs)
  File "/usr/lib/listen/widget/song_model.py", line 80, in change_songs
    try:self[self.refcache_uri[song.get("uri")]] = song
TypeError: expecting a sequence
ERROR listen.player.fadebin.PlayerBin 0xa68fcd4 failed query position
ERROR listen.player.fadebin.PlayerBin 0xa68fcd4 failed query position
ERROR listen.player.fadebin.PlayerBin 0xa68fcd4 failed query position
ERROR listen.player.fadebin.PlayerBin 0xa68fcd4 failed query position
ERROR listen.player.fadebin.PlayerBin 0xa68fcd4 failed query position
ERROR listen.player.fadebin.PlayerBin 0xa68fcd4 failed query position

Revision history for this message
enguerran (enguerrangillet) wrote :

Some for me using listen 0.6.2 ppa with a 32 bit Jaunty.

Enguerran

Revision history for this message
Grzegorz Lachowski (gregory-lachowski) wrote :

I confirm this issue on my Arch box

Revision history for this message
esalazioneHg (esalazionehg) wrote :

same WARNING and ERROR here
crossfade NOT enabled
gapless playback enabled

OS: Debian GNU/Linux Squeeze
version of Listen : 0.6.2

if you wait some seconds, the ERROR line is repeated

affects: debian → listen (Debian)
Revision history for this message
Mehdi Abaakouk (sileht) wrote :

I think issue is fixed now, just need some test...

Changed in listen:
status: New → In Progress
milestone: none → 0.6.3
Mehdi Abaakouk (sileht)
Changed in listen:
status: In Progress → Fix Committed
Mehdi Abaakouk (sileht)
Changed in listen:
status: Fix Committed → Fix Released
Revision history for this message
Prunus dulcis (prunus-dulcis) wrote :

I think I have a regression on Lucid with version 0.6.4 from the repositories - getting the same error and no playing music (all files give the same error message on the console)

WARNING listen.player.fadebin.StreamBin stream "file:///home/ro...hat%20Makes%20A%20Man.ogg" already blocked

Revision history for this message
Prunus dulcis (prunus-dulcis) wrote :

and afterwards I have to kill it manually since it refuses to end its process.

If there is any details I can provide I'll be happy to help since apart from that I really like this player :D

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.