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

Set default playlist per folder? #46

Closed
mkody opened this issue Sep 21, 2016 · 3 comments
Closed

Set default playlist per folder? #46

mkody opened this issue Sep 21, 2016 · 3 comments

Comments

@mkody
Copy link
Sponsor

mkody commented Sep 21, 2016

When I upload new content, I need to select and add them to the playlist.
The thing is, I like to organize stuff a bit, so I put every playlist or type of content in different folders.

media/
├── Jingles
└── Lecture

Now, I always put everything that's inside Lecture in the same playlist, but selecting new songs and adding them to the playlist takes more and more time. Selecting one after another is slow and selecting "All" take a lot of time with more than 100 songs inside the folder.
But note that the content of Jingles aren't sharing the same playlist, they're individually selected.

I'd like to suggest a "default playlist" when we upload new content to a specified folder.

@mkody mkody changed the title Use folder as a playlist? Set default playlist per folder? Sep 21, 2016
BusterNeece added a commit that referenced this issue Sep 21, 2016
 - Page can now properly be refreshed inside a folder, and the system will reload that folder
 - Actions (add to playlist, clear playlists, delete) can be performed on entire folders by selecting the folder in the parent directory
@BusterNeece
Copy link
Member

The latest commit may address the issue you're referring to without needing the major database changes that having folders that auto-assign to playlists would be.

Now you can select a folder in a parent directory, and "clear playlists", "add playlists" and "delete" actions will automatically cascade down to all files in the directory. This lets you add an entire directory to a playlist in a single step.

@BusterNeece
Copy link
Member

4495cac Should fix any performance issues associated with this...there was a minor typo in the code (if the filemtime was equal to the stored one, it would reprocess the file) causing every file being processed to be reloaded from the ID3 tags on the filesystem, unnecessarily.

@BusterNeece
Copy link
Member

Closing this issue as recent commits have fixed issues relating to selecting a folder in the parent directory and playlist changes applying to the entire folder, which achieves the same purpose without intrusion into the database schema.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants