Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: How to queue a playlist? (Read 2708 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

How to queue a playlist?

What the title says. How do I queue playlists in foobar as in WMP?

Re: How to queue a playlist?

Reply #1
foobar2000 v2.24.1 64bit?
Default UI?

Playlist Manager Playlist right click > contents > Add to playback queue.
It's a standard feature.
Of course, it's on a track basis.

The Queue Viewer (foo_queue_viewer) is very useful for managing added queues, using the context menu, etc.

Queue Viewer (foo_queue_viewer)
https://marc2k3.github.io/component/queue-viewer/

I don't know of any components that have functions or operations such as adding by "playlist name" or changing the order by "playlist name".
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #2
It would be interesting to have a component like Queue Viewer (foo_queue_viewer) that has a Box-type Panel, where you can add by "Playlist name", change the order by drag and drop, and add the same Playlist to the Panel.
-----
Queue viewer: you can use Title Format as a display method for added Queues (Tracks).
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #3
It would be interesting to have a component like Queue Viewer (foo_queue_viewer) that has a Box-type Panel, where you can add by "Playlist name", change the order by drag and drop, and add the same Playlist to the Panel.
-----
Queue viewer: you can use Title Format as a display method for added Queues (Tracks).
The only drawback of foo_queue_viewer imo is that it does not support transparency.

Re: How to queue a playlist?

Reply #4
@Defender

What was the field (commonant) that gets the playlist name?
Queue view - Title Format will be enough.
  e.g.
  %playlist_name% - %titile% - %album artist% - %album%
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #5
@Defender

What was the field (commonant) that gets the playlist name?
Queue view - Title Format will be enough.
  e.g.
  %playlist_name% - %titile% - %album artist% - %album%
Apparently the playlistname is only available within JS3 (samples) by referencing %jsp3_playlist_name%.
So you can use it in one of the JS3 Text Display variants. This works, just tested.

Re: How to queue a playlist?

Reply #6
There is a Queue Editor (foo_queue_editor). It can manage the queue and get the playlist name.
You can easily move tracks by dragging and dropping them.
Of course you can move the selected Track (Album).
You can also copy a Track in the Queue Editor and paste it into another Playlist.

Queue Editor (foo_queue_editor) v2.0.1
https://hydrogenaud.io/index.php/topic,73648.msg1036338.html#msg1036338

You can get the playlist name with $if2(%playlist_name%).
Setting: Preferences > Tools > Queue Editor > Queue Editor box

Playlist Manager Playlist or Playlist View right click > contents > Add to playback queue.


--------
@Defender
Thanks.
However, I would like to be able to use it in a queue management tool.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)


Re: How to queue a playlist?

Reply #8
@Defender

Transparency is not relevant in this thread right now. hahaha.
Thank you for your understanding.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #9
Thanks for answers guys! I should have however, been more precise. My thinking was more in terms of files. This is for someone who works with playllist files and as such would like to be able to manage his files in foobar. For example play playlist1.fpl then be able to add other files, maybe re-order them and play one after the other. I guess that is not possible, is it?

Re: How to queue a playlist?

Reply #10
Thanks for answers guys! I should have however, been more precise. My thinking was more in terms of files. This is for someone who works with playllist files and as such would like to be able to manage his files in foobar. For example play playlist1.fpl then be able to add other files, maybe re-order them and play one after the other. I guess that is not possible, is it?
What is the thread title "How to queue a playlist?"?
What does it have to do with "queue"?

As long as it's not an Auto Playlist, you can just drag and drop from Explorer. You can also drag and drop from the Album List.
You can also use the Ctrl and Shift keys on your keyboard to select a track and paste it into another playlist.
You can also disable the Auto Playlist by creating a new empty Playlist (Ctrl + N) and copying and pasting it ([Ctrl +A → Ctrl +c.] + Ctrl +v). You can do this using only the keyboard.

Then you can save it and create a new playlist.

This is not Playlist management, but Playlist manipulation.

Is this a basic Windows answer?
I'm confused by this obvious question and this obvious answer.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #11
Thanks for answers guys! I should have however, been more precise. My thinking was more in terms of files. This is for someone who works with playllist files and as such would like to be able to manage his files in foobar. For example play playlist1.fpl then be able to add other files, maybe re-order them and play one after the other. I guess that is not possible, is it?
What is the thread title "How to queue a playlist?"?
What does it have to do with "queue"?

As long as it's not an Auto Playlist, you can just drag and drop from Explorer. You can also drag and drop from the Album List.
You can also use the Ctrl and Shift keys on your keyboard to select a track and paste it into another playlist.
You can also disable the Auto Playlist by creating a new empty Playlist (Ctrl + N) and copying and pasting it ([Ctrl +A → Ctrl +c.] + Ctrl +v). You can do this using only the keyboard.

Then you can save it and create a new playlist.

This is not Playlist management, but Playlist manipulation.

Is this a basic Windows answer?
I'm confused by this obvious question and this obvious answer.
I still don't think you understand what I meant. I mean adding 2-3 playlisst files (.fpl) and be able to rearrange them to play play in order.

Re: How to queue a playlist?

Reply #12
There is no component that can do that easily.
So please use Queue Editor (foo_queue_editor) in Reply #6.

So I needed a field to get the playlist name.

Have you tried the Queue Editor (foo_queue_editor)?
You should be able to operate it intuitively because it is possible with basic Windows operations.

You can operate it with Windows Keyboard Basic Operations
You can select Album List, Track, and Album with the keyboard and move them by drag and drop.

Initially, it may be set to %playlist_name%.
Playlist View right click > contents > Add to playback queue may be the most reliable option.



Let me check again, it's not Auto Playlist, right?

It looks like you just need to tweak a few playlists.
Alternatively, you can create a new Playlist and drag and drop, or copy and paste, into the "Playlist View". And save it.
You wouldn't ask such a simple question, would you?
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #13
"Load each of the three playlist files (.fpl). Create an empty New Playlist. Display the three playlist files in the Playlist Manager in Playlist view. Press Ctrl + A to select all. Paste this into the newly created empty Playlist. Do the same for the remaining Playlists, and the three Playlists will be combined into one. Feel free to change the order of Track and Album as you like."

Is this the answer you were hoping for?
I've already answered the same thing above.

The Playlsit you want to add, I assume it is already displayed in the Playlist view, but I have checked many times, it is not an “Auto Playlist”.
If it is not “Auto Playlist”, you can add and paste other playlists (selected Trqack, Album, All) in any position you want.

It's the same as opening a new page in a text editor and putting together the text file (*.txt) you saved. Of course, you can change the order of sentences and words.

Is this the same thing?

If so, foobar2000 has nothing to do with it.
It is a basic Windows operation.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #14
I think @lpv would like to be able to select several playlists to be played automatically one after another, maybe manually rearrange the order of selected playlists or remove from selected, not the tracks inside playlists. Without the need of merging and manipulating on the level of contents of selected playlists.
Currently foobar plays the content of as playlist. @lpv would like foobar to play the contents of a list of playlists - a "playlist of playlists", rather then atomic tracks.

Currently - due to the possibility of grouping tracks by metadata fields %album artist% and %album% - we can operate on the base of "albums": I can add whole albums to the current playlist, I can easily select whole albums in the playing queue and move or delete them from the current playlist. Provided I have set up my Custom grouping scheme on the base of these %album artist% and %album% metadata fields.

So, do we have any metadata field like %playlist%, but not the current, rather the original, to be able to do similar custom grouping scheme? I know the problem - playlists are different separate entities and the track doesn't store in its metadata any information about playlists it belongs to. This relation between a track and a playlist is stored elsewhere.

Re: How to queue a playlist?

Reply #15
@papavlos

I'll leave the rest to you.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #16
 :))

