home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Area 51 - Testing Area
Last.FM Rework and Auto DJ mode
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="jameson_uk" data-source="post: 988568" data-attributes="member: 11220"><p>Seb could you try</p><p>[code=c#] if (ex.LastFMError != LastFMException.LastFMErrorCode.UnknownError)</p><p> {</p><p> Log.Error("Last.fm error when announcing now playing track: {0} - {1}",currentSong.Artist, currentSong.Title);</p><p> Log.Error(ex.Message);</p><p> }</p><p> else</p><p> {</p><p> Log.Error("Exception when updating now playing track on last.fm");</p><p> Log.Error(ex.InnerException);</p><p> }[/code]</p><p> </p><p>Instead?</p><p> </p><p>Also are you able to see why this is a problem? Can you debug as is to see if ex.innerexception is actually set? If not I am guessing that the logging does not handle a null being passed to it? (but did previously ??)</p><p> </p><p>Also I did notice a bug that since last commit AutoDJ will not work unless the announce option is ticked but I will fix that when I am next at a dev machine</p></blockquote><p></p>
[QUOTE="jameson_uk, post: 988568, member: 11220"] Seb could you try [code=c#] if (ex.LastFMError != LastFMException.LastFMErrorCode.UnknownError) { Log.Error("Last.fm error when announcing now playing track: {0} - {1}",currentSong.Artist, currentSong.Title); Log.Error(ex.Message); } else { Log.Error("Exception when updating now playing track on last.fm"); Log.Error(ex.InnerException); }[/code] Instead? Also are you able to see why this is a problem? Can you debug as is to see if ex.innerexception is actually set? If not I am guessing that the logging does not handle a null being passed to it? (but did previously ??) Also I did notice a bug that since last commit AutoDJ will not work unless the announce option is ticked but I will fix that when I am next at a dev machine [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
Last.FM Rework and Auto DJ mode
Contact us
RSS
Top
Bottom