GenerateNewTrack isn't called consistently

Post a reply

:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review

Expand view Topic review: GenerateNewTrack isn't called consistently

Re: GenerateNewTrack isn't called consistently

by Peke » Sun May 24, 2020 5:23 pm

I still can't reproduce and played MM4 with AutoDJ for hours today :(

Re: GenerateNewTrack isn't called consistently

by aag » Sat May 23, 2020 12:35 pm

Also, worth noting -- once Now Playing list enters this state, few things are observed:

- There is X+1 songs in Now Playing (where X is the value from "Automatically retain..." setting)
- Navigating the list (skipping the songs, randomly selecting the songs, etc) doesn't result in AutoDJ adding new tracks to the list.
- To resume AutoDJ, I usually clear the list, and manually play an album. This results in additional tracks being appended.

Re: GenerateNewTrack isn't called consistently

by aag » Fri May 22, 2020 7:15 pm

It does not reproduce consistently -- happens fairly rarely. However, when it does occur, it's always in the same fashion: Now Playing contains as many tracks as specified by "Automatically retain..." setting, and the playback is at the last track in that list. It's easier to reproduce when that value is at a smaller value, say, 10.

I maintain a log from GenerateNewTrack, logging at the entry to the method, then when the track is selected. Last log entry corresponds to the last track in the list.

I'll play with it some more, and see if there's some pattern. Any additional info I can provide except for the plugin log?

Re: GenerateNewTrack isn't called consistently

by Peke » Wed May 20, 2020 6:26 pm

I am not being able to replicate, can you be more specific? When using AutoDJ I have 1 or 2 tracks to keep in playlist as standard. I play it for 5h today and it was filling teh Now playing normally. Do you have Shuffle enabled?

GenerateNewTrack isn't called consistently

by aag » Wed May 20, 2020 3:57 pm

When utilizing AutoDJ (I'm looking at a modified AutoAlbumDJ, but the problem seems to be more general), it seems GenerateNewTrack is not being called after reaching some point. Usually, this happens at/around reaching the end of "Now Playing" playlist.

Is the problem known/expected? Is there a way to keep the "Now Playing" populated indefinitely?