Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


is there a command to jump Folders to folders
#5
(01-25-2025, 11:52 AM)Stephanowicz Wrote:
(01-24-2025, 07:18 PM)Tim Curtis Wrote: It could be simpler but still not trivial and would require several moving parts like below.

1. Maintain a list of folder paths for a "jump" list
2. Create an API (command) to perform "play_next_folder" in the jump list

Most of the complexity will be in #1 because it prolly involves adding a context menu selection to Folder view for example  "Add to jump list" plus the JS and PHP code behind it, and then a maintenance screen for move/delete items in the jump list plus the JS and PHP code behind it.

Then you could map button 0 to "play_next_folder"

Nice challenge for a dev that wants to learn how to add a feature to moode :-)

Well, yes - first point is quite complex as You still need to parse the folders/subfolders contents and build a playlist from it. (as mpd always needs a playlist)

So, one could reduce the task to either "play next playlist" from all playlists - or "play next playlist" from a certain list of playlists.

That could still be an interesting feature (which could also be accomlished without moode and a simple script)

MPD can add the contents of a folder or folder tree directly to the Queue. There is no need to first construct a playlist.

For example the folder below contains 3 Album subfolders containing a total of 32 tracks. 

Code:
add "NAS/TRX-FLAC/Beth Orton"

The challenge in #1 has to do with the fact that it consists of both front-end and back-end parts. If you have never coded this type of feature in moode it can seem a bit complex at first.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: is there a command to jump Folders to folders - by Tim Curtis - 01-25-2025, 12:37 PM

Forum Jump: