Recommended Posts

Yep, this build is really good. It works like a charm in Windows 10 14328 as well as in 10586 :laugh:

 

Raphaël, using the spacebar to pause the playback works unless I click on some other control of the UI first. If I do so, when I press spacebar, it doesn't pause the song I'm listening to, but instead it triggers whatever I have previously clicked on. I understand it totally makes sense, but I just want to let you know in case you want to make some changes so as to make sure that the spacebar always works to just pause the playback.

 

Cheers!

On ‎25‎/‎04‎/‎2016 at 9:37 AM, Tuskd said:

Hey Raphael! Great release. But I am having a problem with my Philips SHB7000 wireless headset and Dopamine. When using my headset's media keys, Next and Previous works as expected but Play/Pause doesn't work. Its not picked up by your Keyboardtest. Groove Music has no problem with my headset.
 

^ For Next and Previous. Nothing recorded for Play/Pause.

That one is difficult. Each time this issue is reported, I look it up on the internet, and realize there is no information about it. I'll log a bug and look into it again when I can.

  • Like 2
9 minutes ago, Jackaluichi said:

Yep, this build is really good. It works like a charm in Windows 10 14328 as well as in 10586 :laugh:

 

Raphaël, using the spacebar to pause the playback works unless I click on some other control of the UI first. If I do so, when I press spacebar, it doesn't pause the song I'm listening to, but instead it triggers whatever I have previously clicked on. I understand it totally makes sense, but I just want to let you know in case you want to make some changes so as to make sure that the spacebar always works to just pause the playback.

 

Cheers!

Thanks for reporting that. It indeed makes sense, but is annoying :) I'd like space to toggle play and pause regardless of the UI component which is clicked. I've logged a bug.

  • Like 1
49 minutes ago, Raphaël G. said:

That one is difficult. Each time this issue is reported, I look it up on the internet, and realize there is no information about it. I'll log a bug and look into it again when I can.

 

42 minutes ago, Raphaël G. said:

Thanks for reporting that. It indeed makes sense, but is annoying :) I'd like space to toggle play and pause regardless of the UI component which is clicked. I've logged a bug.

I'm confident you'll eventually find a workaround :yes:

Hi Raphael,

 

I'm seeing an issue with the search functionality. It seems like the artist search works just based off of the 'Album Artist' tag.

 

So if I have an album that has an Artist tag, but a blank album artist tag, that album does not show up in any search results (only albums that also have the album artist tag do). see attached screenshot for example

Untitled.png

 

 

Also, on that note it would be nice if on the song list if the Artist was displayed if the album artist tag is blank (rather than showing unknown album artist). I have lots of albums that have an artist tag but no album artist tag, so in songs lists it can be a little annoying to see 'unknown album artist' under the album name for all of them. Or maybe an option to choose whether to display artist or album artist there.

Edited by ViperAFK
On ‎29‎/‎04‎/‎2016 at 1:14 AM, dakn said:

Hi Raphaël,

 

I've been noticing a bug where I click on a genre and no albums show up although the albums show in the list view. Sometimes it might even be that only some albums show, but not all.

 

bugs.PNG

What happens when you scroll up? There is a know issue where nothing is shown when you scroll to the bottom of the album list, then select another artist or genre, then albums are not shown anymore until you scroll up.

On ‎27‎/‎04‎/‎2016 at 0:20 AM, ViperAFK said:

Hi Raphael,

 

I'm seeing an issue with the search functionality. It seems like the artist search works just based off of the 'Album Artist' tag.

 

So if I have an album that has an Artist tag, but a blank album artist tag, that album does not show up in any search results (only albums that also have the album artist tag do). see attached screenshot for example

Untitled.png

 

 

Also, on that note it would be nice if on the song list if the Artist was displayed if the album artist tag is blank (rather than showing unknown album artist). I have lots of albums that have an artist tag but no album artist tag, so in songs lists it can be a little annoying to see 'unknown album artist' under the album name for all of them. Or maybe an option to choose whether to display artist or album artist there.

I've created a bug and task for this. Thanks for reporting.

  • 2 weeks later...

Hi everyone. In a day or 2 I'll release a new build. No new features, but quite some bug fixes. This is the current changelog:

 

