- Thread starter
- #21
UmmmmmThe authentification part (for me) looks strange.
I mean i add user but it stay blank : (so i don't know if it's added, i suppose yes because i didn't get false message)
View attachment 123573
UmmmmmThe authentification part (for me) looks strange.
I mean i add user but it stay blank : (so i don't know if it's added, i suppose yes because i didn't get false message)
View attachment 123573
OK new version posted. This needs people to test (particularly the radio element) if this is to make it into a future MP release.
Is no-one interested at all in last.fm radio ??
Germany
UmmmmmThe authentification part (for me) looks strange.
I mean i add user but it stay blank : (so i don't know if it's added, i suppose yes because i didn't get false message)
View attachment 123573if you close and reopen does your user show? Can you check inside the music database (there should now be a last.fm user table)
I can confirm this. If i recall correct, the username stayed visible in the 'input' field with the previous version.Db seems filledbut user stay empty in config
![]()
Ahhh yes it is working but looking at the code I see I need to improve this bit (will sort it out when I add multi-user)Db seems filledbut user stay empty in config
![]()
2013-03-10 19:56:06.986225 [Info.][(22)]: Auto DJ: Matched 250 local songs. Attempting to add 5 tracks
I removed the logging yes but this should not make any difference to adding tracks. Odd thing is that log message shows that it is attempting to add five tracks and that means there are five to add I am struggling to see why nothing gets added@jameson_uk somehow the Auto DJ Mode isn't working anymore
With previous version it showed the SQL query of potential songs in the logs, but looks like you removed that. Somehow it always says:
but that's all. Nothing gets added.Code:2013-03-10 19:56:06.986225 [Info.][(22)]: Auto DJ: Matched 250 local songs. Attempting to add 5 tracks
Log.Info("Auto DJ: Matched {0} local songs. Attempting to add {1} tracks", dbTracks.Count, numTracksToAdd);
for (var i = 0; i < numTracksToAdd; i++)
{
var maxSize = Math.Min(dbTracks.Count, _randomness);
var trackNo = Randomizer.Next(0, maxSize);
pl.Add(dbTracks[trackNo].ToPlayListItem());
Log.Info("Auto DJ: Added to playlist: {0} - {1}", dbTracks[trackNo].Artist, dbTracks[trackNo].Title);
dbTracks.RemoveAt(trackNo); // remove song after adding to playlist to prevent the same sone being added twice
}