Discussion:
switch back to library after loading playlist
Monroe, Will
2014-12-19 15:14:46 UTC
Permalink
Hello,

I want to thank those of you who have worked so hard developing cmus.
The combination of cmus to play audio files and beets to manage the
metadata has been a terrific discovery as I've moved more of my
computing from OSX to Linux over the last seven months.

I'm writing to ask a question about how to easily (re)load my music
library after loading a playlist. Although I've followed the tutorial,
read the manual, and tried to search for solutions, I still feel like
I'm missing something.

In this example, please assume that I've already successfully added a
directory of audio files and saved a playlist to:

~/playlist.pls

If I wanted to play the audio in that playlist from cmus, I would use
the command:

:load ~/playlist.pls

But loading the playlist also seems to make my overall library
disappear. The only way I've found to access the library again is to
add all the files again using something like:

:add ~/music

But this is a bit tedious as it takes a few minutes to read the contents
of the directory again.

Is there an easier way to "switch" back to the library after loading a
playlist?

Will
Gregory Petrosyan
2014-12-19 15:23:37 UTC
Permalink
Hi Will,

Maybe «:load -p ~/playlist.pl» will do the trick? It will load the playlist
to the playlist view («-p») — view 3, that is. Tree view and library view
(views 1 and 2) should be left intact.

To switch to different views, just use keys 1–7.
Post by Monroe, Will
Hello,
I want to thank those of you who have worked so hard developing cmus.
The combination of cmus to play audio files and beets to manage the
metadata has been a terrific discovery as I've moved more of my
computing from OSX to Linux over the last seven months.
I'm writing to ask a question about how to easily (re)load my music
library after loading a playlist. Although I've followed the tutorial,
read the manual, and tried to search for solutions, I still feel like
I'm missing something.
In this example, please assume that I've already successfully added a
~/playlist.pls
If I wanted to play the audio in that playlist from cmus, I would use
:load ~/playlist.pls
But loading the playlist also seems to make my overall library
disappear. The only way I've found to access the library again is to
:add ~/music
But this is a bit tedious as it takes a few minutes to read the contents
of the directory again.
Is there an easier way to "switch" back to the library after loading a
playlist?
Will
------------------------------------------------------------
------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&
iu=/4140/ostg.clktrk
Monroe, Will
2014-12-19 15:26:22 UTC
Permalink
Success! Thank you, Gregory. It worked exactly as you described. And I
think that may give me a bit better idea of what to expect when using
some of the flags (ie, -p).

Best regards,

Will
Post by Gregory Petrosyan
Hi Will,
Maybe «:load -p ~/playlist.pl <http://playlist.pl>» will do the trick?
It will load the playlist to the playlist view («-p») — view 3, that
is. Tree view and library view (views 1 and 2) should be left intact.
To switch to different views, just use keys 1–7.
Hello,
I want to thank those of you who have worked so hard developing cmus.
The combination of cmus to play audio files and beets to manage the
metadata has been a terrific discovery as I've moved more of my
computing from OSX to Linux over the last seven months.
I'm writing to ask a question about how to easily (re)load my music
library after loading a playlist. Although I've followed the tutorial,
read the manual, and tried to search for solutions, I still feel like
I'm missing something.
In this example, please assume that I've already successfully added a
~/playlist.pls
If I wanted to play the audio in that playlist from cmus, I would use
:load ~/playlist.pls
But loading the playlist also seems to make my overall library
disappear. The only way I've found to access the library again is to
:add ~/music
But this is a bit tedious as it takes a few minutes to read the contents
of the directory again.
Is there an easier way to "switch" back to the library after loading a
playlist?
Will
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar
corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Monroe, Will
2014-12-19 15:33:33 UTC
Permalink
I just tried out a few of the flags and found that the following commands:

:load -q ~/playlist.pl <http://playlist.pl>
:load -Q ~/playlist.pl <http://playlist.pl>

Did not add the playlist to the play queue (-q) or prepend it to the
play queue (-Q). I imagine there are good reasons why it should not
that will become a bit clearer as I get more familiar with cmus. But
from the standpoint of loading options for different views, I just
wanted to note the difference.

Will
Post by Monroe, Will
Success! Thank you, Gregory. It worked exactly as you described.
And I think that may give me a bit better idea of what to expect when
using some of the flags (ie, -p).
Best regards,
Will
Post by Gregory Petrosyan
Hi Will,
Maybe «:load -p ~/playlist.pl <http://playlist.pl>» will do the
trick? It will load the playlist to the playlist view («-p») — view
3, that is. Tree view and library view (views 1 and 2) should be left
intact.
To switch to different views, just use keys 1–7.
Hello,
I want to thank those of you who have worked so hard developing cmus.
The combination of cmus to play audio files and beets to manage the
metadata has been a terrific discovery as I've moved more of my
computing from OSX to Linux over the last seven months.
I'm writing to ask a question about how to easily (re)load my music
library after loading a playlist. Although I've followed the tutorial,
read the manual, and tried to search for solutions, I still feel like
I'm missing something.
In this example, please assume that I've already successfully added a
~/playlist.pls
If I wanted to play the audio in that playlist from cmus, I would use
:load ~/playlist.pls
But loading the playlist also seems to make my overall library
disappear. The only way I've found to access the library again is to
:add ~/music
But this is a bit tedious as it takes a few minutes to read the contents
of the directory again.
Is there an easier way to "switch" back to the library after loading a
playlist?
Will
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App
Integration & more
Get technology previously reserved for billion-dollar
corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Gregory Petrosyan
2014-12-19 20:35:01 UTC
Permalink
Well, I guess the difference is there for historical reasons, nothing else.
I don't think anybody has seriously tried to make all the commands *really*
consistent with each other.
Post by Monroe, Will
:load -q ~/playlist.pl
:load -Q ~/playlist.pl
Did not add the playlist to the play queue (-q) or prepend it to the play
queue (-Q). I imagine there are good reasons why it should not that will
become a bit clearer as I get more familiar with cmus. But from the
standpoint of loading options for different views, I just wanted to note
the difference.
Will
Success! Thank you, Gregory. It worked exactly as you described. And I
think that may give me a bit better idea of what to expect when using some
of the flags (ie, -p).
Best regards,
Will
Hi Will,
Maybe «:load -p ~/playlist.pl» will do the trick? It will load the
playlist to the playlist view («-p») — view 3, that is. Tree view and
library view (views 1 and 2) should be left intact.
To switch to different views, just use keys 1–7.
Post by Monroe, Will
Hello,
I want to thank those of you who have worked so hard developing cmus.
The combination of cmus to play audio files and beets to manage the
metadata has been a terrific discovery as I've moved more of my
computing from OSX to Linux over the last seven months.
I'm writing to ask a question about how to easily (re)load my music
library after loading a playlist. Although I've followed the tutorial,
read the manual, and tried to search for solutions, I still feel like
I'm missing something.
In this example, please assume that I've already successfully added a
~/playlist.pls
If I wanted to play the audio in that playlist from cmus, I would use
:load ~/playlist.pls
But loading the playlist also seems to make my overall library
disappear. The only way I've found to access the library again is to
:add ~/music
But this is a bit tedious as it takes a few minutes to read the contents
of the directory again.
Is there an easier way to "switch" back to the library after loading a
playlist?
Will
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
Loading...