- Added Traditional Chinese translation
- Added Simplified Chinese translation
- Languages are now ordered alphabetically in the language picker
- Fixed a bug in the auto updater
- Fixed window ToolTips not updated when changing language
- Fixed playback starting when switching default audio device even when playing nothing
- Fixed a bug where sorting headers were not updated when changing language
- Fixed a bug where a song, which is in more than 1 playlist, was removed from the wrong playlist.
- Fixed a bug displaying the year in the album ToolTip
- Fixed a bug where the albums list sometimes appears empty even when it contains albums
- Theme selection is changed and translated to the selected language
- Pressing [Space] on the keyboard doesn't start or stop songs anymore. It causes too many conflicts.

5 hours ago, Raphaël G. said:

Hi everyone. In a day or 2 I'll release a new build. No new features, but quite some bug fixes. This is the current changelog:

 

- Added Traditional Chinese translation
- Added Simplified Chinese translation
- Languages are now ordered alphabetically in the language picker
- Fixed a bug in the auto updater
- Fixed window ToolTips not updated when changing language
- Fixed playback starting when switching default audio device even when playing nothing
- Fixed a bug where sorting headers were not updated when changing language
- Fixed a bug where a song, which is in more than 1 playlist, was removed from the wrong playlist.
- Fixed a bug displaying the year in the album ToolTip
- Fixed a bug where the albums list sometimes appears empty even when it contains albums
- Theme selection is changed and translated to the selected language
- Pressing [Space] on the keyboard doesn't start or stop songs anymore. It causes too many conflicts.

Great build coming our way! Thanks for the heads up, Raphaël!

 

I see the space thing is just a pita :rofl:

2 hours ago, Jackaluichi said:

Great build coming our way! Thanks for the heads up, Raphaël!

 

I see the space thing is just a pita :rofl:

Yeah I gave up on it. As soon as I made the space pressing a global thing (accessible from anywhere in the application) the search field conflicted with it. Each time you pressed space in the field, songs would play or pause. I didn't want to add ugly workarounds to try to detect the that the user is searching or not.

  • Like 1

Hi all!

 

A new build of Dopamine is available. This one brings a lot of bug fixes. This is the changelog:

 

16-05-2016: Dopamine 1.0.0.650 (Preview)

 

  • Added Traditional Chinese translation
  • Added Simplified Chinese translation
  • Added Greek translation
  • Languages are now ordered alphabetically in the language picker
  • Fixed a bug in the auto updater
  • Fixed window ToolTips not updated when changing language
  • Fixed playback starting when switching default audio device even when playing nothing
  • Fixed a bug where sorting headers were not updated when changing language
  • Fixed a bug where a song, which is in more than 1 playlist, was removed from the wrong playlist.
  • Fixed a bug displaying the year in the album ToolTip
  • Fixed a bug where the albums list sometimes appears empty even when it contains albums
  • Theme selection is changed and translated to the selected language
  • Pressing [Space] on the keyboard doesn’t start or stop songs anymore. It causes too many conflicts.

Info and download over here

  • Like 3
5 hours ago, Raphaël G. said:

Hi all!

 

A new build of Dopamine is available. This one brings a lot of bug fixes. This is the changelog:

 

16-05-2016: Dopamine 1.0.0.650 (Preview)

 

  • Added Traditional Chinese translation
  • Added Simplified Chinese translation
  • Added Greek translation
  • Languages are now ordered alphabetically in the language picker
  • Fixed a bug in the auto updater
  • Fixed window ToolTips not updated when changing language
  • Fixed playback starting when switching default audio device even when playing nothing
  • Fixed a bug where sorting headers were not updated when changing language
  • Fixed a bug where a song, which is in more than 1 playlist, was removed from the wrong playlist.
  • Fixed a bug displaying the year in the album ToolTip
  • Fixed a bug where the albums list sometimes appears empty even when it contains albums
  • Theme selection is changed and translated to the selected language
  • Pressing [Space] on the keyboard doesn’t start or stop songs anymore. It causes too many conflicts.

Info and download over here

Thank you Sir! If you are feeling competitive I thought you might like this, you can win a Surface Pro 4,

 

https://blog.rewards.msdn.microsoft.com/2016/03/28/pitch-your-continuum-idea/

 

