Bugzilla – Bug 1428
Unpausing by clicking on a new track.
Last modified: 2008-09-15 14:36:01 UTC
This is all within the web interface: When paused, when I click a different track (in an attempt to unpause *and* play that new track), the player *does* unpause, but continues playing the *old* track rather than the new one which was clicked. The new one does appear in the "Now Playing", but the old track is heard.
please specify server version, and try the latest nightly build if you are not already. using the latest nightly, clicking on a new track seems to start that track just fine from a paused player.
I experience this repeatably with the 4/24 nightly build, and using SoftSqueeze 2.0b3 as the client.
thanks. would it be possible to turn on d_source debugging and attach a section of the log where this occurs.
Here's the log. Please note a new finding: the new track does start playing but after a delay of 20 sec. (see my comments throughout the log below) /* Playing, about to hit pause...*/ 2005-04-25 21:15:47.8023 Backtrace: frame 0: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/Control/Command.pm line 612) frame 1: Slim::Control::Command::execute (/usr/local/slimserver//Slim/Web/HTTP.pm line 664) frame 2: Slim::Web::HTTP::processURL (/usr/local/slimserver//Slim/Web/HTTP.pm line 532) frame 3: Slim::Web::HTTP::processHTTP (/usr/local/slimserver//Slim/Networking/Select.pm line 115) frame 4: Slim::Networking::Select::select (/usr/local/slimserver/slimserver.pl line 623) frame 5: main::idle (/usr/local/slimserver/slimserver.pl line 566) frame 6: main::main (/usr/local/slimserver/slimserver.pl line 1144) 2005-04-25 21:15:47.8028 88:db:dd:77:25:9f: Switching to mode pause from play 2005-04-25 21:15:47.8032 88:db:dd:77:25:9f New play mode: pause 2005-04-25 21:15:47.8054 88:db:dd:77:25:9f: Current playmode: pause 2005-04-25 21:15:47.8385 Setting maxBitRate for tv to: 0 2005-04-25 21:15:47.8390 Setting maxBitRate for tv to: 0 /* Now about to click a different track... */ 2005-04-25 21:16:01.8338 Backtrace: frame 0: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/Player/Source.pm line 743) frame 1: Slim::Player::Source::jumpto (/usr/local/slimserver//Slim/Control/Command.pm line 1216) frame 2: Slim::Control::Command::execute (/usr/local/slimserver//Slim/Web/HTTP.pm line 664) frame 3: Slim::Web::HTTP::processURL (/usr/local/slimserver//Slim/Web/HTTP.pm line 532) frame 4: Slim::Web::HTTP::processHTTP (/usr/local/slimserver//Slim/Networking/Select.pm line 115) frame 5: Slim::Networking::Select::select (/usr/local/slimserver/slimserver.pl line 623) frame 6: main::idle (/usr/local/slimserver/slimserver.pl line 566) frame 7: main::main (/usr/local/slimserver/slimserver.pl line 1144) 2005-04-25 21:16:01.8342 88:db:dd:77:25:9f: Switching to mode stop from pause 2005-04-25 21:16:01.8345 88:db:dd:77:25:9f New play mode: stop 2005-04-25 21:16:01.8349 Stopping and clearing out old chunks for client 88:db:dd:77:25:9f 2005-04-25 21:16:01.8378 Resetting song queue 2005-04-25 21:16:01.8381 Song queue is now 20 2005-04-25 21:16:01.8394 88:db:dd:77:25:9f: Current playmode: stop 2005-04-25 21:16:01.8398 jumping to 10 2005-04-25 21:16:01.8403 Adding song index 10 to song queue 2005-04-25 21:16:01.8405 Clearing out song queue first 2005-04-25 21:16:01.8409 Song queue is now 10 2005-04-25 21:16:01.8415 Backtrace: frame 0: Slim::Player::Source::playmode (/usr/local/slimserver//Slim/Player/Source.pm line 773) frame 1: Slim::Player::Source::jumpto (/usr/local/slimserver//Slim/Control/Command.pm line 1216) frame 2: Slim::Control::Command::execute (/usr/local/slimserver//Slim/Web/HTTP.pm line 664) frame 3: Slim::Web::HTTP::processURL (/usr/local/slimserver//Slim/Web/HTTP.pm line 532) frame 4: Slim::Web::HTTP::processHTTP (/usr/local/slimserver//Slim/Networking/Select.pm line 115) frame 5: Slim::Networking::Select::select (/usr/local/slimserver/slimserver.pl line 623) frame 6: main::idle (/usr/local/slimserver/slimserver.pl line 566) frame 7: main::main (/usr/local/slimserver/slimserver.pl line 1144) 2005-04-25 21:16:01.8419 88:db:dd:77:25:9f: Switching to mode play from stop 2005-04-25 21:16:01.8499 openSong on: file:///export/audio/audio/wavnames/Various/Rough%20Trade%20Shops%20Indiepop%201%20(Disc%201)/11-Shop%20Assistants%20Safety%20Net.flac 2005-04-25 21:16:01.8603 openSong: getting duration 142.906666666667, size 16940126, endian and offset 0 for file:///export/audio/audio/wavnames/Various/Rough%20Trade%20Shops%20Indiepop%201%20(Disc%201)/11-Shop%20Assistants%20Safety%20Net.flac 2005-04-25 21:16:01.8612 Setting maxBitRate for tv to: 0 2005-04-25 21:16:01.8617 Setting maxBitRate for tv to: 0 2005-04-25 21:16:01.8840 Setting maxBitRate for tv to: 0 2005-04-25 21:16:01.8846 Setting maxBitRate for tv to: 0 2005-04-25 21:16:01.8848 undermax = 1, type = flc, softsqueeze = 88:db:dd:77:25:9f, lame = /usr/bin/lame 2005-04-25 21:16:01.8853 checking formats for: flc-flc-softsqueeze-88:db:dd:77:25:9f 2005-04-25 21:16:01.8856 Checking to see if flc-flc-softsqueeze-88:db:dd:77:25:9f is enabled 2005-04-25 21:16:01.8859 enabled 2005-04-25 21:16:01.8862 checking formats for: flc-flc-*-88:db:dd:77:25:9f 2005-04-25 21:16:01.8864 Checking to see if flc-flc-*-88:db:dd:77:25:9f is enabled 2005-04-25 21:16:01.8867 enabled 2005-04-25 21:16:01.8870 checking formats for: flc-flc-softsqueeze-* 2005-04-25 21:16:01.8872 Checking to see if flc-flc-softsqueeze-* is enabled 2005-04-25 21:16:01.8875 enabled 2005-04-25 21:16:01.8878 checking formats for: flc-flc-*-* 2005-04-25 21:16:01.8880 Checking to see if flc-flc-*-* is enabled 2005-04-25 21:16:01.8883 enabled 2005-04-25 21:16:01.8885 Found command: - 2005-04-25 21:16:01.8894 Setting maxBitRate for tv to: 0 2005-04-25 21:16:01.8899 Setting maxBitRate for tv to: 0 2005-04-25 21:16:01.8902 Matched Format: flc Type: flc Command: - 2005-04-25 21:16:01.8909 openSong: this is an flc file: file:///export/audio/audio/wavnames/Various/Rough%20Trade%20Shops%20Indiepop%201%20(Disc%201)/11-Shop%20Assistants%20Safety%20Net.flac 2005-04-25 21:16:01.8912 file type: flc format: flc inrate: 948.058891584251 maxRate: 0 2005-04-25 21:16:01.8915 command: - 2005-04-25 21:16:01.8919 openSong: opening file /export/audio/audio/wavnames/Various/Rough Trade Shops Indiepop 1 (Disc 1)/11-Shop Assistants Safety Net.flac 2005-04-25 21:16:01.8925 seeking in 0 into /export/audio/audio/wavnames/Various/Rough Trade Shops Indiepop 1 (Disc 1)/11-Shop Assistants Safety Net.flac 2005-04-25 21:16:01.8929 Streaming with format: flc 2005-04-25 21:16:01.9266 88:db:dd:77:25:9f New play mode: play 2005-04-25 21:16:01.9314 88:db:dd:77:25:9f: Current playmode: play 2005-04-25 21:16:02.1176 Setting maxBitRate for tv to: 0 2005-04-25 21:16:02.1182 Setting maxBitRate for tv to: 0 /* old song still playing...*/ /* time passes... */ /* ...but after 20 sec, the new track *does* start playing: */ 2005-04-25 21:16:22.3230 Got a track starting event 2005-04-25 21:16:22.3234 Song 10 has now started playing 2005-04-25 21:16:22.3246 Song queue is now 10
Mike: Are you using SoftSqueeze to click on the new track or are you using the web interface. If it's the web interface, what skin are you using?
I'm using the web interface with the Default2 theme.
I think that this is specific to exbrowse2
Tested here, it happens in every skin as well as through Softsqueeze's interface. Doesn't affect any hardware player. (SB2, SB1G, SLIMP3) Back to Dan?
When i've tested, I'm seeing it with all skins and softsqueeze as well. It seems to be an alternating thing. Pause and click next, its stuck on track 2. Pause and click next, then you will get track 3 playing. pause and next again, and its stuck again on track 4
Looks to me like SoftSqueeze isn't flushing its internal buffer when it gets a strm q command. Digging in a bit, it looks like the AudioMixer object won't do a flush() unless it is going to a state of play. Looks more like a Richard issue than a Dan one.
This appears to be a softsqueeze specific bug. Richard, have an idea on this one?
*** Bug 1199 has been marked as a duplicate of this bug. ***
Moving off to post 6.1