Hello, <br><br>First of all, i want to say a big thanks to everyone doing here a great job, amarok is for sure the best player i've ever used, making me rediscover music !<br><br>Here is my configuration:<br>Amarok 1.4.8 on ubuntu 7.10 (not kubuntu, but all kdelibs are installed)<br>
Mysql, 35 000 songs<br>Computer is : Athlon XP 2000+, 1.5Go RAM<br><br>Everytime the song change, amarok hangs and use 100 % of the CPU for quite a long time. I wanted to check if anything wasn't going the right way, so I've build amarok from the source, with full debug options. <br>
Below is the output on a song change. The bold lines are problematic, i think it's the refresh of the context viewer. When the player is on wikipedia tab, changing a song is very smooth and doesn't slow the whole system for some seconds. (but no need to refresh the context view, probably the key). The same problem show up when I rate a song, causing the context view to refresh<br>
Strange thing is that showArtistsAlbums() method seems to be called 2 times. But when the player is on wikipedia tab and switch to the "normal" tab, it's only called once, making the "hang" time twice shorter<br>
<br>For the context viewer, The size of the cover is changed to 300 pix, use score and rating, and of course LastFm, but only render similar artist box.<br>Have i done something unusual ? Is my computer definitely out of date ? Will it change anything if I run a complete kde session instead of a gnome session ? Why ? Is khtmlrender thing the main problem ? If it is, I hope plasma context view won't be so heavy !<br>
<br>amarok: BEGIN: void EngineController::play(const MetaBundle&, uint)<br>amarok:   [controller] Loading URL: file:///home/simon/Musique/-%3DAlbums%3D-/-%3D%20D%20%3D-/Deerhoof/2004%20-%20Covers%20and%20Live%20EP/06%20-%20Lose%20My%20Breath%20(My%20Bloody%20Valentine%20Cover).mp3<br>
amarok: BEGIN: virtual bool XineEngine::load(const KURL&, bool)<br>amarok:     [xine-engine] Before xine_open() *****<br>amarok:     [xine-engine] After xine_open() *****<br>amarok:     [xine-engine] XINE_PARAM_EARLY_FINISHED_EVENT enabled<br>
amarok: END__: virtual bool XineEngine::load(const KURL&, bool) - Took 0.2s<br>amarok: BEGIN: virtual bool XineEngine::play(uint)<br>amarok: BEGIN: void EngineSubject::stateChangedNotify(Engine::State)<br>amarok:       [virtual void Amarok::StatusBar::engineStateChanged(Engine::State, Engine::State)] Line: 153<br>
amarok: BEGIN: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State)<br>amarok: END__: virtual void ContextBrowser::engineStateChanged(Engine::State, Engine::State) - Took 0.00021s<br>amarok: END__: void EngineSubject::stateChangedNotify(Engine::State) - Took 0.0076s<br>
amarok: END__: virtual bool XineEngine::play(uint) - Took 0.008s<br>amarok: BEGIN: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool)<br>amarok:     [Moodbar] Resetting moodbar: /home/simon/Musique/-=Albums=-/-= D =-/Deerhoof/2004 - Covers and Live EP/06 - Lose My Breath (My Bloody Valentine Cover).mp3<br>
amarok:     [ContextBrowser] [CUEFILE]: /home/simon/Musique/-=Albums=-/-= D =-/Deerhoof/2004 - Covers and Live EP/06 - Lose My Breath (My Bloody Valentine Cover).cue - Shoot blindly and missed, searching for other cue files.<br>
amarok:     [ContextBrowser] [CUEFILE]: - Didn't find any matching cue file.<br>amarok: BEGIN: virtual void ThreadManager::Thread::run()<br>amarok:       [Moodbar] Resetting moodbar: <br>amarok: END__: void EngineSubject::newMetaDataNotify(const MetaBundle&, bool) - Took 0.39s<br>
amarok: END__: void EngineController::play(const MetaBundle&, uint) - Took 0.6s<br>amarok:   [ScriptManager] [ERROR!] Copy Cover:<br>amarok: [AmaroK CopyCover Script] Received notification: engineStateChange: playing<br>
amarok:   [xine-engine] XINE_PARAM_EARLY_FINISHED_EVENT enabled<br>amarok:   [xine-engine] Metadata received.<br>amarok:   [ScriptManager] [ERROR!] Copy Cover:<br>amarok: [AmaroK CopyCover Script] Received notification: trackChange<br>
amarok: BEGIN: void CurrentTrackJob::<b>showArtistsAlbums</b>(const QString&, uint, uint)<br>amarok: END__: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint) - Took 1.3s<b><br>amarok: END__: virtual void ThreadManager::Thread::run() - Took 3s<br>
</b>amarok: [ThreadManager] Job completed: CurrentTrackJob. Jobs pending: 1<br>amarok: BEGIN: virtual void ThreadManager::Thread::run()<br>amarok: BEGIN: void CurrentTrackJob::<b>showArtistsAlbums</b>(const QString&, uint, uint)<br>
amarok: END__: void CurrentTrackJob::showArtistsAlbums(const QString&, uint, uint) - Took 1.2s<b><br>amarok: END__: virtual void ThreadManager::Thread::run() - Took 5.6s</b><br>amarok:   [ThreadManager] Job completed: CurrentTrackJob. Jobs pending: 0<br>
<br><br>I'll appreciate any comment on this :o)<br><br>Thanks and sorry for my frenglish !<br>Bye<br><span class="HcCDpe"></span><br><br>------------------------------------------------------------------<br>Simon Esneault<br>
Laboratoire Traitement du Signal et de l'Image, (LTSI, UMR-INSERM 642)<br>Université de Rennes I, Campus de Beaulieu, <br>35042 Rennes Cedex, France.<br>Tel : +33 (0)6 64 61 30 94<br>Mail : <a href="mailto:simon.esneault@univ-rennes1.fr">simon.esneault@univ-rennes1.fr</a><br>
------------------------------------------------------------------