Good Luck! :)

10 hours ago, Ravensky said:

Thank you Sir! If you are feeling competitive I thought you might like this, you can win a Surface Pro 4,

 

https://blog.rewards.msdn.microsoft.com/2016/03/28/pitch-your-continuum-idea/

 

Good Luck! :)

I'm afraid the deadline is already exceeded :rofl: Would have been great though, if I had a lot of time on my hands :) 

 

So what's next for Dopamine?

 

This build is rather good, quality wise. I'd like to release version 1.0 final as soon as I have confirmation that there are no critical issues left. After the release of 1.0, my focus will shift to the UWP version. Development on the desktop version will continue however. While the current focus is now 100% desktop, 0% UWP, I'd like to shift that to 20% desktop, 80% UWP for a short period of time. And once the UWP version is published, it should become 50% for both.

The 20% for the desktop version will allow fixing bugs and adding small features.

 

The UWP version will start simple and as a phone application only. Because I want to publish quickly, I won't spend time building an adaptive UI yet. The desktop version can fill that gap for now. Adaptive UI will be added later. The app will be polished and dynamic, just like the dekstop version. They will look very similar.

 

I'm having an issue where it will just crash when loading a new song. It happened twice on Friday, after I updated to 650. If I can reproduce it, what information do you want from me so that you can track it down?

 

 

Edit: It just happened again. Here's the last bit of the log.

 

 



2016-05-20 15:03:42.1558|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 640) ###
2016-05-20 15:54:02.3015|Info|Dopamine.Application.ExecuteStartup|### STARTING Dopamine, version 1.0.0 (Build 640), IsPortable = False ###
2016-05-20 15:54:05.3607|Info|Dopamine.Bootstrapper.InitializeWCFServices|CommandService was started successfully
2016-05-20 15:54:05.3607|Info|Dopamine.Bootstrapper.InitializeWCFServices|FileService was started successfully
2016-05-20 15:54:05.3807|Info|Dopamine.Bootstrapper.InitializeShell|Showing Main screen
2016-05-20 15:54:36.1260|Info|Dopamine.Views.Shell+VB$StateMachine_108_PerformClosingTasksAsync.MoveNext|Performing closing tasks
2016-05-20 15:54:36.2830|Info|Dopamine.Views.Shell+VB$StateMachine_108_PerformClosingTasksAsync.MoveNext|### STOPPING Dopamine, version 1.0.0 (Build 640) ###
2016-05-20 15:56:13.3371|Info|Dopamine.Application.ExecuteStartup|### STARTING Dopamine, version 1.0.0 (Build 650), IsPortable = False ###
2016-05-20 15:56:14.0412|Info|Dopamine.Views.Splash+VB$StateMachine_15_InitializeSettingsAsync.MoveNext|Upgrading settings
2016-05-20 15:56:15.6342|Info|Dopamine.Bootstrapper.InitializeWCFServices|CommandService was started successfully
2016-05-20 15:56:15.6492|Info|Dopamine.Bootstrapper.InitializeWCFServices|FileService was started successfully
2016-05-20 15:56:15.6662|Info|Dopamine.Bootstrapper.InitializeShell|Showing Main screen
2016-05-20 15:57:01.2848|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:01:26.8137|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:04:58.1787|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:07:56.5558|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:10:40.3400|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:10:57.5971|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:14:55.9644|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:25:57.6852|Error|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_96_TryPlayAsync.MoveNext|Could not play the file C:\Users\drewh\Music\16 Castle Attack.m4a. LoopMode=None, Shuffle=True. Exception: Interops::MFCreateSourceReaderFromURL caused an error: 0x80004005, "Unspecified error".. StackTrace:    at CSCore.MediaFoundation.MediaFoundationCore.CreateSourceReaderFromUrlNative(String url)
   at CSCore.MediaFoundation.MediaFoundationDecoder..ctor(String url)
   at CSCore.Codecs.CodecFactory.GetCodec(String filename)
   at Dopamine.Core.Audio.CSCorePlayer.InitializeSoundOut()
   at Dopamine.Core.Audio.CSCorePlayer.Play(String iFilename)
   at Dopamine.Common.Services.Playback.PlaybackService._Closure$__96-0._Lambda$__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Dopamine.Common.Services.Playback.PlaybackService.VB$StateMachine_96_TryPlayAsync.MoveNext()
2016-05-20 16:25:57.7193|Error|Dopamine.Application.ExecuteEmergencyStop|Unhandled Exception. Exception:
System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

Stack trace:
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

2016-05-20 16:25:57.7193|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 650) ###
2016-05-23 08:53:28.8242|Info|Dopamine.Application.ExecuteStartup|### STARTING Dopamine, version 1.0.0 (Build 650), IsPortable = False ###
2016-05-23 08:53:35.3805|Info|Dopamine.Bootstrapper.InitializeWCFServices|CommandService was started successfully
2016-05-23 08:53:35.4886|Info|Dopamine.Bootstrapper.InitializeWCFServices|FileService was started successfully
2016-05-23 08:53:35.4886|Info|Dopamine.Bootstrapper.InitializeShell|Showing Main screen
2016-05-23 09:00:05.0453|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-23 09:03:23.6459|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-23 09:05:16.6869|Error|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_96_TryPlayAsync.MoveNext|Could not play the file C:\Users\drewh\Music\13 Pay The Man.m4a. LoopMode=None, Shuffle=True. Exception: Interops::MFCreateSourceReaderFromURL caused an error: 0x80004005, "Unspecified error".. StackTrace:    at CSCore.MediaFoundation.MediaFoundationCore.CreateSourceReaderFromUrlNative(String url)
   at CSCore.MediaFoundation.MediaFoundationDecoder..ctor(String url)
   at CSCore.Codecs.CodecFactory.GetCodec(String filename)
   at Dopamine.Core.Audio.CSCorePlayer.InitializeSoundOut()
   at Dopamine.Core.Audio.CSCorePlayer.Play(String iFilename)
   at Dopamine.Common.Services.Playback.PlaybackService._Closure$__96-0._Lambda$__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Dopamine.Common.Services.Playback.PlaybackService.VB$StateMachine_96_TryPlayAsync.MoveNext()
2016-05-23 09:05:16.7429|Error|Dopamine.Application.ExecuteEmergencyStop|Unhandled Exception. Exception:
System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

Stack trace:
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

2016-05-23 09:05:16.7529|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 650) ###

 

Edited by greenwizard88
added log

well, I found that cycling through a list of songs in the now playing view will eventually result in a crash

 

2016-05-24 07:43:12.6728|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:43:23.1318|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:43:37.6032|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:43:57.4208|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:44:03.3219|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:44:36.5321|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:44:43.2048|Error|Dopamine.Application.ExecuteEmergencyStop|Unhandled Exception. Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Dopamine.Core.Audio.CSCorePlayer.GetFFTFrequencyIndex(Int32 frequency)
   at WPFSoundVisualizationLib.SpectrumAnalyzer.UpdateBarLayout()
   at WPFSoundVisualizationLib.SpectrumAnalyzer.OnRender(DrawingContext dc)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.StackPanel.StackArrangeHelper(IStackMeasure arrangeElement, IStackMeasureScrollData scrollData, Size arrangeSize)
   at System.Windows.Controls.StackPanel.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Stack trace:
   at Dopamine.Core.Audio.CSCorePlayer.GetFFTFrequencyIndex(Int32 frequency)
   at WPFSoundVisualizationLib.SpectrumAnalyzer.UpdateBarLayout()
   at WPFSoundVisualizationLib.SpectrumAnalyzer.OnRender(DrawingContext dc)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.StackPanel.StackArrangeHelper(IStackMeasure arrangeElement, IStackMeasureScrollData scrollData, Size arrangeSize)
   at System.Windows.Controls.StackPanel.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

2016-05-24 07:44:43.2048|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 650) ###
2016-05-24 07:44:43.3337|Info|Dopamine.Views.Shell+VB$StateMachine_109_PerformClosingTasksAsync.MoveNext|Performing closing tasks

 

On ‎23‎/‎05‎/‎2016 at 2:55 PM, greenwizard88 said:

I'm having an issue where it will just crash when loading a new song. It happened twice on Friday, after I updated to 650. If I can reproduce it, what information do you want from me so that you can track it down?

 

 