OK. Another idea of a new plugin with some basic functional requirements:
A. I have a window with a list. Let us call it "Playlists Queue". That would be the desired list of playlists.
B. That might be a variant of the standard "Playlists Manager" UI element or something designed from the scratch.
C. I can drag&drop playlists from my "Playlists Manager" to the Playlists Queue
D. I can rearange order of plylists in the "Playlist Queue"
E. I can remove playlists from the "Playlists Queue"
F. I have a "PLAY action control" - a button, a link, a menu item etc - which starts following batch process:
Code: [Select]
     1. select the first playlist in the "Playlists Queue"
     2. copy the content of the selected playlist to the current foobar playing playlist, track by track, in the order set in the currenty selected playlist
     3. play all of the tracks in their order in the source playlist
     4. is there any next playlist in the "Playlists Queue"?
        yes: select next playlist in the "Playlists Queue"
        no: terminate the batch process
     5. go back to point 2.
G. Stopping playing stops the whole batch
H. Any manipulation in the "Playlists Queue" during the batch loop breaks it; foobar continues playing its current playlist till the last track

I am a bit of an IT analysts, but not a programmer, unfortunately...
I. Of course there may be more particular use cases...

Re: How to queue a playlist?

Reply #17
The closest you can get to this is probably Playlist Attributes feature "Continue on playlist..."

You have to somewhat manually set the next playlist though, like so -

1) File > Load Playlist - load three (or so) playlist files into foobar

2) Switch to 1st playlist - Edit > Playlist Atrributes > Continue On Playlist... - select 2nd playlist

3) Switch to 2nd playlist - Edit > Playlist Atrributes > Continue On Playlist... - select 3rd playlist

4) Switch to 3rd playlist - Edit > Playlist Atrributes > Continue On Playlist... - select 1st playlist

And so on... (that last one to loop the playlists and start again)

Notes: You need to have Playback > Order on "Default" (plays from first to last track), because all other modes are "Repeat" modes that play the current playlist endlessly. Then to see which track is playing you probably want Playback > Playback Follows Cursor and Cursor Follows Playback both enabled - the first one will switch playlists for you when it starts the next playlist, the second one highlights the current track. (Just remember "Playback Follows Cursor" will also play the selected track next if you happen to select a different one)

Lastly if you're dealing with external playlist files (.M3U, etc) rather than using foobar internal library/playlists, just to keep things in sync you might want to look @regor 's Playlist Manager script - I'm not sure if it has an ability to queue playlist files for playback, but I would not be surprised if he can add that. :D

Re: How to queue a playlist?

Reply #18
Hahah, I thought of another alternative, best if you only have a few playlists loaded at a time - Scheduler

Unlike the above Playlist Attributes having to select playlists by name, this can simply switch to the "Next Playlist" in the list. This way you only need to setup once, and it cycles through all playlists currently loaded, and can rearrange the "queue" order by simply moving playlists position (using default Playlist Tabs / Manager)

To setup, in File > Preferences > Scheduler mod, you have Events and Tasks -

1) Tasks > Add button - type name, for example: "Play Next Playlist" (do not tick "Restart after completion") and OK. Then right click this task > Add action > Change playlist > select "Next Playlist" and OK. Now right-click this task again > Add action > Start playback > select "Start playback from track #1" and OK.

2) Events > Add button > Add player event - select Event: "On playback stop", select Reasons: "End-of-file signal" and OK. Now right-click this event > Assign task > select task "Play Next Playlist".

So with that, as long as that event is enabled (has a tick next to it), it will cycle through every playlist - after each one plays to the end, it switches to the next and starts playback.

Notes: same as above, Playback > Order has to be on "Default", etc.

Re: How to queue a playlist?

Reply #19
Lastly if you're dealing with external playlist files (.M3U, etc) rather than using foobar internal library/playlists, just to keep things in sync you might want to look @regor 's Playlist Manager script - I'm not sure if it has an ability to queue playlist files for playback, but I would not be surprised if he can add that. :D

Yep, it could be "easily" done in JS (*). I think using existing components to do what the user intends would be so complex that I would say it makes no sense. I mean, it could be done (as shown above), but every-time you change a playlist name or add new things, it would have to be redone. You also have to use specific playback settings for it to work. It's not practical for usual usage I think.

Anyway, the manager lets you select playlists and merge them into a new one (by order) and remove duplicates, which would effectively do the same without touching the original playlists. Just merge them and click play.

Spoiler (click to show/hide)

Aditionally, since playlists can be added to folders, or organized by tags and categories, it could be done on batch easily.

Spoiler (click to show/hide)

(*) In case I add something like that, it would be dead simple. i.e. select 3 playlists, click "play in queue" and done. It would just add all tracks from those playlists to the queue. Whatever happens later, it's the user responsibility (like clearing the queue, etc.). Just thinking out loud, not saying it will happen; although sometimes I have thought about adding something similar to skip loading a playlist file in order to play it.

Re: How to queue a playlist?

Reply #20
Thanks guys for understanding and proposing some interesting options. Just wanted to move the discussion into the right trace...

And now: @lpv - does it somehow respond to your initial request? You have three sample alternatives, the one with Scheduler is - IMO - the easiest. Different way than in WMP, but similar effect. The power of foobar!

Re: How to queue a playlist?

Reply #21
Added queue support in latest nightly. Works with entire folders, multiple or single selection.

Also, if playlist is already loaded, the tracks are added from the playlist (thus having a queue idx associated which may be used via TF on playlist viewers). If not loaded on UI, the handles are just added internally without pointing to an actual playlist.

X



Re: How to queue a playlist?

Reply #22
Queues are not relevant to this question. What I mean is simply the feeling of putting a queue in.
The question is simply about putting playlist files (.fpl) into a box, for example, and using them by changing the order of the playlist files (.fpl).
Taking into consideration the questioner's request and beyond, I introduced the Queue Editor (foo_queue_editor) so that you can change the order of playlist, albums, tracks, etc., and create new playlists.

In the Queue Editor, you can use %playlist_name%.
You can select the entire Playlist and change the order. The Queue Editor is intuitive to use.
SHURE SRH1840, SENNHEISER HD660S2, SENNHEISER HD620S, SENNHEISER HD 490 Pro Plus, beyerdynamic DT 1990 PRO, HiFiMAN Edition XS, Bowers & Wilkins P7, FiiO FT5, 水月雨 (MOONDROP) 空鳴 - VOID, Nakamichi Elite FIVE ANC, SONY WH1000XM5 (made a Upgrade/Balanced Cable by myself)

Re: How to queue a playlist?

Reply #23
Queues are not relevant to this question. What I mean is simply the feeling of putting a queue in.
The question is simply about putting playlist files (.fpl) into a box, for example, and using them by changing the order of the playlist files (.fpl).
Taking into consideration the questioner's request and beyond, I introduced the Queue Editor (foo_queue_editor) so that you can change the order of playlist, albums, tracks, etc., and create new playlists.

In the Queue Editor, you can use %playlist_name%.
You can select the entire Playlist and change the order. The Queue Editor is intuitive to use.
That is using the queue as backend; they are not exclusive.

Queue editor may come handy to edit the actual queue contents, but that has nothing to do with sending to queue entire playlists (which is exactly my reply).

Quote
Thanks for answers guys! I should have however, been more precise. My thinking was more in terms of files. This is for someone who works with playllist files and as such would like to be able to manage his files in foobar. For example play playlist1.fpl then be able to add other files, maybe re-order them and play one after the other. I guess that is not possible, is it?
In particular this is only possible with my playlist manager. Since no component or playlist manager out there handles playlist files.

 

Re: How to queue a playlist?

Reply #24
Added further enhancements to last nightly updates; I just found the queue has a 256 track limit.

- New menu entry to add playlists' tracks to queue randomized and deduplicated by TF. When selecting multiple playlists, order of playlist insertion is also shuffled (and then all its tracks). i.e. when sending an autoplaylist to the queue, instead of honoring the playlist sorting, it shuffles all items first (without touching the playlist).
- Console shows whenever queue is already full and no more items can be added.
- Script doesn't try to queue more items if queue is already full. (not really relevant for final user, but adding tracks to queue is really slow so at least it should be a bit faster now)
- Related menu entries can be hidden/shown via features submenu.