SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Anyone know any good command line music player, that can play mp3's and wav files?
Also, anyone know any good command line msn messenger?
I want those two softwares for Slackware 13.0. Lately I've been going crazy about command line softwares. I intend to really abuse of the command line environment. I find it so usefull.
command line player - mpd, with mpc or one of the few ncurses interfaces, rocks
as for cli im, i tried it for a while (alas my children all abandoned im in favour of sms..) and there's an ncurses interface for pidgin, finch, i believe, that worked best for me....
I use mpd+ncmpcpp for music playing (with a bash script that searches recursively through my music folder and creates a playlist for each folder and subfolder). If I want to listen to an entire artist's library, I load the playlist in that artist's top-level directory which includes the songs in each subdirectory (ie album). Or I can load just a single album, or load "everything". I also have subsets of music that are just everything while excluding certain things (with grep -f and an exclude file). It's all automatic and it means I have effectively the same function as dragging an artist/album/etc. in Amarok or similar. For the record I use dvtm within screen to display vifm (my favourite file manager) and ncmpcpp in one screen window, so I can load playlists in vifm and browse within playlists in ncmpcpp. Very handy.
As for IM apps, centerim is the standard I believe.
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309
Rep:
I use as a music player moc and I'm very glad of it. It uses ncurses so it isn't pure command line player. Depending on the machine you can use multimedia keys to control the work of the player. To use these keys install remoot.
Anyone know any good command line music player, that can play mp3's and wav files?
Also, anyone know any good command line msn messenger?
I want those two softwares for Slackware 13.0. Lately I've been going crazy about command line softwares. I intend to really abuse of the command line environment. I find it so usefull.
Thanks for sharing.
Cheers,
Dumdadum
centerim seems pretty good as a command-line IM client
I use mpd+ncmpcpp for music playing (with a bash script that searches recursively through my music folder and creates a playlist for each folder and subfolder). If I want to listen to an entire artist's library, I load the playlist in that artist's top-level directory which includes the songs in each subdirectory (ie album). Or I can load just a single album, or load "everything". I also have subsets of music that are just everything while excluding certain things (with grep -f and an exclude file). It's all automatic and it means I have effectively the same function as dragging an artist/album/etc. in Amarok or similar. For the record I use dvtm within screen to display vifm (my favourite file manager) and ncmpcpp in one screen window, so I can load playlists in vifm and browse within playlists in ncmpcpp. Very handy.
As for IM apps, centerim is the standard I believe.
Ok, that looks a little advanced for me. I dont know scripting yet, and am surely not ready to do recursion, I'll make my system freeze.
Maybe I'll try your solution this weekend, when I've got time on my hands.
Right now I've tried the ncurse for xmms (ncxmms) and I tried herrie and I cant even get the song to play. So if anyone cares to help that would be great, but or else I need to figure this out before I start scripting... I'm trying to play .wav files, cause all of my files are .wav, I hate compressed formats.
Thanks for the idea though, it seems to be very powerful when you actually know what you're doing...
Don't use the following script without modifying the variables at the top and don't use it if you don't understand what it's doing. It's kind of a customized setup, and it requires that your music is at least fairly well organized. It doesn't necessarily need to be *tagged* well (since everything will be grouped together based on their folder names) but the hierarchy should be "Music folder --> artist --> album [--> sub-album, if such a thing exists]" or at least a setup where it is grouped as you like it. There are certainly more complex scripts out there to do what you want, but if you want simplicity and you have an organized library the following might be enough.
Note that $MUSICDIR/exclude.txt will exclude this music from *all* playlists. I use this for duplicate songs (for example, if an album and a single contains the same version of a song, blacklist one of them or it will be in your playlist twice). $MUSICDIR/punkexclude.txt (since I'm a punk fan) just duplicates the full playlist (Music.m3u in this case) but excludes more. For my exclude list I have exact paths to songs, but it could be paths to directories as well if you want. In my punk exclude file I have something like
Code:
/home/username/Documents/Music/Non-Punk Band
/home/username/Documents/Music/Other non-punk Band
It's just using grep -vF -f so if you understand what that does you can be more bold. In theory you could use the above in the original exclude file as well but of course then that artist won't be in any of your playlists. You could of course expand my script to more genres, and you could use an "include" file instead of an "exclude" one if you want. And if you maintain different directories for each genre then you don't even need to bother with the exclude files at all. I must emphasize that this is a *simple* script but for my simplistic needs it works well -- I can listen to an artist, an album, a genre, or just everything (on random usually).
The symlinks are pretty specific to my usage scenario. I symlink each playlist to the mpd playlist directory (replacing / with _ so it won't try to copy into some non-existant directory within the mpd playlist directory). This will creates links named "_home_user_Documents_Music_artist.m3u" or "_home_user_Documents_Music_artist_album.m3u", for example. You can load these (lengthily-named) playlists manually but I have a small script that loads the playlist from vifm (though any file manager would do) when I launch the regular .m3u playlist within my music directory (it figures out the name of the playlist symlink and tells mpc to load that -- I use mpc in addition to ncmpcpp).
Ok, that looks a little advanced for me. I dont know scripting yet, and am surely not ready to do recursion, I'll make my system freeze.
If you do try your hand at scripting, it can really make your life easier. Anything that deals with recursion or a lot of files/lines or a repetitive task that can be automated, I write small shell scripts. It sure beats doing stuff manually, and in this specific instance it allows me to use console music players with almost as much freedom as full-fledged GUI ones. If Amarok 1.4.x was still included with KDE I would probably still be using it, but in its absence I now have something that is easier to manage.
Don't use the following script without modifying the variables at the top and don't use it if you don't understand what it's doing. It's kind of a customized setup, and it requires that your music is at least fairly well organized. It doesn't necessarily need to be *tagged* well (since everything will be grouped together based on their folder names) but the hierarchy should be "Music folder --> artist --> album [--> sub-album, if such a thing exists]" or at least a setup where it is grouped as you like it. There are certainly more complex scripts out there to do what you want, but if you want simplicity and you have an organized library the following might be enough.
Note that $MUSICDIR/exclude.txt will exclude this music from *all* playlists. I use this for duplicate songs (for example, if an album and a single contains the same version of a song, blacklist one of them or it will be in your playlist twice). $MUSICDIR/punkexclude.txt (since I'm a punk fan) just duplicates the full playlist (Music.m3u in this case) but excludes more. For my exclude list I have exact paths to songs, but it could be paths to directories as well if you want. In my punk exclude file I have something like
Code:
/home/username/Documents/Music/Non-Punk Band
/home/username/Documents/Music/Other non-punk Band
It's just using grep -vF -f so if you understand what that does you can be more bold. In theory you could use the above in the original exclude file as well but of course then that artist won't be in any of your playlists. You could of course expand my script to more genres, and you could use an "include" file instead of an "exclude" one if you want. And if you maintain different directories for each genre then you don't even need to bother with the exclude files at all. I must emphasize that this is a *simple* script but for my simplistic needs it works well -- I can listen to an artist, an album, a genre, or just everything (on random usually).
The symlinks are pretty specific to my usage scenario. I symlink each playlist to the mpd playlist directory (replacing / with _ so it won't try to copy into some non-existant directory within the mpd playlist directory). This will creates links named "_home_user_Documents_Music_artist.m3u" or "_home_user_Documents_Music_artist_album.m3u", for example. You can load these (lengthily-named) playlists manually but I have a small script that loads the playlist from vifm (though any file manager would do) when I launch the regular .m3u playlist within my music directory (it figures out the name of the playlist symlink and tells mpc to load that -- I use mpc in addition to ncmpcpp).
If you do try your hand at scripting, it can really make your life easier. Anything that deals with recursion or a lot of files/lines or a repetitive task that can be automated, I write small shell scripts. It sure beats doing stuff manually, and in this specific instance it allows me to use console music players with almost as much freedom as full-fledged GUI ones. If Amarok 1.4.x was still included with KDE I would probably still be using it, but in its absence I now have something that is easier to manage.
Well now that I have all that info I 1- cant complain, 2- need to get working on this asap and 3- give you feedback.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.