Edit: It just happened again. Here's the last bit of the log.

 

 


2016-05-20 15:03:42.1558|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 640) ###
2016-05-20 15:54:02.3015|Info|Dopamine.Application.ExecuteStartup|### STARTING Dopamine, version 1.0.0 (Build 640), IsPortable = False ###
2016-05-20 15:54:05.3607|Info|Dopamine.Bootstrapper.InitializeWCFServices|CommandService was started successfully
2016-05-20 15:54:05.3607|Info|Dopamine.Bootstrapper.InitializeWCFServices|FileService was started successfully
2016-05-20 15:54:05.3807|Info|Dopamine.Bootstrapper.InitializeShell|Showing Main screen
2016-05-20 15:54:36.1260|Info|Dopamine.Views.Shell+VB$StateMachine_108_PerformClosingTasksAsync.MoveNext|Performing closing tasks
2016-05-20 15:54:36.2830|Info|Dopamine.Views.Shell+VB$StateMachine_108_PerformClosingTasksAsync.MoveNext|### STOPPING Dopamine, version 1.0.0 (Build 640) ###
2016-05-20 15:56:13.3371|Info|Dopamine.Application.ExecuteStartup|### STARTING Dopamine, version 1.0.0 (Build 650), IsPortable = False ###
2016-05-20 15:56:14.0412|Info|Dopamine.Views.Splash+VB$StateMachine_15_InitializeSettingsAsync.MoveNext|Upgrading settings
2016-05-20 15:56:15.6342|Info|Dopamine.Bootstrapper.InitializeWCFServices|CommandService was started successfully
2016-05-20 15:56:15.6492|Info|Dopamine.Bootstrapper.InitializeWCFServices|FileService was started successfully
2016-05-20 15:56:15.6662|Info|Dopamine.Bootstrapper.InitializeShell|Showing Main screen
2016-05-20 15:57:01.2848|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:01:26.8137|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:04:58.1787|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:07:56.5558|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:10:40.3400|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:10:57.5971|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:14:55.9644|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-20 16:25:57.6852|Error|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_96_TryPlayAsync.MoveNext|Could not play the file C:\Users\drewh\Music\16 Castle Attack.m4a. LoopMode=None, Shuffle=True. Exception: Interops::MFCreateSourceReaderFromURL caused an error: 0x80004005, "Unspecified error".. StackTrace:    at CSCore.MediaFoundation.MediaFoundationCore.CreateSourceReaderFromUrlNative(String url)
   at CSCore.MediaFoundation.MediaFoundationDecoder..ctor(String url)
   at CSCore.Codecs.CodecFactory.GetCodec(String filename)
   at Dopamine.Core.Audio.CSCorePlayer.InitializeSoundOut()
   at Dopamine.Core.Audio.CSCorePlayer.Play(String iFilename)
   at Dopamine.Common.Services.Playback.PlaybackService._Closure$__96-0._Lambda$__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Dopamine.Common.Services.Playback.PlaybackService.VB$StateMachine_96_TryPlayAsync.MoveNext()
2016-05-20 16:25:57.7193|Error|Dopamine.Application.ExecuteEmergencyStop|Unhandled Exception. Exception:
System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

Stack trace:
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

2016-05-20 16:25:57.7193|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 650) ###
2016-05-23 08:53:28.8242|Info|Dopamine.Application.ExecuteStartup|### STARTING Dopamine, version 1.0.0 (Build 650), IsPortable = False ###
2016-05-23 08:53:35.3805|Info|Dopamine.Bootstrapper.InitializeWCFServices|CommandService was started successfully
2016-05-23 08:53:35.4886|Info|Dopamine.Bootstrapper.InitializeWCFServices|FileService was started successfully
2016-05-23 08:53:35.4886|Info|Dopamine.Bootstrapper.InitializeShell|Showing Main screen
2016-05-23 09:00:05.0453|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-23 09:03:23.6459|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-23 09:05:16.6869|Error|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_96_TryPlayAsync.MoveNext|Could not play the file C:\Users\drewh\Music\13 Pay The Man.m4a. LoopMode=None, Shuffle=True. Exception: Interops::MFCreateSourceReaderFromURL caused an error: 0x80004005, "Unspecified error".. StackTrace:    at CSCore.MediaFoundation.MediaFoundationCore.CreateSourceReaderFromUrlNative(String url)
   at CSCore.MediaFoundation.MediaFoundationDecoder..ctor(String url)
   at CSCore.Codecs.CodecFactory.GetCodec(String filename)
   at Dopamine.Core.Audio.CSCorePlayer.InitializeSoundOut()
   at Dopamine.Core.Audio.CSCorePlayer.Play(String iFilename)
   at Dopamine.Common.Services.Playback.PlaybackService._Closure$__96-0._Lambda$__0()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
   at Dopamine.Common.Services.Playback.PlaybackService.VB$StateMachine_96_TryPlayAsync.MoveNext()
