Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature idea : new tracks (including singles) #169

Open
tomchiverton opened this issue Aug 7, 2024 · 0 comments
Open

Feature idea : new tracks (including singles) #169

tomchiverton opened this issue Aug 7, 2024 · 0 comments

Comments

@tomchiverton
Copy link
Contributor

I'd like something that's like the "random track" favourite that's a sort of dynamic playlist, but for newly added tracks (not albums).

For instance, I might drop a few things in to $cfg['misc_tracks_misc_artists_folder'] and re-run the main update.

There's no easy way to find these recent non-album additions.

Currently, I have a favourite called "New" and each night I run

delete
from favoriteitem 
where favorite_id =21
;
insert into favoriteitem 
(track_id,position,favorite_id)
select track_Id,@rownum := @rownum + 1,21
from track t
-- create variable
cross join (select @rownum := 0) r
order by updated  desc
limit 50

I'm wondering if this would be useful to anyone else, and if so if it's best done as an (non-editable ?) playlist, and the update process takes care of re-running the above ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant