Bug 285677 - An Unpleasant bug about volume
Summary: An Unpleasant bug about volume
Status: RESOLVED DUPLICATE of bug 296589
Alias: None
Product: amarok
Classification: Applications
Component: Playback (show other bugs)
Version: 2.5-git
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-03 18:43 UTC by Jaime Torres
Modified: 2012-09-28 10:40 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The log asked. You can see there how the volume goes (unasked) from 5 to 50 (9.73 KB, application/x-gzip)
2011-11-07 16:44 UTC, Jaime Torres
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2011-11-03 18:43:26 UTC
Version:           2.4-GIT (using Devel) 
OS:                Linux

When Amarok tries the remote streaming and fails to connect, reproduces the local .mp3 but the volume goes 100%, without modifying the volume bar.
It only happens when the remote streaming is the last in the playlist.

I must click on the volume gear to have my previous volume.

Reproducible: Always

Steps to Reproduce:
In a playlist with only two items:
A local .mp3 file
A remote http streaming source rarely reachable..

try to reproduce the remote streaming without success.

Actual Results:  
volume up to 100%

Expected Results:  
same volume as before

OS: Linux (x86_64) release 3.1.0-rc9-1-desktop
Compiler: gcc-4.6
Comment 1 Myriam Schweingruber 2011-11-03 21:16:21 UTC
Which Phonon backend do you use? Could you please try alterantively the phonon-backend-gstreamer or phonon-backend-vlc and see if that changes?
Comment 2 Jaime Torres 2011-11-04 15:12:09 UTC
I use phonon-vlc.
Can not reproduce with phonon-gstreamer, because when the streamer can not be reproduced, nothing else is reproduced until I press stop and play again, then the local file is played.
Comment 3 Myriam Schweingruber 2011-11-05 14:39:38 UTC
After asking in #kde-multimedia, reassigning to the phonon-backend-vlc
Comment 4 Harald Sitter 2011-11-05 22:21:18 UTC
what version of phonon, phonon-vlc and vlc?

FWIW, I cannot reproduce the issue here.
Comment 5 Jaime Torres 2011-11-06 08:54:46 UTC
phonon-vlc 0.4.55 (from git)
vlc 1.1.12
Comment 6 Harald Sitter 2011-11-06 09:35:37 UTC
Hm, exactly my setup too :/

Please get us a debug log of at least the song before the last song and the last song, up until you change the volume manually.
http://techbase.kde.org/Development/Tutorials/Debugging/Phonon#Environment_Variables
Comment 7 Jaime Torres 2011-11-07 16:44:35 UTC
Created attachment 65354 [details]
The log asked. You can see there how the volume goes (unasked) from 5 to 50

You can see there are three volume changes in the log file.
The first from 5 to 5 (no idea)
The second from 5 to 50 is the bad one
The third from 50 to 5 is done by pressing the volume bar.
Comment 8 Jaime Torres 2011-11-14 19:43:53 UTC
I forgot to change the status..
Comment 9 Harald Sitter 2012-02-11 19:23:44 UTC
Oh yes, you should totally use PulseAudio.
Comment 10 Harald Sitter 2012-02-11 19:51:02 UTC
I am reasonable certain it has to do with amarok reinitalizing phonon but apparently not (re)setting the volume. Phonon defaults to a volume of 1.0 (0db, 100% in amarok) which gets applied by phonon vlc as expected.
Comment 11 Myriam Schweingruber 2012-05-01 22:16:01 UTC
Harald: isn't this the same bug as bug 298569?
Comment 12 Jaime Torres 2012-05-02 09:14:20 UTC
@Myriam: I guess you pasted the wrong bug number. A bug about ktorrent?
Comment 13 Myriam Schweingruber 2012-05-02 13:06:06 UTC
Yes, indeed, sorry for that, I meant bug 296589
Comment 14 Myriam Schweingruber 2012-09-12 09:16:24 UTC

*** This bug has been marked as a duplicate of bug 296589 ***