2016-05-23 09:05:16.7429|Error|Dopamine.Application.ExecuteEmergencyStop|Unhandled Exception. Exception:
System.ArgumentNullException: Value cannot be null.
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

Stack trace:
   at System.Threading.Monitor.Enter(Object obj)
   at CSCore.Win32.ComObject.Finalize()

2016-05-23 09:05:16.7529|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 650) ###

 

Could you send me this file "C:\Users\drewh\Music\13 Pay The Man.m4a"?

On ‎24‎/‎05‎/‎2016 at 2:11 PM, Ned said:

well, I found that cycling through a list of songs in the now playing view will eventually result in a crash

 


2016-05-24 07:43:12.6728|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:43:23.1318|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:43:37.6032|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:43:57.4208|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:44:03.3219|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:44:36.5321|Info|Dopamine.Common.Services.Playback.PlaybackService+VB$StateMachine_81_SaveTrackStatisticsAsync.MoveNext|Saved Track Statistics
2016-05-24 07:44:43.2048|Error|Dopamine.Application.ExecuteEmergencyStop|Unhandled Exception. Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Dopamine.Core.Audio.CSCorePlayer.GetFFTFrequencyIndex(Int32 frequency)
   at WPFSoundVisualizationLib.SpectrumAnalyzer.UpdateBarLayout()
   at WPFSoundVisualizationLib.SpectrumAnalyzer.OnRender(DrawingContext dc)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.StackPanel.StackArrangeHelper(IStackMeasure arrangeElement, IStackMeasureScrollData scrollData, Size arrangeSize)
   at System.Windows.Controls.StackPanel.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Stack trace:
   at Dopamine.Core.Audio.CSCorePlayer.GetFFTFrequencyIndex(Int32 frequency)
   at WPFSoundVisualizationLib.SpectrumAnalyzer.UpdateBarLayout()
   at WPFSoundVisualizationLib.SpectrumAnalyzer.OnRender(DrawingContext dc)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.StackPanel.StackArrangeHelper(IStackMeasure arrangeElement, IStackMeasureScrollData scrollData, Size arrangeSize)
   at System.Windows.Controls.StackPanel.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Border.ArrangeOverride(Size finalSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at MS.Internal.Helper.ArrangeElementWithSingleChild(UIElement element, Size arrangeSize)
   at System.Windows.Controls.ContentPresenter.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Control.ArrangeOverride(Size arrangeBounds)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.Controls.Grid.ArrangeOverride(Size arrangeSize)
   at System.Windows.FrameworkElement.ArrangeCore(Rect finalRect)
   at System.Windows.UIElement.Arrange(Rect finalRect)
   at System.Windows.ContextLayoutManager.UpdateLayout()
   at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
   at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
   at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
   at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

2016-05-24 07:44:43.2048|Info|Dopamine.Application.ExecuteEmergencyStop|### FORCED STOP of Dopamine, version 1.0.0 (Build 650) ###
2016-05-24 07:44:43.3337|Info|Dopamine.Views.Shell+VB$StateMachine_109_PerformClosingTasksAsync.MoveNext|Performing closing tasks

 

Can you reproduce it? If yes, what steps did you perform?

On ‎23‎/‎05‎/‎2016 at 8:14 AM, Ned said:

The latest build is working really well so far.  Had some audio stuttering on the previous builds.  That seems to be gone and I've been using it for a few days now.  Awesome work.

I indeed worked on that. I gave the audio engine a higher priority.

Just cycling through songs in now playing mode will eventually cause it to crash for me.  Different tracks. Not reproducable on any particular track.  Don't know it it will do it if I don't hit the next button and just let it play on its own. Going to try that out for a while.  It only happens on the now playing view.

18 hours ago, Ned said:

Just cycling through songs in now playing mode will eventually cause it to crash for me.  Different tracks. Not reproducable on any particular track.  Don't know it it will do it if I don't hit the next button and just let it play on its own. Going to try that out for a while.  It only happens on the now playing view.

I'm not able to reproduce it. But I see where the bug happens and added a safeguard for the next build. That should fix it.

  • Like 1
4 hours ago, Ned said:

I found that it only happens when the spectrum analyzer is enabled and again, only in the now playing view.  I may be wrong, but it seems very hard to reproduce with it off.

That's what I was thinking when looking at the logs. It's trying to calculate the spectrum shape, but fails because an object is null. I couldn't reproduce it though. I'm not sure why. However my fix will catch this and prevent a crash.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Posts

    • My wish list is: A trailer for Final Fantasy VII part 3 and a proper look at Intergalactic: The Heretic Prophet. Not happening, but I'd kill for would be another game of any genre in the Frostpunk world and another game in the Detroit: Become Human world.
    • I tried Wino-Mail and had the same issue with it that I have with New Outlook: My two centurylink.net email accounts (one of which is my primary email account) refuse to work with either one, and sometimes refuse to even log in, even though ALL the relevant information is accurate. Thunderbird does not have this problem, so I'll stick with what works, thank you.
    • For me it has everything feature wise that I want. But boy the app sucks big time. This and Teams. Ever since they made the transition to WebView it has been slow AF. I mostly use both apps in the browser now because of too much memory being used by these 2 apps. Hoping that native versions are being worked upon.
    • Nearly 70% of Steam users now run Windows 11 by Taras Buria The May 2026 Steam Hardware & Software Survey results are now available on the official Steam website, showing Windows 11's continuous growth among the gaming audience. As of early June 2026, nearly 70% of all participants reported having a Windows 11-powered PC, while Windows 10's market share is steadily declining. According to Valve, in May 2026, Windows 11 increased its market share to 69.76% (+2.02 points), while Windows 10 dropped to 23.99% (-1.64 points). 64-bit Windows 7 is still showing up in Valve's reports, and apparently, about 0.07% of all survey participants still use the 17-year-old operating system. Valve no longer updates its client for Windows 7, but it still can access the platform, so the Windows 7 holdouts can stay away from newer Windows versions. Overall, 93.85% of all users run Windows (+0.38 points), while Linux is second with 3.99% (-0.53 points). macOS is third with at 2.16% (+0.15 points). The most popular Linux flavor is Arch Linux (0.35%), while macOS 26.4.1 is currently the dominant macOS release. On the hardware side, the most popular picks include an Intel processor (53.94% against AMD's 46.06%) with six cores (28.02%, -0.6 points), 16 GB of memory (41.14%, -0.28 points), and an NVIDIA graphics card (72.42%, with AMD having 19.13% and Intel 8.05%). The most popular graphics card on Steam is the desktop NVIDIA GeForce RTX 3060 (3.85%, -0.14 points), while the laptop RTX 4060 is second with 3.77%, and the RTX 3050 is third with 3.10%. The average amount of VRAM is 8GB (25.89%), and the dominant display resolution is the classic 1920x1080 pixels (51.89%, -0.32 points). As usual, you can find more details from the latest survey on the official website. The results for April 2026 are available here.
  • Recent Achievements

    • Conversation Starter
      FBSPL earned a badge
      Conversation Starter
    • Week One Done
      I2D earned a badge
      Week One Done
    • Week One Done
      Dr Jared Dental Studio earned a badge
      Week One Done
    • Week One Done
      RG INVESTMENT GROUP earned a badge
      Week One Done
    • Very Popular
      The Norwegian Drone Pilot earned a badge
      Very Popular
  • Popular Contributors

    1. 1
      +primortal
      487
    2. 2
      PsYcHoKiLLa
      262
    3. 3
      Skyfrog
      85
    4. 4
      FloatingFatMan
      64
    5. 5
      Michael Scrip
      62
  • Tell a friend

    Love Neowin? Tell a friend!